]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/stc/mac/stc_wrap.cpp
Update copyright year
[wxWidgets.git] / wxPython / contrib / stc / mac / stc_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
36ed4f51 3 * Version 1.3.24
d14a1e28
RD
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
d14a1e28
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
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; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 26};
d14a1e28
RD
27#endif
28
29
36ed4f51
RD
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
d14a1e28 37
c9c7117a 38
36ed4f51 39#include <Python.h>
d14a1e28
RD
40
41/***********************************************************************
36ed4f51 42 * swigrun.swg
d14a1e28 43 *
36ed4f51
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
d14a1e28
RD
46 *
47 ************************************************************************/
48
36ed4f51
RD
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"
d14a1e28 52
36ed4f51
RD
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)
d14a1e28 58#else
36ed4f51 59#define SWIG_TYPE_TABLE_NAME
d14a1e28
RD
60#endif
61
36ed4f51
RD
62#include <string.h>
63
64#ifndef SWIGINLINE
65#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66# define SWIGINLINE inline
d14a1e28 67#else
36ed4f51
RD
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
d14a1e28
RD
85#endif
86
d14a1e28
RD
87#ifdef __cplusplus
88extern "C" {
89#endif
90
91typedef void *(*swig_converter_func)(void *);
92typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94typedef struct swig_type_info {
cc6dd355 95 const char *name;
d14a1e28
RD
96 swig_converter_func converter;
97 const char *str;
cc6dd355 98 void *clientdata;
d14a1e28
RD
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102} swig_type_info;
103
36ed4f51
RD
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*/
111SWIGRUNTIME int
112SWIG_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*/
125SWIGRUNTIME int
126SWIG_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*/
143SWIGRUNTIME swig_type_info *
144SWIG_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*/
194SWIGRUNTIME swig_type_info *
195SWIG_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*/
222SWIGRUNTIMEINLINE void *
223SWIG_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*/
230SWIGRUNTIME swig_type_info *
231SWIG_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*/
244SWIGRUNTIMEINLINE const char *
245SWIG_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*/
253SWIGRUNTIME const char *
254SWIG_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*/
273SWIGRUNTIME swig_type_info *
274SWIG_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*/
287SWIGRUNTIME void
288SWIG_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*/
310SWIGRUNTIME char *
311SWIG_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*/
327SWIGRUNTIME const char *
328SWIG_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*/
358SWIGRUNTIME void
359SWIG_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}
d14a1e28 375
36ed4f51
RD
376/*
377 Pack 'void *' into a string buffer.
378*/
379SWIGRUNTIME char *
380SWIG_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
390SWIGRUNTIME const char *
391SWIG_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
403SWIGRUNTIME char *
404SWIG_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}
d14a1e28 417
36ed4f51
RD
418SWIGRUNTIME const char *
419SWIG_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}
d14a1e28
RD
430
431#ifdef __cplusplus
432}
433#endif
434
435/***********************************************************************
36ed4f51
RD
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.
d14a1e28 441 *
36ed4f51 442 * Author : David Beazley (beazley@cs.uchicago.edu)
d14a1e28 443 *
36ed4f51
RD
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.
d14a1e28
RD
448 ************************************************************************/
449
36ed4f51
RD
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
d14a1e28
RD
461#ifdef __cplusplus
462extern "C" {
463#endif
464
d14a1e28 465
36ed4f51 466/*************************************************************************/
d14a1e28 467
d14a1e28 468
36ed4f51 469/* The static type info list */
d14a1e28 470
36ed4f51
RD
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
d14a1e28 474
36ed4f51
RD
475/* Register a type mapping with the type-checking */
476static swig_type_info *
477SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479}
d14a1e28 480
36ed4f51
RD
481/* Search for a swig_type_info structure */
482static swig_type_info *
483SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485}
d14a1e28 486
36ed4f51
RD
487/* Set the clientdata field for a type */
488static void
489SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491}
d14a1e28 492
36ed4f51
RD
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*/
498static void
499SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501}
d14a1e28 502
d14a1e28
RD
503#ifdef __cplusplus
504}
505#endif
506
36ed4f51
RD
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
d14a1e28 510
36ed4f51
RD
511#ifdef __cplusplus
512extern "C" {
513#endif
c370783e 514
36ed4f51
RD
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
d14a1e28 518
36ed4f51
RD
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
d14a1e28 522
36ed4f51
RD
523#ifndef SWIGINTERNSHORT
524#ifdef __cplusplus
525#define SWIGINTERNSHORT static inline
526#else /* C case */
527#define SWIGINTERNSHORT static
528#endif /* __cplusplus */
529#endif
d14a1e28
RD
530
531
36ed4f51
RD
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 * ----------------------------------------------------------------------------- */
d14a1e28 551
36ed4f51
RD
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 */
560typedef 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;
d14a1e28 568
c370783e 569
36ed4f51
RD
570/* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
c370783e
RD
573#define SWIG_OLDOBJ 1
574#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575#define SWIG_PYSTR SWIG_NEWOBJ + 1
994141e6 576
994141e6 577#ifdef __cplusplus
36ed4f51
RD
578}
579#endif
15afbcd0 580
15afbcd0 581
36ed4f51
RD
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 ************************************************************************/
994141e6 591
36ed4f51
RD
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
994141e6 597
36ed4f51
RD
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)
994141e6
RD
601
602
36ed4f51
RD
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
d14a1e28 614
36ed4f51
RD
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
d14a1e28
RD
618
619
36ed4f51
RD
620#ifdef __cplusplus
621extern "C" {
622#endif
15afbcd0 623
36ed4f51
RD
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
15afbcd0 627
36ed4f51
RD
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
15afbcd0 631
36ed4f51
RD
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 * ----------------------------------------------------------------------------- */
15afbcd0 637
36ed4f51
RD
638typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642} PySwigObject;
15afbcd0 643
36ed4f51 644/* Declarations for objects of type PySwigObject */
15afbcd0 645
36ed4f51
RD
646SWIGRUNTIME int
647PySwigObject_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;
c370783e 653 } else {
36ed4f51 654 return 1;
c370783e 655 }
994141e6 656}
36ed4f51
RD
657
658SWIGRUNTIME PyObject *
659PySwigObject_repr(PySwigObject *v)
c370783e 660{
36ed4f51
RD
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;
c370783e 664}
994141e6 665
36ed4f51
RD
666SWIGRUNTIME PyObject *
667PySwigObject_str(PySwigObject *v)
994141e6 668{
36ed4f51
RD
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
15afbcd0
RD
672}
673
36ed4f51
RD
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
15afbcd0 676{
36ed4f51 677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
994141e6
RD
678}
679
36ed4f51
RD
680SWIGRUNTIME PyObject *
681PySwigObject_oct(PySwigObject *v)
c370783e 682{
36ed4f51
RD
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);
c370783e 690}
994141e6 691
36ed4f51
RD
692SWIGRUNTIME PyObject *
693PySwigObject_hex(PySwigObject *v)
994141e6 694{
36ed4f51
RD
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
994141e6
RD
698}
699
36ed4f51
RD
700SWIGRUNTIME int
701PySwigObject_compare(PySwigObject *v, PySwigObject *w)
15afbcd0 702{
36ed4f51
RD
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;
c370783e 710 }
36ed4f51
RD
711}
712
713SWIGRUNTIME void
714PySwigObject_dealloc(PySwigObject *self)
715{
716 PyObject_DEL(self);
717}
718
719SWIGRUNTIME PyTypeObject*
720PySwigObject_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;
c370783e 800 }
36ed4f51
RD
801
802 return &PySwigObject_Type;
803}
804
805SWIGRUNTIME PyObject *
806PySwigObject_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
815SWIGRUNTIMEINLINE void *
816PySwigObject_AsVoidPtr(PyObject *self)
817{
818 return ((PySwigObject *)self)->ptr;
819}
820
821SWIGRUNTIMEINLINE const char *
822PySwigObject_GetDesc(PyObject *self)
823{
824 return ((PySwigObject *)self)->desc;
825}
826
827SWIGRUNTIMEINLINE int
828PySwigObject_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
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
843
844SWIGRUNTIME int
845PySwigPacked_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);
c370783e 852 }
36ed4f51
RD
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856}
857
858SWIGRUNTIME PyObject *
859PySwigPacked_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 }
c370783e
RD
867}
868
36ed4f51
RD
869SWIGRUNTIME PyObject *
870PySwigPacked_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}
c370783e 879
36ed4f51
RD
880SWIGRUNTIME int
881PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
c370783e 882{
36ed4f51
RD
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);
c370783e 891 }
c370783e
RD
892}
893
36ed4f51
RD
894SWIGRUNTIME void
895PySwigPacked_dealloc(PySwigPacked *self)
c370783e 896{
36ed4f51
RD
897 free(self->pack);
898 PyObject_DEL(self);
15afbcd0
RD
899}
900
36ed4f51
RD
901SWIGRUNTIME PyTypeObject*
902PySwigPacked_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 };
15afbcd0 949
36ed4f51
RD
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
d14a1e28 955
36ed4f51
RD
956 return &PySwigPacked_Type;
957}
958
959SWIGRUNTIME PyObject *
960PySwigPacked_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;
629e65c2 972 }
36ed4f51
RD
973}
974
975SWIGRUNTIMEINLINE const char *
976PySwigPacked_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
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
986{
987 return ((PySwigPacked *)self)->desc;
988}
989
990SWIGRUNTIMEINLINE int
991PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994}
d14a1e28 995
36ed4f51
RD
996#else
997/* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
15afbcd0 1000
36ed4f51
RD
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)
c370783e 1005
36ed4f51
RD
1006#endif
1007
1008#endif
1009
1010/* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014SWIGRUNTIME void
1015SWIG_Python_TypeError(const char *type, PyObject *obj)
15afbcd0 1016{
36ed4f51
RD
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);
c370783e 1039 }
66af7a75
RD
1040 if (str)
1041 Py_DECREF(str);
36ed4f51 1042 return;
c370783e 1043 }
36ed4f51
RD
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
15afbcd0
RD
1048 }
1049}
1050
36ed4f51
RD
1051SWIGRUNTIMEINLINE void
1052SWIG_Python_NullRef(const char *type)
1053{
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
1059}
15afbcd0 1060
36ed4f51
RD
1061SWIGRUNTIME int
1062SWIG_Python_AddErrMesg(const char* mesg, int infront)
15afbcd0 1063{
36ed4f51
RD
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
c370783e 1080 return 1;
36ed4f51
RD
1081 } else {
1082 return 0;
c370783e 1083 }
15afbcd0
RD
1084}
1085
36ed4f51
RD
1086SWIGRUNTIME int
1087SWIG_Python_ArgFail(int argnum)
1088{
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
b2dc1044
RD
1097}
1098
1099
36ed4f51
RD
1100/* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1103
1104/* Convert a pointer value */
1105SWIGRUNTIME int
1106SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
1119
1120#ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
b2dc1044 1137#else
36ed4f51
RD
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
b2dc1044 1155#endif
b2dc1044 1156
36ed4f51 1157type_check:
b2dc1044 1158
36ed4f51
RD
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
1166
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
1171
1172type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
d14a1e28 1185 }
36ed4f51
RD
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
d14a1e28 1192 }
36ed4f51
RD
1193 }
1194 return -1;
1195}
1196
1197/* Convert a pointer value, signal an exception on a type mismatch */
1198SWIGRUNTIME void *
1199SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
d14a1e28 1206 }
36ed4f51
RD
1207 }
1208 return result;
d14a1e28
RD
1209}
1210
36ed4f51
RD
1211/* Convert a packed value value */
1212SWIGRUNTIME int
1213SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
d14a1e28 1216
36ed4f51
RD
1217#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219#else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224#endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
1231
1232type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
d14a1e28 1239 }
36ed4f51
RD
1240 }
1241 return -1;
1242}
1243
1244/* Create a new array object */
1245SWIGRUNTIME PyObject *
1246SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252#ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254#else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260#endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
d14a1e28
RD
1276}
1277
36ed4f51
RD
1278SWIGRUNTIME PyObject *
1279SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287#else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
1293#endif
1294 return robj;
1295}
d14a1e28 1296
36ed4f51
RD
1297/* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
1300
1301#ifdef SWIG_LINK_RUNTIME
1302void *SWIG_ReturnGlobalTypeList(void *);
1303#endif
1304
1305SWIGRUNTIME swig_type_info **
1306SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310#ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312#else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
d14a1e28 1318 }
36ed4f51
RD
1319 }
1320#endif
1321 return (swig_type_info **) type_pointer;
d14a1e28
RD
1322}
1323
36ed4f51
RD
1324/*
1325 Search for a swig_type_info structure
1326 */
1327SWIGRUNTIMEINLINE swig_type_info *
1328SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331}
d14a1e28 1332
36ed4f51
RD
1333#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1334
1335#ifdef __cplusplus
d14a1e28 1336}
36ed4f51 1337#endif
d14a1e28
RD
1338
1339
36ed4f51
RD
1340/* -------- TYPES TABLE (BEGIN) -------- */
1341
1342#define SWIGTYPE_p_wxRect swig_types[0]
1343#define SWIGTYPE_p_wxObject swig_types[1]
1344#define SWIGTYPE_p_unsigned_char swig_types[2]
1345#define SWIGTYPE_p_wxColour swig_types[3]
1346#define SWIGTYPE_p_wxScrollBar swig_types[4]
1347#define SWIGTYPE_p_wxStyledTextEvent swig_types[5]
1348#define SWIGTYPE_p_wxWindow swig_types[6]
1349#define SWIGTYPE_p_wxCommandEvent swig_types[7]
1350#define SWIGTYPE_p_unsigned_long swig_types[8]
1351#define SWIGTYPE_p_wxBitmap swig_types[9]
1352#define SWIGTYPE_p_unsigned_int swig_types[10]
1353#define SWIGTYPE_unsigned_int swig_types[11]
1354#define SWIGTYPE_p_form_ops_t swig_types[12]
1355#define SWIGTYPE_p_wxDuplexMode swig_types[13]
1356#define SWIGTYPE_p_void swig_types[14]
1357#define SWIGTYPE_p_char swig_types[15]
1358#define SWIGTYPE_p_wxPoint swig_types[16]
1359#define SWIGTYPE_p_wxDC swig_types[17]
1360#define SWIGTYPE_p_wxEvtHandler swig_types[18]
1361#define SWIGTYPE_std__ptrdiff_t swig_types[19]
1362#define SWIGTYPE_ptrdiff_t swig_types[20]
1363#define SWIGTYPE_p_wxStyledTextCtrl swig_types[21]
1364#define SWIGTYPE_p_wxFont swig_types[22]
1365#define SWIGTYPE_p_wxControl swig_types[23]
1366#define SWIGTYPE_p_wxEvent swig_types[24]
1367#define SWIGTYPE_p_wxPaperSize swig_types[25]
1368#define SWIGTYPE_p_int swig_types[26]
1369#define SWIGTYPE_p_wxMemoryBuffer swig_types[27]
1370static swig_type_info *swig_types[29];
1371
1372/* -------- TYPES TABLE (END) -------- */
1373
1374
1375/*-----------------------------------------------
1376 @(target):= _stc.so
1377 ------------------------------------------------*/
1378#define SWIG_init init_stc
1379
1380#define SWIG_name "_stc"
1381
1382#include "wx/wxPython/wxPython.h"
1383#include "wx/wxPython/pyclasses.h"
1384#include <wx/stc/stc.h>
1385
1386
1387 static const wxString wxPySTCNameStr(wxSTCNameStr);
1388
1389 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1390#define SWIG_From_int PyInt_FromLong
1391/*@@*/
1392
1393
1394#include <limits.h>
1395
1396
1397SWIGINTERN int
1398 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1399 const char *errmsg)
1400{
1401 if (value < min_value) {
1402 if (errmsg) {
1403 PyErr_Format(PyExc_OverflowError,
1404 "value %ld is less than '%s' minimum %ld",
1405 value, errmsg, min_value);
d14a1e28 1406 }
36ed4f51
RD
1407 return 0;
1408 } else if (value > max_value) {
1409 if (errmsg) {
1410 PyErr_Format(PyExc_OverflowError,
1411 "value %ld is greater than '%s' maximum %ld",
1412 value, errmsg, max_value);
d14a1e28 1413 }
36ed4f51
RD
1414 return 0;
1415 }
1416 return 1;
1417}
1418
1419
1420SWIGINTERN int
1421SWIG_AsVal_long(PyObject* obj, long* val)
1422{
1423 if (PyNumber_Check(obj)) {
1424 if (val) *val = PyInt_AsLong(obj);
1425 return 1;
3adfb63b 1426 }
36ed4f51
RD
1427 else {
1428 SWIG_type_error("number", obj);
3adfb63b 1429 }
36ed4f51 1430 return 0;
d14a1e28
RD
1431}
1432
1433
36ed4f51
RD
1434#if INT_MAX != LONG_MAX
1435SWIGINTERN int
1436 SWIG_AsVal_int(PyObject *obj, int *val)
1437{
1438 const char* errmsg = val ? "int" : (char*)0;
1439 long v;
1440 if (SWIG_AsVal_long(obj, &v)) {
1441 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1442 if (val) *val = (int)(v);
1443 return 1;
1444 } else {
1445 return 0;
d14a1e28 1446 }
36ed4f51
RD
1447 } else {
1448 PyErr_Clear();
1449 }
1450 if (val) {
1451 SWIG_type_error(errmsg, obj);
1452 }
1453 return 0;
d14a1e28 1454}
36ed4f51
RD
1455#else
1456SWIGINTERNSHORT int
1457 SWIG_AsVal_int(PyObject *obj, int *val)
1458{
1459 return SWIG_AsVal_long(obj,(long*)val);
d14a1e28 1460}
36ed4f51 1461#endif
d14a1e28
RD
1462
1463
36ed4f51
RD
1464SWIGINTERNSHORT int
1465SWIG_As_int(PyObject* obj)
1466{
1467 int v;
1468 if (!SWIG_AsVal_int(obj, &v)) {
1469 /*
1470 this is needed to make valgrind/purify happier.
1471 */
1472 memset((void*)&v, 0, sizeof(int));
1473 }
1474 return v;
d14a1e28
RD
1475}
1476
1477
36ed4f51
RD
1478SWIGINTERNSHORT long
1479SWIG_As_long(PyObject* obj)
1480{
1481 long v;
1482 if (!SWIG_AsVal_long(obj, &v)) {
1483 /*
1484 this is needed to make valgrind/purify happier.
1485 */
1486 memset((void*)&v, 0, sizeof(long));
1487 }
1488 return v;
d14a1e28
RD
1489}
1490
36ed4f51
RD
1491
1492SWIGINTERNSHORT int
1493SWIG_Check_int(PyObject* obj)
1494{
1495 return SWIG_AsVal_int(obj, (int*)0);
1496}
d14a1e28 1497
36ed4f51
RD
1498
1499SWIGINTERNSHORT int
1500SWIG_Check_long(PyObject* obj)
1501{
1502 return SWIG_AsVal_long(obj, (long*)0);
d14a1e28
RD
1503}
1504
1505
36ed4f51
RD
1506SWIGINTERN int
1507 SWIG_AsVal_bool(PyObject *obj, bool *val)
1508{
1509 if (obj == Py_True) {
1510 if (val) *val = true;
1511 return 1;
1512 }
1513 if (obj == Py_False) {
1514 if (val) *val = false;
1515 return 1;
1516 }
1517 int res = 0;
1518 if (SWIG_AsVal_int(obj, &res)) {
1519 if (val) *val = res ? true : false;
1520 return 1;
1521 } else {
1522 PyErr_Clear();
1523 }
1524 if (val) {
1525 SWIG_type_error("bool", obj);
1526 }
1527 return 0;
d14a1e28
RD
1528}
1529
1530
36ed4f51
RD
1531SWIGINTERNSHORT bool
1532SWIG_As_bool(PyObject* obj)
1533{
1534 bool v;
1535 if (!SWIG_AsVal_bool(obj, &v)) {
1536 /*
1537 this is needed to make valgrind/purify happier.
1538 */
1539 memset((void*)&v, 0, sizeof(bool));
1540 }
1541 return v;
d14a1e28
RD
1542}
1543
36ed4f51
RD
1544
1545SWIGINTERNSHORT int
1546SWIG_Check_bool(PyObject* obj)
1547{
1548 return SWIG_AsVal_bool(obj, (bool*)0);
d14a1e28
RD
1549}
1550
1551
36ed4f51
RD
1552 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1553 PyObject* o2;
1554 PyObject* o3;
1555
1556 if (!target) {
1557 target = o;
1558 } else if (target == Py_None) {
1559 Py_DECREF(Py_None);
1560 target = o;
1561 } else {
1562 if (!PyTuple_Check(target)) {
1563 o2 = target;
1564 target = PyTuple_New(1);
1565 PyTuple_SetItem(target, 0, o2);
1566 }
1567 o3 = PyTuple_New(1);
1568 PyTuple_SetItem(o3, 0, o);
1569
1570 o2 = target;
1571 target = PySequence_Concat(o2, o3);
1572 Py_DECREF(o2);
1573 Py_DECREF(o3);
1574 }
1575 return target;
1576 }
1577
1578
1579
1580/* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1581SWIGINTERN int
1582SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize)
1583{
1584 static swig_type_info* pchar_info = 0;
1585 char* vptr = 0;
1586 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
1587 if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) {
1588 if (cptr) *cptr = vptr;
1589 if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
1590 return SWIG_OLDOBJ;
1591 } else {
1592 PyErr_Clear();
1593 if (PyString_Check(obj)) {
1594 if (cptr) {
1595 *cptr = PyString_AS_STRING(obj);
1596 if (psize) {
1597 *psize = PyString_GET_SIZE(obj) + 1;
1598 }
1599 }
1600 return SWIG_PYSTR;
1601 }
1602 }
1603 if (cptr) {
1604 SWIG_type_error("char *", obj);
1605 }
1606 return 0;
1607}
1608
1609
1610SWIGINTERNSHORT int
1611SWIG_AsCharPtr(PyObject *obj, char **val)
1612{
1613 if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) {
1614 return 1;
1615 }
1616 if (val) {
1617 PyErr_Clear();
1618 SWIG_type_error("char *", obj);
1619 }
1620 return 0;
1621}
1622
1623
1624 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1625#define SWIG_From_long PyInt_FromLong
1626/*@@*/
1627
1628#ifdef __cplusplus
1629extern "C" {
1630#endif
1631static int _wrap_STCNameStr_set(PyObject *) {
1632 PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only.");
1633 return 1;
1634}
1635
1636
1637static PyObject *_wrap_STCNameStr_get(void) {
1638 PyObject *pyobj;
d14a1e28 1639
d14a1e28 1640 {
36ed4f51
RD
1641#if wxUSE_UNICODE
1642 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
1643#else
1644 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
1645#endif
d14a1e28 1646 }
36ed4f51 1647 return pyobj;
d14a1e28
RD
1648}
1649
1650
36ed4f51 1651static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 1652 PyObject *resultobj;
36ed4f51
RD
1653 wxWindow *arg1 = (wxWindow *) 0 ;
1654 int arg2 = (int) wxID_ANY ;
1655 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1656 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1657 wxSize const &arg4_defvalue = wxDefaultSize ;
1658 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1659 long arg5 = (long) 0 ;
1660 wxString const &arg6_defvalue = wxPySTCNameStr ;
1661 wxString *arg6 = (wxString *) &arg6_defvalue ;
1662 wxStyledTextCtrl *result;
1663 wxPoint temp3 ;
1664 wxSize temp4 ;
1665 bool temp6 = false ;
d14a1e28
RD
1666 PyObject * obj0 = 0 ;
1667 PyObject * obj1 = 0 ;
36ed4f51
RD
1668 PyObject * obj2 = 0 ;
1669 PyObject * obj3 = 0 ;
1670 PyObject * obj4 = 0 ;
1671 PyObject * obj5 = 0 ;
d14a1e28 1672 char *kwnames[] = {
36ed4f51 1673 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
1674 };
1675
36ed4f51
RD
1676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
1678 if (SWIG_arg_fail(1)) SWIG_fail;
1679 if (obj1) {
1680 {
1681 arg2 = (int)(SWIG_As_int(obj1));
1682 if (SWIG_arg_fail(2)) SWIG_fail;
1683 }
1684 }
1685 if (obj2) {
1686 {
1687 arg3 = &temp3;
1688 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1689 }
1690 }
1691 if (obj3) {
1692 {
1693 arg4 = &temp4;
1694 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1695 }
1696 }
1697 if (obj4) {
1698 {
1699 arg5 = (long)(SWIG_As_long(obj4));
1700 if (SWIG_arg_fail(5)) SWIG_fail;
1701 }
1702 }
1703 if (obj5) {
1704 {
1705 arg6 = wxString_in_helper(obj5);
1706 if (arg6 == NULL) SWIG_fail;
1707 temp6 = true;
1708 }
1709 }
d14a1e28 1710 {
36ed4f51 1711 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 1712 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 1713 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
d14a1e28
RD
1714
1715 wxPyEndAllowThreads(__tstate);
1716 if (PyErr_Occurred()) SWIG_fail;
1717 }
36ed4f51
RD
1718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
1719 {
1720 if (temp6)
1721 delete arg6;
1722 }
d14a1e28
RD
1723 return resultobj;
1724 fail:
36ed4f51
RD
1725 {
1726 if (temp6)
1727 delete arg6;
1728 }
d14a1e28
RD
1729 return NULL;
1730}
1731
1732
36ed4f51 1733static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 1734 PyObject *resultobj;
36ed4f51 1735 wxStyledTextCtrl *result;
d14a1e28 1736 char *kwnames[] = {
36ed4f51 1737 NULL
d14a1e28
RD
1738 };
1739
36ed4f51 1740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
d14a1e28 1741 {
36ed4f51 1742 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 1743 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 1744 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
d14a1e28
RD
1745
1746 wxPyEndAllowThreads(__tstate);
1747 if (PyErr_Occurred()) SWIG_fail;
1748 }
36ed4f51 1749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
d14a1e28
RD
1750 return resultobj;
1751 fail:
1752 return NULL;
1753}
1754
1755
36ed4f51 1756static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1757 PyObject *resultobj;
1758 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
1759 wxWindow *arg2 = (wxWindow *) 0 ;
1760 int arg3 = (int) wxID_ANY ;
1761 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1762 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1763 wxSize const &arg5_defvalue = wxDefaultSize ;
1764 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1765 long arg6 = (long) 0 ;
1766 wxString const &arg7_defvalue = wxSTCNameStr ;
1767 wxString *arg7 = (wxString *) &arg7_defvalue ;
66af7a75 1768 bool result;
36ed4f51
RD
1769 wxPoint temp4 ;
1770 wxSize temp5 ;
1771 bool temp7 = false ;
d14a1e28 1772 PyObject * obj0 = 0 ;
36ed4f51
RD
1773 PyObject * obj1 = 0 ;
1774 PyObject * obj2 = 0 ;
1775 PyObject * obj3 = 0 ;
1776 PyObject * obj4 = 0 ;
1777 PyObject * obj5 = 0 ;
1778 PyObject * obj6 = 0 ;
d14a1e28 1779 char *kwnames[] = {
36ed4f51 1780 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
1781 };
1782
36ed4f51
RD
1783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1785 if (SWIG_arg_fail(1)) SWIG_fail;
1786 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
1787 if (SWIG_arg_fail(2)) SWIG_fail;
1788 if (obj2) {
1789 {
1790 arg3 = (int)(SWIG_As_int(obj2));
1791 if (SWIG_arg_fail(3)) SWIG_fail;
1792 }
1793 }
1794 if (obj3) {
1795 {
1796 arg4 = &temp4;
1797 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1798 }
1799 }
1800 if (obj4) {
1801 {
1802 arg5 = &temp5;
1803 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1804 }
1805 }
1806 if (obj5) {
1807 {
1808 arg6 = (long)(SWIG_As_long(obj5));
1809 if (SWIG_arg_fail(6)) SWIG_fail;
1810 }
1811 }
1812 if (obj6) {
1813 {
1814 arg7 = wxString_in_helper(obj6);
1815 if (arg7 == NULL) SWIG_fail;
1816 temp7 = true;
1817 }
1818 }
d14a1e28
RD
1819 {
1820 PyThreadState* __tstate = wxPyBeginAllowThreads();
66af7a75 1821 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
d14a1e28
RD
1822
1823 wxPyEndAllowThreads(__tstate);
1824 if (PyErr_Occurred()) SWIG_fail;
1825 }
66af7a75
RD
1826 {
1827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1828 }
36ed4f51
RD
1829 {
1830 if (temp7)
1831 delete arg7;
1832 }
d14a1e28
RD
1833 return resultobj;
1834 fail:
36ed4f51
RD
1835 {
1836 if (temp7)
1837 delete arg7;
1838 }
d14a1e28
RD
1839 return NULL;
1840}
1841
1842
36ed4f51 1843static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1844 PyObject *resultobj;
1845 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
1846 wxString *arg2 = 0 ;
1847 bool temp2 = false ;
d14a1e28 1848 PyObject * obj0 = 0 ;
994141e6 1849 PyObject * obj1 = 0 ;
d14a1e28 1850 char *kwnames[] = {
36ed4f51 1851 (char *) "self",(char *) "text", NULL
d14a1e28
RD
1852 };
1853
36ed4f51
RD
1854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
1855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1856 if (SWIG_arg_fail(1)) SWIG_fail;
1857 {
1858 arg2 = wxString_in_helper(obj1);
1859 if (arg2 == NULL) SWIG_fail;
1860 temp2 = true;
1861 }
d14a1e28
RD
1862 {
1863 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 1864 (arg1)->AddText((wxString const &)*arg2);
d14a1e28
RD
1865
1866 wxPyEndAllowThreads(__tstate);
1867 if (PyErr_Occurred()) SWIG_fail;
1868 }
36ed4f51 1869 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28 1870 {
36ed4f51
RD
1871 if (temp2)
1872 delete arg2;
d14a1e28
RD
1873 }
1874 return resultobj;
1875 fail:
36ed4f51
RD
1876 {
1877 if (temp2)
1878 delete arg2;
1879 }
1880 return NULL;
d14a1e28
RD
1881}
1882
1883
36ed4f51 1884static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1885 PyObject *resultobj;
1886 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
1887 wxMemoryBuffer *arg2 = 0 ;
1888 bool temp2 = false ;
d14a1e28 1889 PyObject * obj0 = 0 ;
36ed4f51 1890 PyObject * obj1 = 0 ;
d14a1e28 1891 char *kwnames[] = {
36ed4f51 1892 (char *) "self",(char *) "data", NULL
d14a1e28
RD
1893 };
1894
36ed4f51
RD
1895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
1896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1897 if (SWIG_arg_fail(1)) SWIG_fail;
1898 {
1899 if (!PyString_Check(obj1)) {
1900 PyErr_SetString(PyExc_TypeError, "String buffer expected");
1901 SWIG_fail;
1902 }
1903 char* str = PyString_AS_STRING(obj1);
1904 int len = PyString_GET_SIZE(obj1);
1905 arg2 = new wxMemoryBuffer(len);
1906 temp2 = true;
1907 memcpy(arg2->GetData(), str, len);
1908 arg2->SetDataLen(len);
1909 }
d14a1e28
RD
1910 {
1911 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 1912 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
d14a1e28
RD
1913
1914 wxPyEndAllowThreads(__tstate);
1915 if (PyErr_Occurred()) SWIG_fail;
1916 }
36ed4f51 1917 Py_INCREF(Py_None); resultobj = Py_None;
4f89f6a3 1918 {
36ed4f51 1919 if (temp2) delete arg2;
4f89f6a3 1920 }
d14a1e28
RD
1921 return resultobj;
1922 fail:
36ed4f51
RD
1923 {
1924 if (temp2) delete arg2;
1925 }
d14a1e28
RD
1926 return NULL;
1927}
1928
1929
36ed4f51 1930static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1931 PyObject *resultobj;
1932 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1933 int arg2 ;
36ed4f51
RD
1934 wxString *arg3 = 0 ;
1935 bool temp3 = false ;
d14a1e28 1936 PyObject * obj0 = 0 ;
994141e6 1937 PyObject * obj1 = 0 ;
36ed4f51 1938 PyObject * obj2 = 0 ;
d14a1e28 1939 char *kwnames[] = {
36ed4f51 1940 (char *) "self",(char *) "pos",(char *) "text", NULL
d14a1e28
RD
1941 };
1942
36ed4f51
RD
1943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail;
1944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1945 if (SWIG_arg_fail(1)) SWIG_fail;
1946 {
1947 arg2 = (int)(SWIG_As_int(obj1));
1948 if (SWIG_arg_fail(2)) SWIG_fail;
1949 }
1950 {
1951 arg3 = wxString_in_helper(obj2);
1952 if (arg3 == NULL) SWIG_fail;
1953 temp3 = true;
1954 }
d14a1e28
RD
1955 {
1956 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 1957 (arg1)->InsertText(arg2,(wxString const &)*arg3);
d14a1e28
RD
1958
1959 wxPyEndAllowThreads(__tstate);
1960 if (PyErr_Occurred()) SWIG_fail;
1961 }
36ed4f51
RD
1962 Py_INCREF(Py_None); resultobj = Py_None;
1963 {
1964 if (temp3)
1965 delete arg3;
1966 }
d14a1e28
RD
1967 return resultobj;
1968 fail:
36ed4f51
RD
1969 {
1970 if (temp3)
1971 delete arg3;
1972 }
d14a1e28
RD
1973 return NULL;
1974}
1975
1976
36ed4f51 1977static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1978 PyObject *resultobj;
1979 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
1980 PyObject * obj0 = 0 ;
1981 char *kwnames[] = {
36ed4f51 1982 (char *) "self", NULL
d14a1e28
RD
1983 };
1984
36ed4f51
RD
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
1986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1987 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
1988 {
1989 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 1990 (arg1)->ClearAll();
d14a1e28
RD
1991
1992 wxPyEndAllowThreads(__tstate);
1993 if (PyErr_Occurred()) SWIG_fail;
1994 }
1995 Py_INCREF(Py_None); resultobj = Py_None;
1996 return resultobj;
1997 fail:
1998 return NULL;
1999}
2000
2001
36ed4f51 2002static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2003 PyObject *resultobj;
2004 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
2005 PyObject * obj0 = 0 ;
2006 char *kwnames[] = {
2007 (char *) "self", NULL
2008 };
2009
36ed4f51
RD
2010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
2011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2012 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2013 {
2014 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2015 (arg1)->ClearDocumentStyle();
d14a1e28
RD
2016
2017 wxPyEndAllowThreads(__tstate);
2018 if (PyErr_Occurred()) SWIG_fail;
2019 }
36ed4f51 2020 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
2021 return resultobj;
2022 fail:
2023 return NULL;
2024}
2025
2026
36ed4f51 2027static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2028 PyObject *resultobj;
2029 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2030 int result;
2031 PyObject * obj0 = 0 ;
2032 char *kwnames[] = {
2033 (char *) "self", NULL
2034 };
2035
36ed4f51
RD
2036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
2037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2038 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2039 {
2040 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2041 result = (int)(arg1)->GetLength();
d14a1e28
RD
2042
2043 wxPyEndAllowThreads(__tstate);
2044 if (PyErr_Occurred()) SWIG_fail;
2045 }
36ed4f51
RD
2046 {
2047 resultobj = SWIG_From_int((int)(result));
2048 }
d14a1e28
RD
2049 return resultobj;
2050 fail:
2051 return NULL;
2052}
2053
2054
36ed4f51 2055static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2056 PyObject *resultobj;
2057 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2058 int arg2 ;
36ed4f51 2059 int result;
d14a1e28 2060 PyObject * obj0 = 0 ;
994141e6 2061 PyObject * obj1 = 0 ;
d14a1e28 2062 char *kwnames[] = {
36ed4f51 2063 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
2064 };
2065
36ed4f51
RD
2066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail;
2067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2068 if (SWIG_arg_fail(1)) SWIG_fail;
2069 {
2070 arg2 = (int)(SWIG_As_int(obj1));
2071 if (SWIG_arg_fail(2)) SWIG_fail;
2072 }
d14a1e28
RD
2073 {
2074 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2075 result = (int)(arg1)->GetCharAt(arg2);
d14a1e28
RD
2076
2077 wxPyEndAllowThreads(__tstate);
2078 if (PyErr_Occurred()) SWIG_fail;
2079 }
36ed4f51
RD
2080 {
2081 resultobj = SWIG_From_int((int)(result));
2082 }
d14a1e28
RD
2083 return resultobj;
2084 fail:
2085 return NULL;
2086}
2087
2088
36ed4f51 2089static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2090 PyObject *resultobj;
2091 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 2092 int result;
d14a1e28 2093 PyObject * obj0 = 0 ;
d14a1e28 2094 char *kwnames[] = {
36ed4f51 2095 (char *) "self", NULL
d14a1e28
RD
2096 };
2097
36ed4f51
RD
2098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
2099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2100 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2101 {
2102 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2103 result = (int)(arg1)->GetCurrentPos();
d14a1e28
RD
2104
2105 wxPyEndAllowThreads(__tstate);
2106 if (PyErr_Occurred()) SWIG_fail;
2107 }
36ed4f51
RD
2108 {
2109 resultobj = SWIG_From_int((int)(result));
2110 }
d14a1e28
RD
2111 return resultobj;
2112 fail:
2113 return NULL;
2114}
2115
2116
36ed4f51 2117static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2118 PyObject *resultobj;
2119 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
2120 int result;
2121 PyObject * obj0 = 0 ;
2122 char *kwnames[] = {
36ed4f51 2123 (char *) "self", NULL
d14a1e28
RD
2124 };
2125
36ed4f51
RD
2126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
2127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2128 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2129 {
2130 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2131 result = (int)(arg1)->GetAnchor();
d14a1e28
RD
2132
2133 wxPyEndAllowThreads(__tstate);
2134 if (PyErr_Occurred()) SWIG_fail;
2135 }
36ed4f51
RD
2136 {
2137 resultobj = SWIG_From_int((int)(result));
2138 }
d14a1e28
RD
2139 return resultobj;
2140 fail:
2141 return NULL;
2142}
2143
2144
36ed4f51 2145static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2146 PyObject *resultobj;
2147 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2148 int arg2 ;
36ed4f51 2149 int result;
d14a1e28 2150 PyObject * obj0 = 0 ;
994141e6 2151 PyObject * obj1 = 0 ;
d14a1e28 2152 char *kwnames[] = {
36ed4f51 2153 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
2154 };
2155
36ed4f51
RD
2156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail;
2157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2158 if (SWIG_arg_fail(1)) SWIG_fail;
2159 {
2160 arg2 = (int)(SWIG_As_int(obj1));
2161 if (SWIG_arg_fail(2)) SWIG_fail;
2162 }
d14a1e28
RD
2163 {
2164 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2165 result = (int)(arg1)->GetStyleAt(arg2);
d14a1e28
RD
2166
2167 wxPyEndAllowThreads(__tstate);
2168 if (PyErr_Occurred()) SWIG_fail;
2169 }
36ed4f51
RD
2170 {
2171 resultobj = SWIG_From_int((int)(result));
2172 }
d14a1e28
RD
2173 return resultobj;
2174 fail:
2175 return NULL;
2176}
2177
2178
36ed4f51 2179static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2180 PyObject *resultobj;
2181 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
2182 PyObject * obj0 = 0 ;
2183 char *kwnames[] = {
36ed4f51 2184 (char *) "self", NULL
d14a1e28
RD
2185 };
2186
36ed4f51
RD
2187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
2188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2189 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2190 {
2191 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2192 (arg1)->Redo();
d14a1e28
RD
2193
2194 wxPyEndAllowThreads(__tstate);
2195 if (PyErr_Occurred()) SWIG_fail;
2196 }
2197 Py_INCREF(Py_None); resultobj = Py_None;
2198 return resultobj;
2199 fail:
2200 return NULL;
2201}
2202
2203
36ed4f51 2204static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2205 PyObject *resultobj;
2206 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 2207 bool arg2 ;
d14a1e28 2208 PyObject * obj0 = 0 ;
994141e6 2209 PyObject * obj1 = 0 ;
d14a1e28 2210 char *kwnames[] = {
36ed4f51 2211 (char *) "self",(char *) "collectUndo", NULL
d14a1e28
RD
2212 };
2213
36ed4f51
RD
2214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
2215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2216 if (SWIG_arg_fail(1)) SWIG_fail;
2217 {
2218 arg2 = (bool)(SWIG_As_bool(obj1));
2219 if (SWIG_arg_fail(2)) SWIG_fail;
2220 }
d14a1e28
RD
2221 {
2222 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2223 (arg1)->SetUndoCollection(arg2);
d14a1e28
RD
2224
2225 wxPyEndAllowThreads(__tstate);
2226 if (PyErr_Occurred()) SWIG_fail;
2227 }
2228 Py_INCREF(Py_None); resultobj = Py_None;
2229 return resultobj;
2230 fail:
2231 return NULL;
2232}
2233
2234
36ed4f51 2235static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2236 PyObject *resultobj;
2237 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
2238 PyObject * obj0 = 0 ;
2239 char *kwnames[] = {
2240 (char *) "self", NULL
2241 };
2242
36ed4f51
RD
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
2244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2245 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2246 {
2247 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2248 (arg1)->SelectAll();
d14a1e28
RD
2249
2250 wxPyEndAllowThreads(__tstate);
2251 if (PyErr_Occurred()) SWIG_fail;
2252 }
36ed4f51 2253 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
2254 return resultobj;
2255 fail:
2256 return NULL;
2257}
2258
2259
36ed4f51 2260static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2261 PyObject *resultobj;
2262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
2263 PyObject * obj0 = 0 ;
2264 char *kwnames[] = {
2265 (char *) "self", NULL
2266 };
2267
36ed4f51
RD
2268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
2269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2270 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2271 {
2272 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2273 (arg1)->SetSavePoint();
d14a1e28
RD
2274
2275 wxPyEndAllowThreads(__tstate);
2276 if (PyErr_Occurred()) SWIG_fail;
2277 }
36ed4f51 2278 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
2279 return resultobj;
2280 fail:
2281 return NULL;
2282}
2283
2284
36ed4f51 2285static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2286 PyObject *resultobj;
2287 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2288 int arg2 ;
36ed4f51
RD
2289 int arg3 ;
2290 wxMemoryBuffer result;
d14a1e28 2291 PyObject * obj0 = 0 ;
994141e6 2292 PyObject * obj1 = 0 ;
36ed4f51 2293 PyObject * obj2 = 0 ;
d14a1e28 2294 char *kwnames[] = {
36ed4f51 2295 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
d14a1e28
RD
2296 };
2297
36ed4f51
RD
2298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2300 if (SWIG_arg_fail(1)) SWIG_fail;
2301 {
2302 arg2 = (int)(SWIG_As_int(obj1));
2303 if (SWIG_arg_fail(2)) SWIG_fail;
2304 }
2305 {
2306 arg3 = (int)(SWIG_As_int(obj2));
2307 if (SWIG_arg_fail(3)) SWIG_fail;
2308 }
d14a1e28
RD
2309 {
2310 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2311 result = (arg1)->GetStyledText(arg2,arg3);
d14a1e28
RD
2312
2313 wxPyEndAllowThreads(__tstate);
2314 if (PyErr_Occurred()) SWIG_fail;
2315 }
36ed4f51
RD
2316 {
2317 resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
2318 }
d14a1e28
RD
2319 return resultobj;
2320 fail:
2321 return NULL;
2322}
2323
2324
36ed4f51 2325static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2326 PyObject *resultobj;
2327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 2328 bool result;
d14a1e28
RD
2329 PyObject * obj0 = 0 ;
2330 char *kwnames[] = {
2331 (char *) "self", NULL
2332 };
2333
36ed4f51
RD
2334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
2335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2336 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2337 {
2338 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2339 result = (bool)(arg1)->CanRedo();
d14a1e28
RD
2340
2341 wxPyEndAllowThreads(__tstate);
2342 if (PyErr_Occurred()) SWIG_fail;
2343 }
36ed4f51
RD
2344 {
2345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2346 }
d14a1e28
RD
2347 return resultobj;
2348 fail:
2349 return NULL;
2350}
2351
2352
36ed4f51 2353static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2354 PyObject *resultobj;
2355 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2356 int arg2 ;
36ed4f51 2357 int result;
d14a1e28 2358 PyObject * obj0 = 0 ;
994141e6 2359 PyObject * obj1 = 0 ;
d14a1e28 2360 char *kwnames[] = {
36ed4f51 2361 (char *) "self",(char *) "handle", NULL
d14a1e28
RD
2362 };
2363
36ed4f51
RD
2364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail;
2365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2366 if (SWIG_arg_fail(1)) SWIG_fail;
2367 {
2368 arg2 = (int)(SWIG_As_int(obj1));
2369 if (SWIG_arg_fail(2)) SWIG_fail;
2370 }
d14a1e28
RD
2371 {
2372 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2373 result = (int)(arg1)->MarkerLineFromHandle(arg2);
d14a1e28
RD
2374
2375 wxPyEndAllowThreads(__tstate);
2376 if (PyErr_Occurred()) SWIG_fail;
2377 }
36ed4f51
RD
2378 {
2379 resultobj = SWIG_From_int((int)(result));
2380 }
d14a1e28
RD
2381 return resultobj;
2382 fail:
2383 return NULL;
2384}
2385
2386
36ed4f51 2387static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2388 PyObject *resultobj;
2389 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2390 int arg2 ;
d14a1e28 2391 PyObject * obj0 = 0 ;
994141e6 2392 PyObject * obj1 = 0 ;
d14a1e28 2393 char *kwnames[] = {
36ed4f51 2394 (char *) "self",(char *) "handle", NULL
d14a1e28
RD
2395 };
2396
36ed4f51
RD
2397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail;
2398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2399 if (SWIG_arg_fail(1)) SWIG_fail;
2400 {
2401 arg2 = (int)(SWIG_As_int(obj1));
2402 if (SWIG_arg_fail(2)) SWIG_fail;
2403 }
d14a1e28
RD
2404 {
2405 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2406 (arg1)->MarkerDeleteHandle(arg2);
d14a1e28
RD
2407
2408 wxPyEndAllowThreads(__tstate);
2409 if (PyErr_Occurred()) SWIG_fail;
2410 }
2411 Py_INCREF(Py_None); resultobj = Py_None;
2412 return resultobj;
2413 fail:
2414 return NULL;
2415}
2416
2417
36ed4f51 2418static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2419 PyObject *resultobj;
2420 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 2421 bool result;
d14a1e28
RD
2422 PyObject * obj0 = 0 ;
2423 char *kwnames[] = {
36ed4f51 2424 (char *) "self", NULL
d14a1e28
RD
2425 };
2426
36ed4f51
RD
2427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
2428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2429 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2430 {
2431 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2432 result = (bool)(arg1)->GetUndoCollection();
d14a1e28
RD
2433
2434 wxPyEndAllowThreads(__tstate);
2435 if (PyErr_Occurred()) SWIG_fail;
2436 }
36ed4f51
RD
2437 {
2438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2439 }
d14a1e28
RD
2440 return resultobj;
2441 fail:
2442 return NULL;
2443}
2444
2445
36ed4f51 2446static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2447 PyObject *resultobj;
2448 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 2449 int result;
d14a1e28
RD
2450 PyObject * obj0 = 0 ;
2451 char *kwnames[] = {
2452 (char *) "self", NULL
2453 };
2454
36ed4f51
RD
2455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
2456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2457 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2458 {
2459 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2460 result = (int)(arg1)->GetViewWhiteSpace();
d14a1e28
RD
2461
2462 wxPyEndAllowThreads(__tstate);
2463 if (PyErr_Occurred()) SWIG_fail;
2464 }
4f89f6a3 2465 {
36ed4f51 2466 resultobj = SWIG_From_int((int)(result));
4f89f6a3 2467 }
d14a1e28
RD
2468 return resultobj;
2469 fail:
2470 return NULL;
2471}
2472
2473
36ed4f51 2474static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2475 PyObject *resultobj;
2476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 2477 int arg2 ;
d14a1e28
RD
2478 PyObject * obj0 = 0 ;
2479 PyObject * obj1 = 0 ;
2480 char *kwnames[] = {
36ed4f51 2481 (char *) "self",(char *) "viewWS", NULL
d14a1e28
RD
2482 };
2483
36ed4f51
RD
2484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail;
2485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2486 if (SWIG_arg_fail(1)) SWIG_fail;
2487 {
2488 arg2 = (int)(SWIG_As_int(obj1));
2489 if (SWIG_arg_fail(2)) SWIG_fail;
2490 }
d14a1e28
RD
2491 {
2492 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2493 (arg1)->SetViewWhiteSpace(arg2);
d14a1e28
RD
2494
2495 wxPyEndAllowThreads(__tstate);
2496 if (PyErr_Occurred()) SWIG_fail;
2497 }
2498 Py_INCREF(Py_None); resultobj = Py_None;
2499 return resultobj;
2500 fail:
2501 return NULL;
2502}
2503
2504
36ed4f51 2505static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2506 PyObject *resultobj;
2507 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
2508 wxPoint arg2 ;
2509 int result;
d14a1e28 2510 PyObject * obj0 = 0 ;
994141e6 2511 PyObject * obj1 = 0 ;
d14a1e28 2512 char *kwnames[] = {
36ed4f51 2513 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2514 };
2515
36ed4f51
RD
2516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
2517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2518 if (SWIG_arg_fail(1)) SWIG_fail;
2519 {
2520 wxPoint * argp;
2521 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION);
2522 if (SWIG_arg_fail(2)) SWIG_fail;
2523 if (argp == NULL) {
2524 SWIG_null_ref("wxPoint");
2525 }
2526 if (SWIG_arg_fail(2)) SWIG_fail;
2527 arg2 = *argp;
2528 }
d14a1e28
RD
2529 {
2530 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2531 result = (int)(arg1)->PositionFromPoint(arg2);
d14a1e28
RD
2532
2533 wxPyEndAllowThreads(__tstate);
2534 if (PyErr_Occurred()) SWIG_fail;
2535 }
36ed4f51
RD
2536 {
2537 resultobj = SWIG_From_int((int)(result));
2538 }
d14a1e28
RD
2539 return resultobj;
2540 fail:
2541 return NULL;
2542}
2543
2544
36ed4f51 2545static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2546 PyObject *resultobj;
2547 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
2548 int arg2 ;
2549 int arg3 ;
d14a1e28
RD
2550 int result;
2551 PyObject * obj0 = 0 ;
36ed4f51
RD
2552 PyObject * obj1 = 0 ;
2553 PyObject * obj2 = 0 ;
d14a1e28 2554 char *kwnames[] = {
36ed4f51 2555 (char *) "self",(char *) "x",(char *) "y", NULL
d14a1e28
RD
2556 };
2557
36ed4f51
RD
2558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail;
2559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2560 if (SWIG_arg_fail(1)) SWIG_fail;
2561 {
2562 arg2 = (int)(SWIG_As_int(obj1));
2563 if (SWIG_arg_fail(2)) SWIG_fail;
2564 }
2565 {
2566 arg3 = (int)(SWIG_As_int(obj2));
2567 if (SWIG_arg_fail(3)) SWIG_fail;
2568 }
d14a1e28
RD
2569 {
2570 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2571 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
d14a1e28
RD
2572
2573 wxPyEndAllowThreads(__tstate);
2574 if (PyErr_Occurred()) SWIG_fail;
2575 }
36ed4f51
RD
2576 {
2577 resultobj = SWIG_From_int((int)(result));
2578 }
d14a1e28
RD
2579 return resultobj;
2580 fail:
2581 return NULL;
2582}
2583
2584
36ed4f51 2585static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2586 PyObject *resultobj;
2587 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2588 int arg2 ;
2589 PyObject * obj0 = 0 ;
994141e6 2590 PyObject * obj1 = 0 ;
d14a1e28 2591 char *kwnames[] = {
36ed4f51 2592 (char *) "self",(char *) "line", NULL
d14a1e28
RD
2593 };
2594
36ed4f51
RD
2595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail;
2596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2597 if (SWIG_arg_fail(1)) SWIG_fail;
2598 {
2599 arg2 = (int)(SWIG_As_int(obj1));
2600 if (SWIG_arg_fail(2)) SWIG_fail;
2601 }
d14a1e28
RD
2602 {
2603 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2604 (arg1)->GotoLine(arg2);
d14a1e28
RD
2605
2606 wxPyEndAllowThreads(__tstate);
2607 if (PyErr_Occurred()) SWIG_fail;
2608 }
2609 Py_INCREF(Py_None); resultobj = Py_None;
2610 return resultobj;
2611 fail:
2612 return NULL;
2613}
2614
2615
36ed4f51 2616static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2617 PyObject *resultobj;
2618 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2619 int arg2 ;
d14a1e28 2620 PyObject * obj0 = 0 ;
994141e6 2621 PyObject * obj1 = 0 ;
d14a1e28 2622 char *kwnames[] = {
36ed4f51 2623 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
2624 };
2625
36ed4f51
RD
2626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail;
2627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2628 if (SWIG_arg_fail(1)) SWIG_fail;
2629 {
2630 arg2 = (int)(SWIG_As_int(obj1));
2631 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2632 }
2633 {
2634 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2635 (arg1)->GotoPos(arg2);
d14a1e28
RD
2636
2637 wxPyEndAllowThreads(__tstate);
2638 if (PyErr_Occurred()) SWIG_fail;
2639 }
2640 Py_INCREF(Py_None); resultobj = Py_None;
2641 return resultobj;
2642 fail:
2643 return NULL;
2644}
2645
2646
36ed4f51 2647static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2648 PyObject *resultobj;
2649 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2650 int arg2 ;
d14a1e28 2651 PyObject * obj0 = 0 ;
994141e6 2652 PyObject * obj1 = 0 ;
d14a1e28 2653 char *kwnames[] = {
36ed4f51 2654 (char *) "self",(char *) "posAnchor", NULL
d14a1e28
RD
2655 };
2656
36ed4f51
RD
2657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail;
2658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2659 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 2660 {
36ed4f51
RD
2661 arg2 = (int)(SWIG_As_int(obj1));
2662 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
2663 }
2664 {
2665 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2666 (arg1)->SetAnchor(arg2);
d14a1e28
RD
2667
2668 wxPyEndAllowThreads(__tstate);
2669 if (PyErr_Occurred()) SWIG_fail;
2670 }
2671 Py_INCREF(Py_None); resultobj = Py_None;
2672 return resultobj;
2673 fail:
2674 return NULL;
2675}
2676
2677
36ed4f51 2678static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2679 PyObject *resultobj;
2680 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
2681 int *arg2 = (int *) 0 ;
2682 wxString result;
2683 int temp2 ;
2684 int res2 = 0 ;
d14a1e28 2685 PyObject * obj0 = 0 ;
d14a1e28 2686 char *kwnames[] = {
36ed4f51 2687 (char *) "self", NULL
d14a1e28
RD
2688 };
2689
36ed4f51
RD
2690 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
2692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2693 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2694 {
2695 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2696 result = (arg1)->GetCurLine(arg2);
d14a1e28
RD
2697
2698 wxPyEndAllowThreads(__tstate);
2699 if (PyErr_Occurred()) SWIG_fail;
2700 }
36ed4f51
RD
2701 {
2702#if wxUSE_UNICODE
2703 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2704#else
2705 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2706#endif
2707 }
2708 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2709 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d14a1e28
RD
2710 return resultobj;
2711 fail:
2712 return NULL;
2713}
2714
2715
36ed4f51 2716static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2717 PyObject *resultobj;
2718 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
2719 int result;
2720 PyObject * obj0 = 0 ;
2721 char *kwnames[] = {
36ed4f51 2722 (char *) "self", NULL
d14a1e28
RD
2723 };
2724
36ed4f51
RD
2725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
2726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2727 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2728 {
2729 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2730 result = (int)(arg1)->GetEndStyled();
d14a1e28
RD
2731
2732 wxPyEndAllowThreads(__tstate);
2733 if (PyErr_Occurred()) SWIG_fail;
2734 }
36ed4f51
RD
2735 {
2736 resultobj = SWIG_From_int((int)(result));
2737 }
d14a1e28
RD
2738 return resultobj;
2739 fail:
2740 return NULL;
2741}
2742
2743
36ed4f51 2744static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2745 PyObject *resultobj;
2746 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2747 int arg2 ;
d14a1e28 2748 PyObject * obj0 = 0 ;
994141e6 2749 PyObject * obj1 = 0 ;
d14a1e28 2750 char *kwnames[] = {
36ed4f51 2751 (char *) "self",(char *) "eolMode", NULL
d14a1e28
RD
2752 };
2753
36ed4f51
RD
2754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail;
2755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2756 if (SWIG_arg_fail(1)) SWIG_fail;
2757 {
2758 arg2 = (int)(SWIG_As_int(obj1));
2759 if (SWIG_arg_fail(2)) SWIG_fail;
2760 }
d14a1e28
RD
2761 {
2762 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2763 (arg1)->ConvertEOLs(arg2);
d14a1e28
RD
2764
2765 wxPyEndAllowThreads(__tstate);
2766 if (PyErr_Occurred()) SWIG_fail;
2767 }
2768 Py_INCREF(Py_None); resultobj = Py_None;
2769 return resultobj;
2770 fail:
2771 return NULL;
2772}
2773
2774
36ed4f51 2775static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2776 PyObject *resultobj;
2777 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 2778 int result;
d14a1e28
RD
2779 PyObject * obj0 = 0 ;
2780 char *kwnames[] = {
36ed4f51 2781 (char *) "self", NULL
d14a1e28
RD
2782 };
2783
36ed4f51
RD
2784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
2785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2786 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2787 {
2788 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2789 result = (int)(arg1)->GetEOLMode();
d14a1e28
RD
2790
2791 wxPyEndAllowThreads(__tstate);
2792 if (PyErr_Occurred()) SWIG_fail;
2793 }
36ed4f51
RD
2794 {
2795 resultobj = SWIG_From_int((int)(result));
2796 }
d14a1e28
RD
2797 return resultobj;
2798 fail:
2799 return NULL;
2800}
2801
2802
36ed4f51 2803static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2804 PyObject *resultobj;
2805 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2806 int arg2 ;
d14a1e28 2807 PyObject * obj0 = 0 ;
994141e6 2808 PyObject * obj1 = 0 ;
d14a1e28 2809 char *kwnames[] = {
36ed4f51 2810 (char *) "self",(char *) "eolMode", NULL
d14a1e28
RD
2811 };
2812
36ed4f51
RD
2813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail;
2814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2815 if (SWIG_arg_fail(1)) SWIG_fail;
2816 {
2817 arg2 = (int)(SWIG_As_int(obj1));
2818 if (SWIG_arg_fail(2)) SWIG_fail;
2819 }
d14a1e28
RD
2820 {
2821 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2822 (arg1)->SetEOLMode(arg2);
d14a1e28
RD
2823
2824 wxPyEndAllowThreads(__tstate);
2825 if (PyErr_Occurred()) SWIG_fail;
2826 }
36ed4f51 2827 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
2828 return resultobj;
2829 fail:
2830 return NULL;
2831}
2832
2833
36ed4f51 2834static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2835 PyObject *resultobj;
2836 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2837 int arg2 ;
2838 int arg3 ;
d14a1e28 2839 PyObject * obj0 = 0 ;
994141e6
RD
2840 PyObject * obj1 = 0 ;
2841 PyObject * obj2 = 0 ;
d14a1e28 2842 char *kwnames[] = {
36ed4f51 2843 (char *) "self",(char *) "pos",(char *) "mask", NULL
d14a1e28
RD
2844 };
2845
36ed4f51
RD
2846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2848 if (SWIG_arg_fail(1)) SWIG_fail;
2849 {
2850 arg2 = (int)(SWIG_As_int(obj1));
2851 if (SWIG_arg_fail(2)) SWIG_fail;
2852 }
2853 {
2854 arg3 = (int)(SWIG_As_int(obj2));
2855 if (SWIG_arg_fail(3)) SWIG_fail;
2856 }
d14a1e28
RD
2857 {
2858 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2859 (arg1)->StartStyling(arg2,arg3);
d14a1e28
RD
2860
2861 wxPyEndAllowThreads(__tstate);
2862 if (PyErr_Occurred()) SWIG_fail;
2863 }
36ed4f51 2864 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
2865 return resultobj;
2866 fail:
2867 return NULL;
2868}
2869
2870
36ed4f51 2871static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2872 PyObject *resultobj;
2873 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2874 int arg2 ;
2875 int arg3 ;
d14a1e28 2876 PyObject * obj0 = 0 ;
994141e6
RD
2877 PyObject * obj1 = 0 ;
2878 PyObject * obj2 = 0 ;
d14a1e28 2879 char *kwnames[] = {
36ed4f51 2880 (char *) "self",(char *) "length",(char *) "style", NULL
d14a1e28
RD
2881 };
2882
36ed4f51
RD
2883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2885 if (SWIG_arg_fail(1)) SWIG_fail;
2886 {
2887 arg2 = (int)(SWIG_As_int(obj1));
2888 if (SWIG_arg_fail(2)) SWIG_fail;
2889 }
2890 {
2891 arg3 = (int)(SWIG_As_int(obj2));
2892 if (SWIG_arg_fail(3)) SWIG_fail;
2893 }
d14a1e28
RD
2894 {
2895 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2896 (arg1)->SetStyling(arg2,arg3);
d14a1e28
RD
2897
2898 wxPyEndAllowThreads(__tstate);
2899 if (PyErr_Occurred()) SWIG_fail;
2900 }
36ed4f51 2901 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
2902 return resultobj;
2903 fail:
2904 return NULL;
2905}
2906
2907
36ed4f51 2908static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2909 PyObject *resultobj;
2910 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 2911 bool result;
d14a1e28 2912 PyObject * obj0 = 0 ;
d14a1e28 2913 char *kwnames[] = {
36ed4f51 2914 (char *) "self", NULL
d14a1e28
RD
2915 };
2916
36ed4f51
RD
2917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
2918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2919 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2920 {
2921 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2922 result = (bool)(arg1)->GetBufferedDraw();
d14a1e28
RD
2923
2924 wxPyEndAllowThreads(__tstate);
2925 if (PyErr_Occurred()) SWIG_fail;
2926 }
36ed4f51
RD
2927 {
2928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2929 }
d14a1e28
RD
2930 return resultobj;
2931 fail:
2932 return NULL;
2933}
2934
2935
36ed4f51 2936static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2937 PyObject *resultobj;
2938 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 2939 bool arg2 ;
d14a1e28 2940 PyObject * obj0 = 0 ;
994141e6 2941 PyObject * obj1 = 0 ;
d14a1e28 2942 char *kwnames[] = {
36ed4f51 2943 (char *) "self",(char *) "buffered", NULL
d14a1e28
RD
2944 };
2945
36ed4f51
RD
2946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
2947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2948 if (SWIG_arg_fail(1)) SWIG_fail;
2949 {
2950 arg2 = (bool)(SWIG_As_bool(obj1));
2951 if (SWIG_arg_fail(2)) SWIG_fail;
2952 }
d14a1e28
RD
2953 {
2954 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2955 (arg1)->SetBufferedDraw(arg2);
d14a1e28
RD
2956
2957 wxPyEndAllowThreads(__tstate);
2958 if (PyErr_Occurred()) SWIG_fail;
2959 }
2960 Py_INCREF(Py_None); resultobj = Py_None;
2961 return resultobj;
2962 fail:
2963 return NULL;
2964}
2965
2966
36ed4f51 2967static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2968 PyObject *resultobj;
2969 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2970 int arg2 ;
d14a1e28 2971 PyObject * obj0 = 0 ;
994141e6 2972 PyObject * obj1 = 0 ;
d14a1e28 2973 char *kwnames[] = {
36ed4f51 2974 (char *) "self",(char *) "tabWidth", NULL
d14a1e28
RD
2975 };
2976
36ed4f51
RD
2977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail;
2978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2979 if (SWIG_arg_fail(1)) SWIG_fail;
2980 {
2981 arg2 = (int)(SWIG_As_int(obj1));
2982 if (SWIG_arg_fail(2)) SWIG_fail;
2983 }
d14a1e28
RD
2984 {
2985 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 2986 (arg1)->SetTabWidth(arg2);
d14a1e28
RD
2987
2988 wxPyEndAllowThreads(__tstate);
2989 if (PyErr_Occurred()) SWIG_fail;
2990 }
36ed4f51 2991 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
2992 return resultobj;
2993 fail:
2994 return NULL;
2995}
2996
2997
36ed4f51 2998static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2999 PyObject *resultobj;
3000 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 3001 int result;
d14a1e28
RD
3002 PyObject * obj0 = 0 ;
3003 char *kwnames[] = {
36ed4f51 3004 (char *) "self", NULL
d14a1e28
RD
3005 };
3006
36ed4f51
RD
3007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
3008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3009 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3010 {
3011 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3012 result = (int)(arg1)->GetTabWidth();
d14a1e28
RD
3013
3014 wxPyEndAllowThreads(__tstate);
3015 if (PyErr_Occurred()) SWIG_fail;
3016 }
36ed4f51
RD
3017 {
3018 resultobj = SWIG_From_int((int)(result));
3019 }
d14a1e28
RD
3020 return resultobj;
3021 fail:
3022 return NULL;
3023}
3024
3025
36ed4f51 3026static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3027 PyObject *resultobj;
3028 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3029 int arg2 ;
d14a1e28 3030 PyObject * obj0 = 0 ;
994141e6 3031 PyObject * obj1 = 0 ;
d14a1e28 3032 char *kwnames[] = {
36ed4f51 3033 (char *) "self",(char *) "codePage", NULL
d14a1e28
RD
3034 };
3035
36ed4f51
RD
3036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail;
3037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3038 if (SWIG_arg_fail(1)) SWIG_fail;
3039 {
3040 arg2 = (int)(SWIG_As_int(obj1));
3041 if (SWIG_arg_fail(2)) SWIG_fail;
3042 }
d14a1e28
RD
3043 {
3044 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3045 (arg1)->SetCodePage(arg2);
d14a1e28
RD
3046
3047 wxPyEndAllowThreads(__tstate);
3048 if (PyErr_Occurred()) SWIG_fail;
3049 }
36ed4f51 3050 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
3051 return resultobj;
3052 fail:
3053 return NULL;
3054}
3055
3056
36ed4f51 3057static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3058 PyObject *resultobj;
3059 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3060 int arg2 ;
3061 int arg3 ;
36ed4f51
RD
3062 wxColour const &arg4_defvalue = wxNullColour ;
3063 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
3064 wxColour const &arg5_defvalue = wxNullColour ;
3065 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
3066 wxColour temp4 ;
3067 wxColour temp5 ;
d14a1e28 3068 PyObject * obj0 = 0 ;
994141e6
RD
3069 PyObject * obj1 = 0 ;
3070 PyObject * obj2 = 0 ;
36ed4f51
RD
3071 PyObject * obj3 = 0 ;
3072 PyObject * obj4 = 0 ;
d14a1e28 3073 char *kwnames[] = {
36ed4f51 3074 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
d14a1e28
RD
3075 };
3076
36ed4f51
RD
3077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3079 if (SWIG_arg_fail(1)) SWIG_fail;
3080 {
3081 arg2 = (int)(SWIG_As_int(obj1));
3082 if (SWIG_arg_fail(2)) SWIG_fail;
3083 }
3084 {
3085 arg3 = (int)(SWIG_As_int(obj2));
3086 if (SWIG_arg_fail(3)) SWIG_fail;
3087 }
3088 if (obj3) {
3089 {
3090 arg4 = &temp4;
3091 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
3092 }
3093 }
3094 if (obj4) {
3095 {
3096 arg5 = &temp5;
3097 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
3098 }
3099 }
d14a1e28
RD
3100 {
3101 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3102 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
d14a1e28
RD
3103
3104 wxPyEndAllowThreads(__tstate);
3105 if (PyErr_Occurred()) SWIG_fail;
3106 }
3107 Py_INCREF(Py_None); resultobj = Py_None;
3108 return resultobj;
3109 fail:
3110 return NULL;
3111}
3112
3113
36ed4f51 3114static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3115 PyObject *resultobj;
3116 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3117 int arg2 ;
36ed4f51
RD
3118 wxColour *arg3 = 0 ;
3119 wxColour temp3 ;
d14a1e28 3120 PyObject * obj0 = 0 ;
994141e6 3121 PyObject * obj1 = 0 ;
36ed4f51 3122 PyObject * obj2 = 0 ;
d14a1e28 3123 char *kwnames[] = {
36ed4f51 3124 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
d14a1e28
RD
3125 };
3126
36ed4f51
RD
3127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3129 if (SWIG_arg_fail(1)) SWIG_fail;
3130 {
3131 arg2 = (int)(SWIG_As_int(obj1));
3132 if (SWIG_arg_fail(2)) SWIG_fail;
3133 }
3134 {
3135 arg3 = &temp3;
3136 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3137 }
d14a1e28
RD
3138 {
3139 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3140 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
d14a1e28
RD
3141
3142 wxPyEndAllowThreads(__tstate);
3143 if (PyErr_Occurred()) SWIG_fail;
3144 }
36ed4f51 3145 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
3146 return resultobj;
3147 fail:
3148 return NULL;
3149}
3150
3151
36ed4f51 3152static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3153 PyObject *resultobj;
3154 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3155 int arg2 ;
36ed4f51
RD
3156 wxColour *arg3 = 0 ;
3157 wxColour temp3 ;
d14a1e28 3158 PyObject * obj0 = 0 ;
994141e6 3159 PyObject * obj1 = 0 ;
d14a1e28
RD
3160 PyObject * obj2 = 0 ;
3161 char *kwnames[] = {
36ed4f51 3162 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
d14a1e28
RD
3163 };
3164
36ed4f51
RD
3165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3167 if (SWIG_arg_fail(1)) SWIG_fail;
3168 {
3169 arg2 = (int)(SWIG_As_int(obj1));
3170 if (SWIG_arg_fail(2)) SWIG_fail;
3171 }
3172 {
3173 arg3 = &temp3;
3174 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3175 }
d14a1e28
RD
3176 {
3177 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3178 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
d14a1e28
RD
3179
3180 wxPyEndAllowThreads(__tstate);
3181 if (PyErr_Occurred()) SWIG_fail;
3182 }
3183 Py_INCREF(Py_None); resultobj = Py_None;
3184 return resultobj;
3185 fail:
3186 return NULL;
3187}
3188
3189
36ed4f51 3190static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3191 PyObject *resultobj;
3192 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3193 int arg2 ;
36ed4f51
RD
3194 int arg3 ;
3195 int result;
d14a1e28 3196 PyObject * obj0 = 0 ;
994141e6 3197 PyObject * obj1 = 0 ;
36ed4f51 3198 PyObject * obj2 = 0 ;
d14a1e28 3199 char *kwnames[] = {
36ed4f51 3200 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
d14a1e28
RD
3201 };
3202
36ed4f51
RD
3203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail;
3204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3205 if (SWIG_arg_fail(1)) SWIG_fail;
3206 {
3207 arg2 = (int)(SWIG_As_int(obj1));
3208 if (SWIG_arg_fail(2)) SWIG_fail;
3209 }
3210 {
3211 arg3 = (int)(SWIG_As_int(obj2));
3212 if (SWIG_arg_fail(3)) SWIG_fail;
3213 }
d14a1e28
RD
3214 {
3215 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3216 result = (int)(arg1)->MarkerAdd(arg2,arg3);
d14a1e28
RD
3217
3218 wxPyEndAllowThreads(__tstate);
3219 if (PyErr_Occurred()) SWIG_fail;
3220 }
4f89f6a3 3221 {
36ed4f51 3222 resultobj = SWIG_From_int((int)(result));
4f89f6a3 3223 }
d14a1e28
RD
3224 return resultobj;
3225 fail:
3226 return NULL;
3227}
3228
3229
36ed4f51 3230static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3231 PyObject *resultobj;
3232 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
3233 int arg2 ;
3234 int arg3 ;
d14a1e28 3235 PyObject * obj0 = 0 ;
36ed4f51
RD
3236 PyObject * obj1 = 0 ;
3237 PyObject * obj2 = 0 ;
d14a1e28 3238 char *kwnames[] = {
36ed4f51 3239 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
d14a1e28
RD
3240 };
3241
36ed4f51
RD
3242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail;
3243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3244 if (SWIG_arg_fail(1)) SWIG_fail;
3245 {
3246 arg2 = (int)(SWIG_As_int(obj1));
3247 if (SWIG_arg_fail(2)) SWIG_fail;
3248 }
3249 {
3250 arg3 = (int)(SWIG_As_int(obj2));
3251 if (SWIG_arg_fail(3)) SWIG_fail;
3252 }
d14a1e28
RD
3253 {
3254 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3255 (arg1)->MarkerDelete(arg2,arg3);
d14a1e28
RD
3256
3257 wxPyEndAllowThreads(__tstate);
3258 if (PyErr_Occurred()) SWIG_fail;
3259 }
3260 Py_INCREF(Py_None); resultobj = Py_None;
3261 return resultobj;
3262 fail:
3263 return NULL;
3264}
3265
3266
36ed4f51 3267static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3268 PyObject *resultobj;
3269 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3270 int arg2 ;
d14a1e28 3271 PyObject * obj0 = 0 ;
994141e6 3272 PyObject * obj1 = 0 ;
d14a1e28 3273 char *kwnames[] = {
36ed4f51 3274 (char *) "self",(char *) "markerNumber", NULL
d14a1e28
RD
3275 };
3276
36ed4f51
RD
3277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail;
3278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3279 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 3280 {
36ed4f51
RD
3281 arg2 = (int)(SWIG_As_int(obj1));
3282 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3283 }
3284 {
3285 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3286 (arg1)->MarkerDeleteAll(arg2);
d14a1e28
RD
3287
3288 wxPyEndAllowThreads(__tstate);
3289 if (PyErr_Occurred()) SWIG_fail;
3290 }
3291 Py_INCREF(Py_None); resultobj = Py_None;
3292 return resultobj;
3293 fail:
3294 return NULL;
3295}
3296
3297
36ed4f51 3298static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3299 PyObject *resultobj;
3300 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3301 int arg2 ;
36ed4f51 3302 int result;
d14a1e28 3303 PyObject * obj0 = 0 ;
994141e6 3304 PyObject * obj1 = 0 ;
d14a1e28 3305 char *kwnames[] = {
36ed4f51 3306 (char *) "self",(char *) "line", NULL
d14a1e28
RD
3307 };
3308
36ed4f51
RD
3309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail;
3310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3311 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 3312 {
36ed4f51
RD
3313 arg2 = (int)(SWIG_As_int(obj1));
3314 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3315 }
3316 {
3317 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3318 result = (int)(arg1)->MarkerGet(arg2);
d14a1e28
RD
3319
3320 wxPyEndAllowThreads(__tstate);
3321 if (PyErr_Occurred()) SWIG_fail;
3322 }
36ed4f51
RD
3323 {
3324 resultobj = SWIG_From_int((int)(result));
3325 }
d14a1e28
RD
3326 return resultobj;
3327 fail:
3328 return NULL;
3329}
3330
3331
36ed4f51 3332static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3333 PyObject *resultobj;
3334 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3335 int arg2 ;
36ed4f51
RD
3336 int arg3 ;
3337 int result;
d14a1e28 3338 PyObject * obj0 = 0 ;
994141e6 3339 PyObject * obj1 = 0 ;
d14a1e28
RD
3340 PyObject * obj2 = 0 ;
3341 char *kwnames[] = {
36ed4f51 3342 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
d14a1e28
RD
3343 };
3344
36ed4f51
RD
3345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
3346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3347 if (SWIG_arg_fail(1)) SWIG_fail;
3348 {
3349 arg2 = (int)(SWIG_As_int(obj1));
3350 if (SWIG_arg_fail(2)) SWIG_fail;
3351 }
3352 {
3353 arg3 = (int)(SWIG_As_int(obj2));
3354 if (SWIG_arg_fail(3)) SWIG_fail;
3355 }
d14a1e28
RD
3356 {
3357 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3358 result = (int)(arg1)->MarkerNext(arg2,arg3);
d14a1e28
RD
3359
3360 wxPyEndAllowThreads(__tstate);
3361 if (PyErr_Occurred()) SWIG_fail;
3362 }
36ed4f51
RD
3363 {
3364 resultobj = SWIG_From_int((int)(result));
3365 }
d14a1e28
RD
3366 return resultobj;
3367 fail:
3368 return NULL;
3369}
3370
3371
36ed4f51 3372static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3373 PyObject *resultobj;
3374 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3375 int arg2 ;
36ed4f51
RD
3376 int arg3 ;
3377 int result;
d14a1e28 3378 PyObject * obj0 = 0 ;
994141e6 3379 PyObject * obj1 = 0 ;
d14a1e28
RD
3380 PyObject * obj2 = 0 ;
3381 char *kwnames[] = {
36ed4f51 3382 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
d14a1e28
RD
3383 };
3384
36ed4f51
RD
3385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail;
3386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3387 if (SWIG_arg_fail(1)) SWIG_fail;
3388 {
3389 arg2 = (int)(SWIG_As_int(obj1));
3390 if (SWIG_arg_fail(2)) SWIG_fail;
3391 }
3392 {
3393 arg3 = (int)(SWIG_As_int(obj2));
3394 if (SWIG_arg_fail(3)) SWIG_fail;
3395 }
d14a1e28
RD
3396 {
3397 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3398 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
d14a1e28
RD
3399
3400 wxPyEndAllowThreads(__tstate);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 }
36ed4f51
RD
3403 {
3404 resultobj = SWIG_From_int((int)(result));
3405 }
d14a1e28
RD
3406 return resultobj;
3407 fail:
3408 return NULL;
3409}
3410
3411
36ed4f51 3412static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3413 PyObject *resultobj;
3414 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3415 int arg2 ;
36ed4f51 3416 wxBitmap *arg3 = 0 ;
d14a1e28 3417 PyObject * obj0 = 0 ;
994141e6
RD
3418 PyObject * obj1 = 0 ;
3419 PyObject * obj2 = 0 ;
d14a1e28 3420 char *kwnames[] = {
36ed4f51 3421 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
d14a1e28
RD
3422 };
3423
36ed4f51
RD
3424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
3425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3426 if (SWIG_arg_fail(1)) SWIG_fail;
3427 {
3428 arg2 = (int)(SWIG_As_int(obj1));
3429 if (SWIG_arg_fail(2)) SWIG_fail;
3430 }
3431 {
3432 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3433 if (SWIG_arg_fail(3)) SWIG_fail;
3434 if (arg3 == NULL) {
3435 SWIG_null_ref("wxBitmap");
3436 }
3437 if (SWIG_arg_fail(3)) SWIG_fail;
3438 }
d14a1e28
RD
3439 {
3440 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3441 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
d14a1e28
RD
3442
3443 wxPyEndAllowThreads(__tstate);
3444 if (PyErr_Occurred()) SWIG_fail;
3445 }
3446 Py_INCREF(Py_None); resultobj = Py_None;
3447 return resultobj;
3448 fail:
3449 return NULL;
3450}
3451
3452
36ed4f51 3453static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3454 PyObject *resultobj;
3455 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3456 int arg2 ;
36ed4f51 3457 int arg3 ;
d14a1e28 3458 PyObject * obj0 = 0 ;
994141e6 3459 PyObject * obj1 = 0 ;
d14a1e28
RD
3460 PyObject * obj2 = 0 ;
3461 char *kwnames[] = {
36ed4f51 3462 (char *) "self",(char *) "margin",(char *) "marginType", NULL
d14a1e28
RD
3463 };
3464
36ed4f51
RD
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail;
3466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3467 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 3468 {
36ed4f51
RD
3469 arg2 = (int)(SWIG_As_int(obj1));
3470 if (SWIG_arg_fail(2)) SWIG_fail;
3471 }
3472 {
3473 arg3 = (int)(SWIG_As_int(obj2));
3474 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
3475 }
3476 {
3477 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3478 (arg1)->SetMarginType(arg2,arg3);
d14a1e28
RD
3479
3480 wxPyEndAllowThreads(__tstate);
3481 if (PyErr_Occurred()) SWIG_fail;
3482 }
3483 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
3484 return resultobj;
3485 fail:
d14a1e28
RD
3486 return NULL;
3487}
3488
3489
36ed4f51 3490static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3491 PyObject *resultobj;
3492 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3493 int arg2 ;
36ed4f51 3494 int result;
d14a1e28 3495 PyObject * obj0 = 0 ;
994141e6 3496 PyObject * obj1 = 0 ;
d14a1e28 3497 char *kwnames[] = {
36ed4f51 3498 (char *) "self",(char *) "margin", NULL
d14a1e28
RD
3499 };
3500
36ed4f51
RD
3501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail;
3502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3503 if (SWIG_arg_fail(1)) SWIG_fail;
3504 {
3505 arg2 = (int)(SWIG_As_int(obj1));
3506 if (SWIG_arg_fail(2)) SWIG_fail;
3507 }
d14a1e28
RD
3508 {
3509 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3510 result = (int)(arg1)->GetMarginType(arg2);
d14a1e28
RD
3511
3512 wxPyEndAllowThreads(__tstate);
3513 if (PyErr_Occurred()) SWIG_fail;
3514 }
36ed4f51
RD
3515 {
3516 resultobj = SWIG_From_int((int)(result));
3517 }
d14a1e28
RD
3518 return resultobj;
3519 fail:
3520 return NULL;
3521}
3522
3523
36ed4f51 3524static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3525 PyObject *resultobj;
3526 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
3527 int arg2 ;
3528 int arg3 ;
d14a1e28 3529 PyObject * obj0 = 0 ;
36ed4f51
RD
3530 PyObject * obj1 = 0 ;
3531 PyObject * obj2 = 0 ;
d14a1e28 3532 char *kwnames[] = {
36ed4f51 3533 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
d14a1e28
RD
3534 };
3535
36ed4f51
RD
3536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
3537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3538 if (SWIG_arg_fail(1)) SWIG_fail;
3539 {
3540 arg2 = (int)(SWIG_As_int(obj1));
3541 if (SWIG_arg_fail(2)) SWIG_fail;
3542 }
3543 {
3544 arg3 = (int)(SWIG_As_int(obj2));
3545 if (SWIG_arg_fail(3)) SWIG_fail;
3546 }
d14a1e28
RD
3547 {
3548 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3549 (arg1)->SetMarginWidth(arg2,arg3);
d14a1e28
RD
3550
3551 wxPyEndAllowThreads(__tstate);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
3554 Py_INCREF(Py_None); resultobj = Py_None;
3555 return resultobj;
3556 fail:
3557 return NULL;
3558}
3559
3560
36ed4f51 3561static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3562 PyObject *resultobj;
3563 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3564 int arg2 ;
36ed4f51 3565 int result;
d14a1e28 3566 PyObject * obj0 = 0 ;
994141e6 3567 PyObject * obj1 = 0 ;
d14a1e28 3568 char *kwnames[] = {
36ed4f51 3569 (char *) "self",(char *) "margin", NULL
d14a1e28
RD
3570 };
3571
36ed4f51
RD
3572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
3573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3574 if (SWIG_arg_fail(1)) SWIG_fail;
3575 {
3576 arg2 = (int)(SWIG_As_int(obj1));
3577 if (SWIG_arg_fail(2)) SWIG_fail;
3578 }
d14a1e28
RD
3579 {
3580 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3581 result = (int)(arg1)->GetMarginWidth(arg2);
d14a1e28
RD
3582
3583 wxPyEndAllowThreads(__tstate);
3584 if (PyErr_Occurred()) SWIG_fail;
3585 }
36ed4f51
RD
3586 {
3587 resultobj = SWIG_From_int((int)(result));
3588 }
d14a1e28
RD
3589 return resultobj;
3590 fail:
3591 return NULL;
3592}
3593
3594
36ed4f51 3595static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3596 PyObject *resultobj;
3597 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3598 int arg2 ;
3599 int arg3 ;
3600 PyObject * obj0 = 0 ;
994141e6
RD
3601 PyObject * obj1 = 0 ;
3602 PyObject * obj2 = 0 ;
d14a1e28 3603 char *kwnames[] = {
36ed4f51 3604 (char *) "self",(char *) "margin",(char *) "mask", NULL
d14a1e28
RD
3605 };
3606
36ed4f51
RD
3607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
3608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3609 if (SWIG_arg_fail(1)) SWIG_fail;
3610 {
3611 arg2 = (int)(SWIG_As_int(obj1));
3612 if (SWIG_arg_fail(2)) SWIG_fail;
3613 }
3614 {
3615 arg3 = (int)(SWIG_As_int(obj2));
3616 if (SWIG_arg_fail(3)) SWIG_fail;
3617 }
d14a1e28
RD
3618 {
3619 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3620 (arg1)->SetMarginMask(arg2,arg3);
d14a1e28
RD
3621
3622 wxPyEndAllowThreads(__tstate);
3623 if (PyErr_Occurred()) SWIG_fail;
3624 }
3625 Py_INCREF(Py_None); resultobj = Py_None;
3626 return resultobj;
3627 fail:
3628 return NULL;
3629}
3630
3631
36ed4f51 3632static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3633 PyObject *resultobj;
3634 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3635 int arg2 ;
36ed4f51 3636 int result;
d14a1e28 3637 PyObject * obj0 = 0 ;
994141e6 3638 PyObject * obj1 = 0 ;
d14a1e28 3639 char *kwnames[] = {
36ed4f51 3640 (char *) "self",(char *) "margin", NULL
d14a1e28
RD
3641 };
3642
36ed4f51
RD
3643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail;
3644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3645 if (SWIG_arg_fail(1)) SWIG_fail;
3646 {
3647 arg2 = (int)(SWIG_As_int(obj1));
3648 if (SWIG_arg_fail(2)) SWIG_fail;
3649 }
d14a1e28
RD
3650 {
3651 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3652 result = (int)(arg1)->GetMarginMask(arg2);
d14a1e28
RD
3653
3654 wxPyEndAllowThreads(__tstate);
3655 if (PyErr_Occurred()) SWIG_fail;
3656 }
36ed4f51
RD
3657 {
3658 resultobj = SWIG_From_int((int)(result));
3659 }
d14a1e28
RD
3660 return resultobj;
3661 fail:
3662 return NULL;
3663}
3664
3665
36ed4f51 3666static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3667 PyObject *resultobj;
3668 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3669 int arg2 ;
3670 bool arg3 ;
3671 PyObject * obj0 = 0 ;
994141e6 3672 PyObject * obj1 = 0 ;
d14a1e28
RD
3673 PyObject * obj2 = 0 ;
3674 char *kwnames[] = {
36ed4f51 3675 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
d14a1e28
RD
3676 };
3677
36ed4f51
RD
3678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail;
3679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3680 if (SWIG_arg_fail(1)) SWIG_fail;
3681 {
3682 arg2 = (int)(SWIG_As_int(obj1));
3683 if (SWIG_arg_fail(2)) SWIG_fail;
3684 }
3685 {
3686 arg3 = (bool)(SWIG_As_bool(obj2));
3687 if (SWIG_arg_fail(3)) SWIG_fail;
3688 }
d14a1e28
RD
3689 {
3690 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3691 (arg1)->SetMarginSensitive(arg2,arg3);
d14a1e28
RD
3692
3693 wxPyEndAllowThreads(__tstate);
3694 if (PyErr_Occurred()) SWIG_fail;
3695 }
3696 Py_INCREF(Py_None); resultobj = Py_None;
3697 return resultobj;
3698 fail:
3699 return NULL;
3700}
3701
3702
36ed4f51 3703static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3704 PyObject *resultobj;
3705 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
3706 int arg2 ;
3707 bool result;
d14a1e28
RD
3708 PyObject * obj0 = 0 ;
3709 PyObject * obj1 = 0 ;
d14a1e28 3710 char *kwnames[] = {
36ed4f51 3711 (char *) "self",(char *) "margin", NULL
d14a1e28
RD
3712 };
3713
36ed4f51
RD
3714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail;
3715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3716 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 3717 {
36ed4f51
RD
3718 arg2 = (int)(SWIG_As_int(obj1));
3719 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3720 }
3721 {
3722 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51
RD
3723 result = (bool)(arg1)->GetMarginSensitive(arg2);
3724
3725 wxPyEndAllowThreads(__tstate);
3726 if (PyErr_Occurred()) SWIG_fail;
3727 }
3728 {
3729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3730 }
3731 return resultobj;
3732 fail:
3733 return NULL;
3734}
3735
3736
3737static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
3738 PyObject *resultobj;
3739 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3740 PyObject * obj0 = 0 ;
3741 char *kwnames[] = {
3742 (char *) "self", NULL
3743 };
3744
3745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
3746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3747 if (SWIG_arg_fail(1)) SWIG_fail;
3748 {
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 (arg1)->StyleClearAll();
d14a1e28
RD
3751
3752 wxPyEndAllowThreads(__tstate);
3753 if (PyErr_Occurred()) SWIG_fail;
3754 }
3755 Py_INCREF(Py_None); resultobj = Py_None;
3756 return resultobj;
3757 fail:
3758 return NULL;
3759}
3760
3761
36ed4f51 3762static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3763 PyObject *resultobj;
3764 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 3765 int arg2 ;
d14a1e28
RD
3766 wxColour *arg3 = 0 ;
3767 wxColour temp3 ;
3768 PyObject * obj0 = 0 ;
3769 PyObject * obj1 = 0 ;
3770 PyObject * obj2 = 0 ;
3771 char *kwnames[] = {
36ed4f51 3772 (char *) "self",(char *) "style",(char *) "fore", NULL
d14a1e28
RD
3773 };
3774
36ed4f51
RD
3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3777 if (SWIG_arg_fail(1)) SWIG_fail;
3778 {
3779 arg2 = (int)(SWIG_As_int(obj1));
3780 if (SWIG_arg_fail(2)) SWIG_fail;
3781 }
d14a1e28
RD
3782 {
3783 arg3 = &temp3;
3784 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3785 }
3786 {
3787 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3788 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
d14a1e28
RD
3789
3790 wxPyEndAllowThreads(__tstate);
3791 if (PyErr_Occurred()) SWIG_fail;
3792 }
3793 Py_INCREF(Py_None); resultobj = Py_None;
3794 return resultobj;
3795 fail:
3796 return NULL;
3797}
3798
3799
36ed4f51 3800static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3801 PyObject *resultobj;
3802 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
3803 int arg2 ;
3804 wxColour *arg3 = 0 ;
3805 wxColour temp3 ;
d14a1e28
RD
3806 PyObject * obj0 = 0 ;
3807 PyObject * obj1 = 0 ;
36ed4f51 3808 PyObject * obj2 = 0 ;
d14a1e28 3809 char *kwnames[] = {
36ed4f51 3810 (char *) "self",(char *) "style",(char *) "back", NULL
d14a1e28
RD
3811 };
3812
36ed4f51
RD
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3815 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 3816 {
36ed4f51
RD
3817 arg2 = (int)(SWIG_As_int(obj1));
3818 if (SWIG_arg_fail(2)) SWIG_fail;
3819 }
3820 {
3821 arg3 = &temp3;
3822 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
d14a1e28
RD
3823 }
3824 {
3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3826 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
d14a1e28
RD
3827
3828 wxPyEndAllowThreads(__tstate);
3829 if (PyErr_Occurred()) SWIG_fail;
3830 }
3831 Py_INCREF(Py_None); resultobj = Py_None;
3832 return resultobj;
3833 fail:
3834 return NULL;
3835}
3836
3837
36ed4f51 3838static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3839 PyObject *resultobj;
3840 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3841 int arg2 ;
36ed4f51 3842 bool arg3 ;
d14a1e28 3843 PyObject * obj0 = 0 ;
994141e6
RD
3844 PyObject * obj1 = 0 ;
3845 PyObject * obj2 = 0 ;
d14a1e28 3846 char *kwnames[] = {
36ed4f51 3847 (char *) "self",(char *) "style",(char *) "bold", NULL
d14a1e28
RD
3848 };
3849
36ed4f51
RD
3850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
3851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3852 if (SWIG_arg_fail(1)) SWIG_fail;
3853 {
3854 arg2 = (int)(SWIG_As_int(obj1));
3855 if (SWIG_arg_fail(2)) SWIG_fail;
3856 }
3857 {
3858 arg3 = (bool)(SWIG_As_bool(obj2));
3859 if (SWIG_arg_fail(3)) SWIG_fail;
3860 }
d14a1e28
RD
3861 {
3862 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3863 (arg1)->StyleSetBold(arg2,arg3);
d14a1e28
RD
3864
3865 wxPyEndAllowThreads(__tstate);
3866 if (PyErr_Occurred()) SWIG_fail;
3867 }
3868 Py_INCREF(Py_None); resultobj = Py_None;
3869 return resultobj;
3870 fail:
3871 return NULL;
3872}
3873
3874
36ed4f51 3875static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3876 PyObject *resultobj;
3877 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3878 int arg2 ;
36ed4f51 3879 bool arg3 ;
d14a1e28 3880 PyObject * obj0 = 0 ;
994141e6
RD
3881 PyObject * obj1 = 0 ;
3882 PyObject * obj2 = 0 ;
d14a1e28 3883 char *kwnames[] = {
36ed4f51 3884 (char *) "self",(char *) "style",(char *) "italic", NULL
d14a1e28
RD
3885 };
3886
36ed4f51
RD
3887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail;
3888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3889 if (SWIG_arg_fail(1)) SWIG_fail;
3890 {
3891 arg2 = (int)(SWIG_As_int(obj1));
3892 if (SWIG_arg_fail(2)) SWIG_fail;
3893 }
3894 {
3895 arg3 = (bool)(SWIG_As_bool(obj2));
3896 if (SWIG_arg_fail(3)) SWIG_fail;
3897 }
d14a1e28
RD
3898 {
3899 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3900 (arg1)->StyleSetItalic(arg2,arg3);
d14a1e28
RD
3901
3902 wxPyEndAllowThreads(__tstate);
3903 if (PyErr_Occurred()) SWIG_fail;
3904 }
3905 Py_INCREF(Py_None); resultobj = Py_None;
3906 return resultobj;
3907 fail:
3908 return NULL;
3909}
3910
3911
36ed4f51 3912static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3913 PyObject *resultobj;
3914 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
3915 int arg2 ;
3916 int arg3 ;
d14a1e28 3917 PyObject * obj0 = 0 ;
36ed4f51
RD
3918 PyObject * obj1 = 0 ;
3919 PyObject * obj2 = 0 ;
d14a1e28 3920 char *kwnames[] = {
36ed4f51 3921 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
d14a1e28
RD
3922 };
3923
36ed4f51
RD
3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3926 if (SWIG_arg_fail(1)) SWIG_fail;
3927 {
3928 arg2 = (int)(SWIG_As_int(obj1));
3929 if (SWIG_arg_fail(2)) SWIG_fail;
3930 }
3931 {
3932 arg3 = (int)(SWIG_As_int(obj2));
3933 if (SWIG_arg_fail(3)) SWIG_fail;
3934 }
d14a1e28
RD
3935 {
3936 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3937 (arg1)->StyleSetSize(arg2,arg3);
d14a1e28
RD
3938
3939 wxPyEndAllowThreads(__tstate);
3940 if (PyErr_Occurred()) SWIG_fail;
3941 }
3942 Py_INCREF(Py_None); resultobj = Py_None;
3943 return resultobj;
3944 fail:
3945 return NULL;
3946}
3947
3948
36ed4f51 3949static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3950 PyObject *resultobj;
3951 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3952 int arg2 ;
36ed4f51
RD
3953 wxString *arg3 = 0 ;
3954 bool temp3 = false ;
d14a1e28 3955 PyObject * obj0 = 0 ;
994141e6
RD
3956 PyObject * obj1 = 0 ;
3957 PyObject * obj2 = 0 ;
d14a1e28 3958 char *kwnames[] = {
36ed4f51 3959 (char *) "self",(char *) "style",(char *) "fontName", NULL
d14a1e28
RD
3960 };
3961
36ed4f51
RD
3962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail;
3963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3964 if (SWIG_arg_fail(1)) SWIG_fail;
3965 {
3966 arg2 = (int)(SWIG_As_int(obj1));
3967 if (SWIG_arg_fail(2)) SWIG_fail;
3968 }
3969 {
3970 arg3 = wxString_in_helper(obj2);
3971 if (arg3 == NULL) SWIG_fail;
3972 temp3 = true;
3973 }
d14a1e28
RD
3974 {
3975 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3976 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
d14a1e28
RD
3977
3978 wxPyEndAllowThreads(__tstate);
3979 if (PyErr_Occurred()) SWIG_fail;
3980 }
3981 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51
RD
3982 {
3983 if (temp3)
3984 delete arg3;
3985 }
d14a1e28
RD
3986 return resultobj;
3987 fail:
36ed4f51
RD
3988 {
3989 if (temp3)
3990 delete arg3;
3991 }
d14a1e28
RD
3992 return NULL;
3993}
3994
3995
36ed4f51 3996static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3997 PyObject *resultobj;
3998 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3999 int arg2 ;
4000 bool arg3 ;
4001 PyObject * obj0 = 0 ;
994141e6 4002 PyObject * obj1 = 0 ;
d14a1e28
RD
4003 PyObject * obj2 = 0 ;
4004 char *kwnames[] = {
36ed4f51 4005 (char *) "self",(char *) "style",(char *) "filled", NULL
d14a1e28
RD
4006 };
4007
36ed4f51
RD
4008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail;
4009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4010 if (SWIG_arg_fail(1)) SWIG_fail;
4011 {
4012 arg2 = (int)(SWIG_As_int(obj1));
4013 if (SWIG_arg_fail(2)) SWIG_fail;
4014 }
4015 {
4016 arg3 = (bool)(SWIG_As_bool(obj2));
4017 if (SWIG_arg_fail(3)) SWIG_fail;
4018 }
d14a1e28
RD
4019 {
4020 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4021 (arg1)->StyleSetEOLFilled(arg2,arg3);
d14a1e28
RD
4022
4023 wxPyEndAllowThreads(__tstate);
4024 if (PyErr_Occurred()) SWIG_fail;
4025 }
4026 Py_INCREF(Py_None); resultobj = Py_None;
4027 return resultobj;
4028 fail:
4029 return NULL;
4030}
4031
4032
36ed4f51 4033static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4034 PyObject *resultobj;
4035 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
4036 PyObject * obj0 = 0 ;
4037 char *kwnames[] = {
4038 (char *) "self", NULL
4039 };
4040
36ed4f51
RD
4041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
4042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4043 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4044 {
4045 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4046 (arg1)->StyleResetDefault();
d14a1e28
RD
4047
4048 wxPyEndAllowThreads(__tstate);
4049 if (PyErr_Occurred()) SWIG_fail;
4050 }
36ed4f51 4051 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4052 return resultobj;
4053 fail:
4054 return NULL;
4055}
4056
4057
36ed4f51 4058static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4059 PyObject *resultobj;
4060 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4061 int arg2 ;
36ed4f51 4062 bool arg3 ;
d14a1e28 4063 PyObject * obj0 = 0 ;
994141e6 4064 PyObject * obj1 = 0 ;
36ed4f51 4065 PyObject * obj2 = 0 ;
d14a1e28 4066 char *kwnames[] = {
36ed4f51 4067 (char *) "self",(char *) "style",(char *) "underline", NULL
d14a1e28
RD
4068 };
4069
36ed4f51
RD
4070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail;
4071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4072 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4073 {
36ed4f51
RD
4074 arg2 = (int)(SWIG_As_int(obj1));
4075 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 4076 }
d14a1e28 4077 {
36ed4f51
RD
4078 arg3 = (bool)(SWIG_As_bool(obj2));
4079 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
4080 }
4081 {
4082 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4083 (arg1)->StyleSetUnderline(arg2,arg3);
d14a1e28
RD
4084
4085 wxPyEndAllowThreads(__tstate);
4086 if (PyErr_Occurred()) SWIG_fail;
4087 }
4088 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4089 return resultobj;
4090 fail:
d14a1e28
RD
4091 return NULL;
4092}
4093
4094
36ed4f51 4095static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4096 PyObject *resultobj;
4097 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4098 int arg2 ;
4099 int arg3 ;
d14a1e28 4100 PyObject * obj0 = 0 ;
36ed4f51
RD
4101 PyObject * obj1 = 0 ;
4102 PyObject * obj2 = 0 ;
d14a1e28 4103 char *kwnames[] = {
36ed4f51 4104 (char *) "self",(char *) "style",(char *) "caseForce", NULL
d14a1e28
RD
4105 };
4106
36ed4f51
RD
4107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail;
4108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4109 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4110 {
36ed4f51
RD
4111 arg2 = (int)(SWIG_As_int(obj1));
4112 if (SWIG_arg_fail(2)) SWIG_fail;
4113 }
4114 {
4115 arg3 = (int)(SWIG_As_int(obj2));
4116 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28 4117 }
d14a1e28
RD
4118 {
4119 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4120 (arg1)->StyleSetCase(arg2,arg3);
d14a1e28
RD
4121
4122 wxPyEndAllowThreads(__tstate);
4123 if (PyErr_Occurred()) SWIG_fail;
4124 }
4125 Py_INCREF(Py_None); resultobj = Py_None;
4126 return resultobj;
4127 fail:
4128 return NULL;
4129}
4130
4131
36ed4f51 4132static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4133 PyObject *resultobj;
4134 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4135 int arg2 ;
36ed4f51 4136 bool arg3 ;
d14a1e28 4137 PyObject * obj0 = 0 ;
994141e6 4138 PyObject * obj1 = 0 ;
36ed4f51 4139 PyObject * obj2 = 0 ;
d14a1e28 4140 char *kwnames[] = {
36ed4f51 4141 (char *) "self",(char *) "style",(char *) "hotspot", NULL
d14a1e28
RD
4142 };
4143
36ed4f51
RD
4144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail;
4145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4146 if (SWIG_arg_fail(1)) SWIG_fail;
4147 {
4148 arg2 = (int)(SWIG_As_int(obj1));
4149 if (SWIG_arg_fail(2)) SWIG_fail;
4150 }
4151 {
4152 arg3 = (bool)(SWIG_As_bool(obj2));
4153 if (SWIG_arg_fail(3)) SWIG_fail;
4154 }
d14a1e28
RD
4155 {
4156 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4157 (arg1)->StyleSetHotSpot(arg2,arg3);
d14a1e28
RD
4158
4159 wxPyEndAllowThreads(__tstate);
4160 if (PyErr_Occurred()) SWIG_fail;
4161 }
36ed4f51 4162 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4163 return resultobj;
4164 fail:
4165 return NULL;
4166}
4167
4168
36ed4f51 4169static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4170 PyObject *resultobj;
4171 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 4172 bool arg2 ;
d14a1e28
RD
4173 wxColour *arg3 = 0 ;
4174 wxColour temp3 ;
4175 PyObject * obj0 = 0 ;
994141e6 4176 PyObject * obj1 = 0 ;
d14a1e28
RD
4177 PyObject * obj2 = 0 ;
4178 char *kwnames[] = {
36ed4f51 4179 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
d14a1e28
RD
4180 };
4181
36ed4f51
RD
4182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4184 if (SWIG_arg_fail(1)) SWIG_fail;
4185 {
4186 arg2 = (bool)(SWIG_As_bool(obj1));
4187 if (SWIG_arg_fail(2)) SWIG_fail;
4188 }
d14a1e28
RD
4189 {
4190 arg3 = &temp3;
4191 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4192 }
4193 {
4194 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4195 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
d14a1e28
RD
4196
4197 wxPyEndAllowThreads(__tstate);
4198 if (PyErr_Occurred()) SWIG_fail;
4199 }
4200 Py_INCREF(Py_None); resultobj = Py_None;
4201 return resultobj;
4202 fail:
4203 return NULL;
4204}
4205
4206
36ed4f51 4207static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4208 PyObject *resultobj;
4209 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4210 bool arg2 ;
4211 wxColour *arg3 = 0 ;
4212 wxColour temp3 ;
d14a1e28 4213 PyObject * obj0 = 0 ;
994141e6 4214 PyObject * obj1 = 0 ;
36ed4f51 4215 PyObject * obj2 = 0 ;
d14a1e28 4216 char *kwnames[] = {
36ed4f51 4217 (char *) "self",(char *) "useSetting",(char *) "back", NULL
d14a1e28
RD
4218 };
4219
36ed4f51
RD
4220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4222 if (SWIG_arg_fail(1)) SWIG_fail;
4223 {
4224 arg2 = (bool)(SWIG_As_bool(obj1));
4225 if (SWIG_arg_fail(2)) SWIG_fail;
4226 }
4227 {
4228 arg3 = &temp3;
4229 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4230 }
d14a1e28
RD
4231 {
4232 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4233 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
d14a1e28
RD
4234
4235 wxPyEndAllowThreads(__tstate);
4236 if (PyErr_Occurred()) SWIG_fail;
4237 }
36ed4f51 4238 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4239 return resultobj;
4240 fail:
4241 return NULL;
4242}
4243
4244
36ed4f51 4245static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4246 PyObject *resultobj;
4247 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4248 wxColour *arg2 = 0 ;
4249 wxColour temp2 ;
d14a1e28
RD
4250 PyObject * obj0 = 0 ;
4251 PyObject * obj1 = 0 ;
d14a1e28 4252 char *kwnames[] = {
36ed4f51 4253 (char *) "self",(char *) "fore", NULL
d14a1e28
RD
4254 };
4255
36ed4f51
RD
4256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
4257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4258 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4259 {
36ed4f51
RD
4260 arg2 = &temp2;
4261 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d14a1e28
RD
4262 }
4263 {
4264 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4265 (arg1)->SetCaretForeground((wxColour const &)*arg2);
d14a1e28
RD
4266
4267 wxPyEndAllowThreads(__tstate);
4268 if (PyErr_Occurred()) SWIG_fail;
4269 }
4270 Py_INCREF(Py_None); resultobj = Py_None;
4271 return resultobj;
4272 fail:
4273 return NULL;
4274}
4275
4276
36ed4f51 4277static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4278 PyObject *resultobj;
4279 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4280 int arg2 ;
4281 int arg3 ;
4282 int arg4 ;
d14a1e28
RD
4283 PyObject * obj0 = 0 ;
4284 PyObject * obj1 = 0 ;
4285 PyObject * obj2 = 0 ;
36ed4f51 4286 PyObject * obj3 = 0 ;
d14a1e28 4287 char *kwnames[] = {
36ed4f51 4288 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
d14a1e28
RD
4289 };
4290
36ed4f51
RD
4291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4293 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4294 {
36ed4f51
RD
4295 arg2 = (int)(SWIG_As_int(obj1));
4296 if (SWIG_arg_fail(2)) SWIG_fail;
4297 }
4298 {
4299 arg3 = (int)(SWIG_As_int(obj2));
4300 if (SWIG_arg_fail(3)) SWIG_fail;
4301 }
4302 {
4303 arg4 = (int)(SWIG_As_int(obj3));
4304 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
4305 }
4306 {
4307 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4308 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
d14a1e28
RD
4309
4310 wxPyEndAllowThreads(__tstate);
4311 if (PyErr_Occurred()) SWIG_fail;
4312 }
4313 Py_INCREF(Py_None); resultobj = Py_None;
4314 return resultobj;
4315 fail:
4316 return NULL;
4317}
4318
4319
36ed4f51 4320static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4321 PyObject *resultobj;
4322 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4323 int arg2 ;
36ed4f51 4324 int arg3 ;
d14a1e28 4325 PyObject * obj0 = 0 ;
994141e6 4326 PyObject * obj1 = 0 ;
36ed4f51 4327 PyObject * obj2 = 0 ;
d14a1e28 4328 char *kwnames[] = {
36ed4f51 4329 (char *) "self",(char *) "key",(char *) "modifiers", NULL
d14a1e28
RD
4330 };
4331
36ed4f51
RD
4332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail;
4333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4334 if (SWIG_arg_fail(1)) SWIG_fail;
4335 {
4336 arg2 = (int)(SWIG_As_int(obj1));
4337 if (SWIG_arg_fail(2)) SWIG_fail;
4338 }
4339 {
4340 arg3 = (int)(SWIG_As_int(obj2));
4341 if (SWIG_arg_fail(3)) SWIG_fail;
4342 }
d14a1e28
RD
4343 {
4344 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4345 (arg1)->CmdKeyClear(arg2,arg3);
d14a1e28
RD
4346
4347 wxPyEndAllowThreads(__tstate);
4348 if (PyErr_Occurred()) SWIG_fail;
4349 }
4350 Py_INCREF(Py_None); resultobj = Py_None;
4351 return resultobj;
4352 fail:
4353 return NULL;
4354}
4355
4356
36ed4f51 4357static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4358 PyObject *resultobj;
4359 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
4360 PyObject * obj0 = 0 ;
4361 char *kwnames[] = {
4362 (char *) "self", NULL
4363 };
4364
36ed4f51
RD
4365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
4366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4367 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4368 {
4369 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4370 (arg1)->CmdKeyClearAll();
d14a1e28
RD
4371
4372 wxPyEndAllowThreads(__tstate);
4373 if (PyErr_Occurred()) SWIG_fail;
4374 }
36ed4f51 4375 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4376 return resultobj;
4377 fail:
4378 return NULL;
4379}
4380
4381
36ed4f51 4382static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4383 PyObject *resultobj;
4384 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4385 int arg2 ;
36ed4f51 4386 char *arg3 = (char *) 0 ;
d14a1e28 4387 PyObject * obj0 = 0 ;
994141e6
RD
4388 PyObject * obj1 = 0 ;
4389 PyObject * obj2 = 0 ;
d14a1e28 4390 char *kwnames[] = {
36ed4f51 4391 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
d14a1e28
RD
4392 };
4393
36ed4f51
RD
4394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail;
4395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4396 if (SWIG_arg_fail(1)) SWIG_fail;
4397 {
4398 arg2 = (int)(SWIG_As_int(obj1));
4399 if (SWIG_arg_fail(2)) SWIG_fail;
4400 }
4401 if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) {
4402 SWIG_arg_fail(3);SWIG_fail;
4403 }
d14a1e28
RD
4404 {
4405 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4406 (arg1)->SetStyleBytes(arg2,arg3);
d14a1e28
RD
4407
4408 wxPyEndAllowThreads(__tstate);
4409 if (PyErr_Occurred()) SWIG_fail;
4410 }
4411 Py_INCREF(Py_None); resultobj = Py_None;
4412 return resultobj;
4413 fail:
4414 return NULL;
4415}
4416
4417
36ed4f51 4418static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4419 PyObject *resultobj;
4420 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4421 int arg2 ;
36ed4f51 4422 bool arg3 ;
d14a1e28 4423 PyObject * obj0 = 0 ;
994141e6 4424 PyObject * obj1 = 0 ;
36ed4f51 4425 PyObject * obj2 = 0 ;
d14a1e28 4426 char *kwnames[] = {
36ed4f51 4427 (char *) "self",(char *) "style",(char *) "visible", NULL
d14a1e28
RD
4428 };
4429
36ed4f51
RD
4430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
4431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4432 if (SWIG_arg_fail(1)) SWIG_fail;
4433 {
4434 arg2 = (int)(SWIG_As_int(obj1));
4435 if (SWIG_arg_fail(2)) SWIG_fail;
4436 }
4437 {
4438 arg3 = (bool)(SWIG_As_bool(obj2));
4439 if (SWIG_arg_fail(3)) SWIG_fail;
4440 }
d14a1e28
RD
4441 {
4442 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4443 (arg1)->StyleSetVisible(arg2,arg3);
d14a1e28
RD
4444
4445 wxPyEndAllowThreads(__tstate);
4446 if (PyErr_Occurred()) SWIG_fail;
4447 }
36ed4f51 4448 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4449 return resultobj;
4450 fail:
4451 return NULL;
4452}
4453
4454
36ed4f51 4455static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4456 PyObject *resultobj;
4457 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4458 int result;
4459 PyObject * obj0 = 0 ;
4460 char *kwnames[] = {
4461 (char *) "self", NULL
4462 };
4463
36ed4f51
RD
4464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
4465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4466 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4467 {
4468 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4469 result = (int)(arg1)->GetCaretPeriod();
d14a1e28
RD
4470
4471 wxPyEndAllowThreads(__tstate);
4472 if (PyErr_Occurred()) SWIG_fail;
4473 }
36ed4f51
RD
4474 {
4475 resultobj = SWIG_From_int((int)(result));
4476 }
d14a1e28
RD
4477 return resultobj;
4478 fail:
4479 return NULL;
4480}
4481
4482
36ed4f51 4483static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4484 PyObject *resultobj;
4485 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 4486 int arg2 ;
d14a1e28 4487 PyObject * obj0 = 0 ;
36ed4f51 4488 PyObject * obj1 = 0 ;
d14a1e28 4489 char *kwnames[] = {
36ed4f51 4490 (char *) "self",(char *) "periodMilliseconds", NULL
d14a1e28
RD
4491 };
4492
36ed4f51
RD
4493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail;
4494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4495 if (SWIG_arg_fail(1)) SWIG_fail;
4496 {
4497 arg2 = (int)(SWIG_As_int(obj1));
4498 if (SWIG_arg_fail(2)) SWIG_fail;
4499 }
d14a1e28
RD
4500 {
4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4502 (arg1)->SetCaretPeriod(arg2);
d14a1e28
RD
4503
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
36ed4f51 4507 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4508 return resultobj;
4509 fail:
4510 return NULL;
4511}
4512
4513
36ed4f51 4514static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4515 PyObject *resultobj;
4516 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4517 wxString *arg2 = 0 ;
4518 bool temp2 = false ;
d14a1e28
RD
4519 PyObject * obj0 = 0 ;
4520 PyObject * obj1 = 0 ;
4521 char *kwnames[] = {
36ed4f51 4522 (char *) "self",(char *) "characters", NULL
d14a1e28
RD
4523 };
4524
36ed4f51
RD
4525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
4526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4527 if (SWIG_arg_fail(1)) SWIG_fail;
4528 {
4529 arg2 = wxString_in_helper(obj1);
4530 if (arg2 == NULL) SWIG_fail;
4531 temp2 = true;
4532 }
d14a1e28
RD
4533 {
4534 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4535 (arg1)->SetWordChars((wxString const &)*arg2);
d14a1e28
RD
4536
4537 wxPyEndAllowThreads(__tstate);
4538 if (PyErr_Occurred()) SWIG_fail;
4539 }
4540 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51
RD
4541 {
4542 if (temp2)
4543 delete arg2;
4544 }
d14a1e28
RD
4545 return resultobj;
4546 fail:
36ed4f51
RD
4547 {
4548 if (temp2)
4549 delete arg2;
4550 }
d14a1e28
RD
4551 return NULL;
4552}
4553
4554
36ed4f51 4555static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4556 PyObject *resultobj;
4557 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
4558 PyObject * obj0 = 0 ;
4559 char *kwnames[] = {
4560 (char *) "self", NULL
4561 };
4562
36ed4f51
RD
4563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
4564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4565 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4566 {
4567 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4568 (arg1)->BeginUndoAction();
d14a1e28
RD
4569
4570 wxPyEndAllowThreads(__tstate);
4571 if (PyErr_Occurred()) SWIG_fail;
4572 }
36ed4f51 4573 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4574 return resultobj;
4575 fail:
4576 return NULL;
4577}
4578
4579
36ed4f51 4580static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4581 PyObject *resultobj;
4582 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 4583 PyObject * obj0 = 0 ;
d14a1e28 4584 char *kwnames[] = {
36ed4f51 4585 (char *) "self", NULL
d14a1e28
RD
4586 };
4587
36ed4f51
RD
4588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
4589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4590 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4591 {
4592 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4593 (arg1)->EndUndoAction();
d14a1e28
RD
4594
4595 wxPyEndAllowThreads(__tstate);
4596 if (PyErr_Occurred()) SWIG_fail;
4597 }
4598 Py_INCREF(Py_None); resultobj = Py_None;
4599 return resultobj;
4600 fail:
4601 return NULL;
4602}
4603
4604
36ed4f51 4605static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4606 PyObject *resultobj;
4607 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4608 int arg2 ;
36ed4f51 4609 int arg3 ;
d14a1e28 4610 PyObject * obj0 = 0 ;
994141e6 4611 PyObject * obj1 = 0 ;
d14a1e28
RD
4612 PyObject * obj2 = 0 ;
4613 char *kwnames[] = {
36ed4f51 4614 (char *) "self",(char *) "indic",(char *) "style", NULL
d14a1e28
RD
4615 };
4616
36ed4f51
RD
4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
4618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4619 if (SWIG_arg_fail(1)) SWIG_fail;
4620 {
4621 arg2 = (int)(SWIG_As_int(obj1));
4622 if (SWIG_arg_fail(2)) SWIG_fail;
4623 }
4624 {
4625 arg3 = (int)(SWIG_As_int(obj2));
4626 if (SWIG_arg_fail(3)) SWIG_fail;
4627 }
d14a1e28
RD
4628 {
4629 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4630 (arg1)->IndicatorSetStyle(arg2,arg3);
d14a1e28
RD
4631
4632 wxPyEndAllowThreads(__tstate);
4633 if (PyErr_Occurred()) SWIG_fail;
4634 }
4635 Py_INCREF(Py_None); resultobj = Py_None;
4636 return resultobj;
4637 fail:
4638 return NULL;
4639}
4640
4641
36ed4f51 4642static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4643 PyObject *resultobj;
4644 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4645 int arg2 ;
36ed4f51 4646 int result;
d14a1e28 4647 PyObject * obj0 = 0 ;
994141e6 4648 PyObject * obj1 = 0 ;
d14a1e28 4649 char *kwnames[] = {
36ed4f51 4650 (char *) "self",(char *) "indic", NULL
d14a1e28
RD
4651 };
4652
36ed4f51
RD
4653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail;
4654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4655 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4656 {
36ed4f51
RD
4657 arg2 = (int)(SWIG_As_int(obj1));
4658 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4659 }
4660 {
4661 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4662 result = (int)(arg1)->IndicatorGetStyle(arg2);
d14a1e28
RD
4663
4664 wxPyEndAllowThreads(__tstate);
4665 if (PyErr_Occurred()) SWIG_fail;
4666 }
d14a1e28 4667 {
36ed4f51 4668 resultobj = SWIG_From_int((int)(result));
d14a1e28
RD
4669 }
4670 return resultobj;
4671 fail:
d14a1e28
RD
4672 return NULL;
4673}
4674
4675
36ed4f51 4676static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4677 PyObject *resultobj;
4678 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4679 int arg2 ;
4680 wxColour *arg3 = 0 ;
4681 wxColour temp3 ;
d14a1e28 4682 PyObject * obj0 = 0 ;
36ed4f51
RD
4683 PyObject * obj1 = 0 ;
4684 PyObject * obj2 = 0 ;
d14a1e28 4685 char *kwnames[] = {
36ed4f51 4686 (char *) "self",(char *) "indic",(char *) "fore", NULL
d14a1e28
RD
4687 };
4688
36ed4f51
RD
4689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4691 if (SWIG_arg_fail(1)) SWIG_fail;
4692 {
4693 arg2 = (int)(SWIG_As_int(obj1));
4694 if (SWIG_arg_fail(2)) SWIG_fail;
4695 }
4696 {
4697 arg3 = &temp3;
4698 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4699 }
d14a1e28
RD
4700 {
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4702 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
d14a1e28
RD
4703
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 Py_INCREF(Py_None); resultobj = Py_None;
4708 return resultobj;
4709 fail:
4710 return NULL;
4711}
4712
4713
36ed4f51 4714static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4715 PyObject *resultobj;
4716 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4717 int arg2 ;
4718 wxColour result;
d14a1e28 4719 PyObject * obj0 = 0 ;
36ed4f51 4720 PyObject * obj1 = 0 ;
d14a1e28 4721 char *kwnames[] = {
36ed4f51 4722 (char *) "self",(char *) "indic", NULL
d14a1e28
RD
4723 };
4724
36ed4f51
RD
4725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail;
4726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4727 if (SWIG_arg_fail(1)) SWIG_fail;
4728 {
4729 arg2 = (int)(SWIG_As_int(obj1));
4730 if (SWIG_arg_fail(2)) SWIG_fail;
4731 }
d14a1e28
RD
4732 {
4733 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4734 result = (arg1)->IndicatorGetForeground(arg2);
d14a1e28
RD
4735
4736 wxPyEndAllowThreads(__tstate);
4737 if (PyErr_Occurred()) SWIG_fail;
4738 }
4f89f6a3 4739 {
36ed4f51
RD
4740 wxColour * resultptr;
4741 resultptr = new wxColour((wxColour &)(result));
4742 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4f89f6a3 4743 }
d14a1e28
RD
4744 return resultobj;
4745 fail:
4746 return NULL;
4747}
4748
4749
36ed4f51 4750static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4751 PyObject *resultobj;
4752 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4753 bool arg2 ;
4754 wxColour *arg3 = 0 ;
4755 wxColour temp3 ;
d14a1e28 4756 PyObject * obj0 = 0 ;
36ed4f51
RD
4757 PyObject * obj1 = 0 ;
4758 PyObject * obj2 = 0 ;
d14a1e28 4759 char *kwnames[] = {
36ed4f51 4760 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
d14a1e28
RD
4761 };
4762
36ed4f51
RD
4763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4765 if (SWIG_arg_fail(1)) SWIG_fail;
4766 {
4767 arg2 = (bool)(SWIG_As_bool(obj1));
4768 if (SWIG_arg_fail(2)) SWIG_fail;
4769 }
4770 {
4771 arg3 = &temp3;
4772 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4773 }
d14a1e28
RD
4774 {
4775 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4776 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
d14a1e28
RD
4777
4778 wxPyEndAllowThreads(__tstate);
4779 if (PyErr_Occurred()) SWIG_fail;
4780 }
36ed4f51 4781 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4782 return resultobj;
4783 fail:
4784 return NULL;
4785}
4786
4787
36ed4f51 4788static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4789 PyObject *resultobj;
4790 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4791 bool arg2 ;
4792 wxColour *arg3 = 0 ;
4793 wxColour temp3 ;
d14a1e28 4794 PyObject * obj0 = 0 ;
36ed4f51
RD
4795 PyObject * obj1 = 0 ;
4796 PyObject * obj2 = 0 ;
d14a1e28 4797 char *kwnames[] = {
36ed4f51 4798 (char *) "self",(char *) "useSetting",(char *) "back", NULL
d14a1e28
RD
4799 };
4800
36ed4f51
RD
4801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4803 if (SWIG_arg_fail(1)) SWIG_fail;
4804 {
4805 arg2 = (bool)(SWIG_As_bool(obj1));
4806 if (SWIG_arg_fail(2)) SWIG_fail;
4807 }
4808 {
4809 arg3 = &temp3;
4810 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4811 }
d14a1e28
RD
4812 {
4813 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4814 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
d14a1e28
RD
4815
4816 wxPyEndAllowThreads(__tstate);
4817 if (PyErr_Occurred()) SWIG_fail;
4818 }
4819 Py_INCREF(Py_None); resultobj = Py_None;
4820 return resultobj;
4821 fail:
4822 return NULL;
4823}
4824
4825
36ed4f51 4826static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4827 PyObject *resultobj;
4828 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 4829 int arg2 ;
d14a1e28
RD
4830 PyObject * obj0 = 0 ;
4831 PyObject * obj1 = 0 ;
4832 char *kwnames[] = {
36ed4f51 4833 (char *) "self",(char *) "bits", NULL
d14a1e28
RD
4834 };
4835
36ed4f51
RD
4836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail;
4837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4838 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4839 {
36ed4f51
RD
4840 arg2 = (int)(SWIG_As_int(obj1));
4841 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4842 }
4843 {
4844 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4845 (arg1)->SetStyleBits(arg2);
d14a1e28
RD
4846
4847 wxPyEndAllowThreads(__tstate);
4848 if (PyErr_Occurred()) SWIG_fail;
4849 }
4850 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4851 return resultobj;
4852 fail:
d14a1e28
RD
4853 return NULL;
4854}
4855
4856
36ed4f51 4857static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4858 PyObject *resultobj;
4859 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 4860 int result;
d14a1e28
RD
4861 PyObject * obj0 = 0 ;
4862 char *kwnames[] = {
36ed4f51 4863 (char *) "self", NULL
d14a1e28
RD
4864 };
4865
36ed4f51
RD
4866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
4867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4868 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4869 {
4870 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4871 result = (int)(arg1)->GetStyleBits();
d14a1e28
RD
4872
4873 wxPyEndAllowThreads(__tstate);
4874 if (PyErr_Occurred()) SWIG_fail;
4875 }
36ed4f51
RD
4876 {
4877 resultobj = SWIG_From_int((int)(result));
4878 }
d14a1e28
RD
4879 return resultobj;
4880 fail:
4881 return NULL;
4882}
4883
4884
36ed4f51 4885static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4886 PyObject *resultobj;
4887 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4888 int arg2 ;
4889 int arg3 ;
d14a1e28 4890 PyObject * obj0 = 0 ;
36ed4f51
RD
4891 PyObject * obj1 = 0 ;
4892 PyObject * obj2 = 0 ;
d14a1e28 4893 char *kwnames[] = {
36ed4f51 4894 (char *) "self",(char *) "line",(char *) "state", NULL
d14a1e28
RD
4895 };
4896
36ed4f51
RD
4897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail;
4898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4899 if (SWIG_arg_fail(1)) SWIG_fail;
4900 {
4901 arg2 = (int)(SWIG_As_int(obj1));
4902 if (SWIG_arg_fail(2)) SWIG_fail;
4903 }
4904 {
4905 arg3 = (int)(SWIG_As_int(obj2));
4906 if (SWIG_arg_fail(3)) SWIG_fail;
4907 }
d14a1e28
RD
4908 {
4909 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4910 (arg1)->SetLineState(arg2,arg3);
d14a1e28
RD
4911
4912 wxPyEndAllowThreads(__tstate);
4913 if (PyErr_Occurred()) SWIG_fail;
4914 }
36ed4f51 4915 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4916 return resultobj;
4917 fail:
4918 return NULL;
4919}
4920
4921
36ed4f51 4922static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4923 PyObject *resultobj;
4924 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
4925 int arg2 ;
4926 int result;
d14a1e28
RD
4927 PyObject * obj0 = 0 ;
4928 PyObject * obj1 = 0 ;
4929 char *kwnames[] = {
36ed4f51 4930 (char *) "self",(char *) "line", NULL
d14a1e28
RD
4931 };
4932
36ed4f51
RD
4933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail;
4934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4935 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4936 {
36ed4f51
RD
4937 arg2 = (int)(SWIG_As_int(obj1));
4938 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4939 }
4940 {
4941 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4942 result = (int)(arg1)->GetLineState(arg2);
d14a1e28
RD
4943
4944 wxPyEndAllowThreads(__tstate);
4945 if (PyErr_Occurred()) SWIG_fail;
4946 }
d14a1e28 4947 {
36ed4f51 4948 resultobj = SWIG_From_int((int)(result));
d14a1e28
RD
4949 }
4950 return resultobj;
4951 fail:
d14a1e28
RD
4952 return NULL;
4953}
4954
4955
36ed4f51 4956static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4957 PyObject *resultobj;
4958 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 4959 int result;
d14a1e28 4960 PyObject * obj0 = 0 ;
d14a1e28 4961 char *kwnames[] = {
36ed4f51 4962 (char *) "self", NULL
d14a1e28
RD
4963 };
4964
36ed4f51
RD
4965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
4966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4967 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4968 {
4969 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4970 result = (int)(arg1)->GetMaxLineState();
d14a1e28
RD
4971
4972 wxPyEndAllowThreads(__tstate);
4973 if (PyErr_Occurred()) SWIG_fail;
4974 }
36ed4f51
RD
4975 {
4976 resultobj = SWIG_From_int((int)(result));
4977 }
d14a1e28
RD
4978 return resultobj;
4979 fail:
4980 return NULL;
4981}
4982
4983
36ed4f51 4984static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4985 PyObject *resultobj;
4986 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4987 bool result;
4988 PyObject * obj0 = 0 ;
4989 char *kwnames[] = {
4990 (char *) "self", NULL
4991 };
4992
36ed4f51
RD
4993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
4994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4995 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4996 {
4997 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4998 result = (bool)(arg1)->GetCaretLineVisible();
d14a1e28
RD
4999
5000 wxPyEndAllowThreads(__tstate);
5001 if (PyErr_Occurred()) SWIG_fail;
5002 }
4f89f6a3
RD
5003 {
5004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5005 }
d14a1e28
RD
5006 return resultobj;
5007 fail:
5008 return NULL;
5009}
5010
5011
36ed4f51 5012static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5013 PyObject *resultobj;
5014 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5015 bool arg2 ;
d14a1e28
RD
5016 PyObject * obj0 = 0 ;
5017 PyObject * obj1 = 0 ;
5018 char *kwnames[] = {
36ed4f51 5019 (char *) "self",(char *) "show", NULL
d14a1e28
RD
5020 };
5021
36ed4f51
RD
5022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
5023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5024 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 5025 {
36ed4f51
RD
5026 arg2 = (bool)(SWIG_As_bool(obj1));
5027 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 5028 }
d14a1e28
RD
5029 {
5030 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5031 (arg1)->SetCaretLineVisible(arg2);
d14a1e28
RD
5032
5033 wxPyEndAllowThreads(__tstate);
5034 if (PyErr_Occurred()) SWIG_fail;
5035 }
5036 Py_INCREF(Py_None); resultobj = Py_None;
5037 return resultobj;
5038 fail:
5039 return NULL;
5040}
5041
5042
36ed4f51 5043static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5044 PyObject *resultobj;
5045 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5046 wxColour result;
d14a1e28
RD
5047 PyObject * obj0 = 0 ;
5048 char *kwnames[] = {
5049 (char *) "self", NULL
5050 };
5051
36ed4f51
RD
5052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
5053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5054 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5055 {
5056 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5057 result = (arg1)->GetCaretLineBack();
d14a1e28
RD
5058
5059 wxPyEndAllowThreads(__tstate);
5060 if (PyErr_Occurred()) SWIG_fail;
5061 }
4f89f6a3 5062 {
36ed4f51
RD
5063 wxColour * resultptr;
5064 resultptr = new wxColour((wxColour &)(result));
5065 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4f89f6a3 5066 }
d14a1e28
RD
5067 return resultobj;
5068 fail:
5069 return NULL;
5070}
5071
5072
36ed4f51 5073static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5074 PyObject *resultobj;
5075 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
5076 wxColour *arg2 = 0 ;
5077 wxColour temp2 ;
d14a1e28
RD
5078 PyObject * obj0 = 0 ;
5079 PyObject * obj1 = 0 ;
5080 char *kwnames[] = {
36ed4f51 5081 (char *) "self",(char *) "back", NULL
d14a1e28
RD
5082 };
5083
36ed4f51
RD
5084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail;
5085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5086 if (SWIG_arg_fail(1)) SWIG_fail;
5087 {
5088 arg2 = &temp2;
5089 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5090 }
d14a1e28
RD
5091 {
5092 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5093 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
d14a1e28
RD
5094
5095 wxPyEndAllowThreads(__tstate);
5096 if (PyErr_Occurred()) SWIG_fail;
5097 }
5098 Py_INCREF(Py_None); resultobj = Py_None;
5099 return resultobj;
5100 fail:
5101 return NULL;
5102}
5103
5104
36ed4f51 5105static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5106 PyObject *resultobj;
5107 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
5108 int arg2 ;
5109 bool arg3 ;
d14a1e28 5110 PyObject * obj0 = 0 ;
36ed4f51
RD
5111 PyObject * obj1 = 0 ;
5112 PyObject * obj2 = 0 ;
d14a1e28 5113 char *kwnames[] = {
36ed4f51 5114 (char *) "self",(char *) "style",(char *) "changeable", NULL
d14a1e28
RD
5115 };
5116
36ed4f51
RD
5117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) 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 = (int)(SWIG_As_int(obj1));
5122 if (SWIG_arg_fail(2)) SWIG_fail;
5123 }
5124 {
5125 arg3 = (bool)(SWIG_As_bool(obj2));
5126 if (SWIG_arg_fail(3)) SWIG_fail;
5127 }
d14a1e28
RD
5128 {
5129 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5130 (arg1)->StyleSetChangeable(arg2,arg3);
d14a1e28
RD
5131
5132 wxPyEndAllowThreads(__tstate);
5133 if (PyErr_Occurred()) SWIG_fail;
5134 }
36ed4f51 5135 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
5136 return resultobj;
5137 fail:
5138 return NULL;
5139}
5140
5141
36ed4f51 5142static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5143 PyObject *resultobj;
5144 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5145 int arg2 ;
5146 wxString *arg3 = 0 ;
b411df4a 5147 bool temp3 = false ;
d14a1e28 5148 PyObject * obj0 = 0 ;
994141e6 5149 PyObject * obj1 = 0 ;
d14a1e28
RD
5150 PyObject * obj2 = 0 ;
5151 char *kwnames[] = {
36ed4f51 5152 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
d14a1e28
RD
5153 };
5154
36ed4f51
RD
5155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5157 if (SWIG_arg_fail(1)) SWIG_fail;
5158 {
5159 arg2 = (int)(SWIG_As_int(obj1));
5160 if (SWIG_arg_fail(2)) SWIG_fail;
5161 }
d14a1e28
RD
5162 {
5163 arg3 = wxString_in_helper(obj2);
5164 if (arg3 == NULL) SWIG_fail;
b411df4a 5165 temp3 = true;
d14a1e28
RD
5166 }
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5169 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
d14a1e28
RD
5170
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 Py_INCREF(Py_None); resultobj = Py_None;
5175 {
5176 if (temp3)
5177 delete arg3;
5178 }
5179 return resultobj;
5180 fail:
5181 {
5182 if (temp3)
5183 delete arg3;
5184 }
5185 return NULL;
5186}
5187
5188
36ed4f51 5189static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5190 PyObject *resultobj;
5191 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 5192 PyObject * obj0 = 0 ;
d14a1e28 5193 char *kwnames[] = {
36ed4f51 5194 (char *) "self", NULL
d14a1e28
RD
5195 };
5196
36ed4f51
RD
5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
5198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5199 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5200 {
5201 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5202 (arg1)->AutoCompCancel();
d14a1e28
RD
5203
5204 wxPyEndAllowThreads(__tstate);
5205 if (PyErr_Occurred()) SWIG_fail;
5206 }
5207 Py_INCREF(Py_None); resultobj = Py_None;
5208 return resultobj;
5209 fail:
5210 return NULL;
5211}
5212
5213
36ed4f51 5214static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5215 PyObject *resultobj;
5216 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5217 bool result;
5218 PyObject * obj0 = 0 ;
5219 char *kwnames[] = {
5220 (char *) "self", NULL
5221 };
5222
36ed4f51
RD
5223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
5224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5225 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5226 {
5227 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5228 result = (bool)(arg1)->AutoCompActive();
d14a1e28
RD
5229
5230 wxPyEndAllowThreads(__tstate);
5231 if (PyErr_Occurred()) SWIG_fail;
5232 }
4f89f6a3
RD
5233 {
5234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5235 }
d14a1e28
RD
5236 return resultobj;
5237 fail:
5238 return NULL;
5239}
5240
5241
36ed4f51 5242static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5243 PyObject *resultobj;
5244 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5245 int result;
d14a1e28 5246 PyObject * obj0 = 0 ;
d14a1e28 5247 char *kwnames[] = {
36ed4f51 5248 (char *) "self", NULL
d14a1e28
RD
5249 };
5250
36ed4f51
RD
5251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
5252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5253 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5254 {
5255 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5256 result = (int)(arg1)->AutoCompPosStart();
d14a1e28
RD
5257
5258 wxPyEndAllowThreads(__tstate);
5259 if (PyErr_Occurred()) SWIG_fail;
5260 }
36ed4f51
RD
5261 {
5262 resultobj = SWIG_From_int((int)(result));
5263 }
d14a1e28
RD
5264 return resultobj;
5265 fail:
5266 return NULL;
5267}
5268
5269
36ed4f51 5270static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5271 PyObject *resultobj;
5272 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
5273 PyObject * obj0 = 0 ;
5274 char *kwnames[] = {
5275 (char *) "self", NULL
5276 };
5277
36ed4f51
RD
5278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
5279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5280 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5281 {
5282 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5283 (arg1)->AutoCompComplete();
d14a1e28
RD
5284
5285 wxPyEndAllowThreads(__tstate);
5286 if (PyErr_Occurred()) SWIG_fail;
5287 }
36ed4f51 5288 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
5289 return resultobj;
5290 fail:
5291 return NULL;
5292}
5293
5294
36ed4f51 5295static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5296 PyObject *resultobj;
5297 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
5298 wxString *arg2 = 0 ;
5299 bool temp2 = false ;
d14a1e28 5300 PyObject * obj0 = 0 ;
994141e6 5301 PyObject * obj1 = 0 ;
d14a1e28 5302 char *kwnames[] = {
36ed4f51 5303 (char *) "self",(char *) "characterSet", NULL
d14a1e28
RD
5304 };
5305
36ed4f51
RD
5306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
5307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5308 if (SWIG_arg_fail(1)) SWIG_fail;
5309 {
5310 arg2 = wxString_in_helper(obj1);
5311 if (arg2 == NULL) SWIG_fail;
5312 temp2 = true;
d14a1e28
RD
5313 }
5314 {
5315 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5316 (arg1)->AutoCompStops((wxString const &)*arg2);
d14a1e28
RD
5317
5318 wxPyEndAllowThreads(__tstate);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 }
5321 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51
RD
5322 {
5323 if (temp2)
5324 delete arg2;
5325 }
d14a1e28
RD
5326 return resultobj;
5327 fail:
36ed4f51
RD
5328 {
5329 if (temp2)
5330 delete arg2;
5331 }
d14a1e28
RD
5332 return NULL;
5333}
5334
5335
36ed4f51 5336static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5337 PyObject *resultobj;
5338 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5339 int arg2 ;
d14a1e28 5340 PyObject * obj0 = 0 ;
36ed4f51 5341 PyObject * obj1 = 0 ;
d14a1e28 5342 char *kwnames[] = {
36ed4f51 5343 (char *) "self",(char *) "separatorCharacter", NULL
d14a1e28
RD
5344 };
5345
36ed4f51
RD
5346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail;
5347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5348 if (SWIG_arg_fail(1)) SWIG_fail;
5349 {
5350 arg2 = (int)(SWIG_As_int(obj1));
5351 if (SWIG_arg_fail(2)) SWIG_fail;
5352 }
d14a1e28
RD
5353 {
5354 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5355 (arg1)->AutoCompSetSeparator(arg2);
d14a1e28
RD
5356
5357 wxPyEndAllowThreads(__tstate);
5358 if (PyErr_Occurred()) SWIG_fail;
5359 }
5360 Py_INCREF(Py_None); resultobj = Py_None;
5361 return resultobj;
5362 fail:
5363 return NULL;
5364}
5365
5366
36ed4f51 5367static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5368 PyObject *resultobj;
5369 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5370 int result;
5371 PyObject * obj0 = 0 ;
5372 char *kwnames[] = {
5373 (char *) "self", NULL
5374 };
5375
36ed4f51
RD
5376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
5377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5378 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5379 {
5380 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5381 result = (int)(arg1)->AutoCompGetSeparator();
d14a1e28
RD
5382
5383 wxPyEndAllowThreads(__tstate);
5384 if (PyErr_Occurred()) SWIG_fail;
5385 }
36ed4f51
RD
5386 {
5387 resultobj = SWIG_From_int((int)(result));
5388 }
d14a1e28
RD
5389 return resultobj;
5390 fail:
5391 return NULL;
5392}
5393
5394
36ed4f51 5395static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5396 PyObject *resultobj;
5397 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
5398 wxString *arg2 = 0 ;
5399 bool temp2 = false ;
d14a1e28 5400 PyObject * obj0 = 0 ;
994141e6 5401 PyObject * obj1 = 0 ;
d14a1e28 5402 char *kwnames[] = {
36ed4f51 5403 (char *) "self",(char *) "text", NULL
d14a1e28
RD
5404 };
5405
36ed4f51
RD
5406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
5407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5408 if (SWIG_arg_fail(1)) SWIG_fail;
5409 {
5410 arg2 = wxString_in_helper(obj1);
5411 if (arg2 == NULL) SWIG_fail;
5412 temp2 = true;
5413 }
d14a1e28
RD
5414 {
5415 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5416 (arg1)->AutoCompSelect((wxString const &)*arg2);
d14a1e28
RD
5417
5418 wxPyEndAllowThreads(__tstate);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 }
5421 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51
RD
5422 {
5423 if (temp2)
5424 delete arg2;
5425 }
d14a1e28
RD
5426 return resultobj;
5427 fail:
36ed4f51
RD
5428 {
5429 if (temp2)
5430 delete arg2;
5431 }
d14a1e28
RD
5432 return NULL;
5433}
5434
5435
36ed4f51 5436static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5437 PyObject *resultobj;
5438 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5439 bool arg2 ;
d14a1e28 5440 PyObject * obj0 = 0 ;
994141e6 5441 PyObject * obj1 = 0 ;
d14a1e28 5442 char *kwnames[] = {
36ed4f51 5443 (char *) "self",(char *) "cancel", NULL
d14a1e28
RD
5444 };
5445
36ed4f51
RD
5446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
5447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5448 if (SWIG_arg_fail(1)) SWIG_fail;
5449 {
5450 arg2 = (bool)(SWIG_As_bool(obj1));
5451 if (SWIG_arg_fail(2)) SWIG_fail;
5452 }
d14a1e28
RD
5453 {
5454 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5455 (arg1)->AutoCompSetCancelAtStart(arg2);
d14a1e28
RD
5456
5457 wxPyEndAllowThreads(__tstate);
5458 if (PyErr_Occurred()) SWIG_fail;
5459 }
5460 Py_INCREF(Py_None); resultobj = Py_None;
5461 return resultobj;
5462 fail:
5463 return NULL;
5464}
5465
5466
36ed4f51 5467static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5468 PyObject *resultobj;
5469 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5470 bool result;
d14a1e28
RD
5471 PyObject * obj0 = 0 ;
5472 char *kwnames[] = {
5473 (char *) "self", NULL
5474 };
5475
36ed4f51
RD
5476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
5477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5478 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5479 {
5480 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5481 result = (bool)(arg1)->AutoCompGetCancelAtStart();
d14a1e28
RD
5482
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
36ed4f51
RD
5486 {
5487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5488 }
d14a1e28
RD
5489 return resultobj;
5490 fail:
5491 return NULL;
5492}
5493
5494
36ed4f51 5495static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5496 PyObject *resultobj;
5497 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
5498 wxString *arg2 = 0 ;
5499 bool temp2 = false ;
d14a1e28
RD
5500 PyObject * obj0 = 0 ;
5501 PyObject * obj1 = 0 ;
5502 char *kwnames[] = {
36ed4f51 5503 (char *) "self",(char *) "characterSet", NULL
d14a1e28
RD
5504 };
5505
36ed4f51
RD
5506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
5507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5508 if (SWIG_arg_fail(1)) SWIG_fail;
5509 {
5510 arg2 = wxString_in_helper(obj1);
5511 if (arg2 == NULL) SWIG_fail;
5512 temp2 = true;
5513 }
d14a1e28
RD
5514 {
5515 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5516 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
d14a1e28
RD
5517
5518 wxPyEndAllowThreads(__tstate);
5519 if (PyErr_Occurred()) SWIG_fail;
5520 }
5521 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51
RD
5522 {
5523 if (temp2)
5524 delete arg2;
5525 }
5526 return resultobj;
d14a1e28 5527 fail:
36ed4f51
RD
5528 {
5529 if (temp2)
5530 delete arg2;
5531 }
d14a1e28
RD
5532 return NULL;
5533}
5534
5535
36ed4f51 5536static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5537 PyObject *resultobj;
5538 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5539 bool arg2 ;
d14a1e28 5540 PyObject * obj0 = 0 ;
36ed4f51 5541 PyObject * obj1 = 0 ;
d14a1e28 5542 char *kwnames[] = {
36ed4f51 5543 (char *) "self",(char *) "chooseSingle", NULL
d14a1e28
RD
5544 };
5545
36ed4f51
RD
5546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
5547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5548 if (SWIG_arg_fail(1)) SWIG_fail;
5549 {
5550 arg2 = (bool)(SWIG_As_bool(obj1));
5551 if (SWIG_arg_fail(2)) SWIG_fail;
5552 }
d14a1e28
RD
5553 {
5554 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5555 (arg1)->AutoCompSetChooseSingle(arg2);
d14a1e28
RD
5556
5557 wxPyEndAllowThreads(__tstate);
5558 if (PyErr_Occurred()) SWIG_fail;
5559 }
36ed4f51 5560 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
5561 return resultobj;
5562 fail:
5563 return NULL;
5564}
5565
5566
36ed4f51 5567static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5568 PyObject *resultobj;
5569 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5570 bool result;
d14a1e28
RD
5571 PyObject * obj0 = 0 ;
5572 char *kwnames[] = {
36ed4f51 5573 (char *) "self", NULL
d14a1e28
RD
5574 };
5575
36ed4f51
RD
5576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
5577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5578 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5579 {
5580 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5581 result = (bool)(arg1)->AutoCompGetChooseSingle();
d14a1e28
RD
5582
5583 wxPyEndAllowThreads(__tstate);
5584 if (PyErr_Occurred()) SWIG_fail;
5585 }
36ed4f51
RD
5586 {
5587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5588 }
d14a1e28
RD
5589 return resultobj;
5590 fail:
5591 return NULL;
5592}
5593
5594
36ed4f51 5595static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5596 PyObject *resultobj;
5597 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5598 bool arg2 ;
d14a1e28 5599 PyObject * obj0 = 0 ;
994141e6 5600 PyObject * obj1 = 0 ;
d14a1e28 5601 char *kwnames[] = {
36ed4f51 5602 (char *) "self",(char *) "ignoreCase", NULL
d14a1e28
RD
5603 };
5604
36ed4f51
RD
5605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
5606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5607 if (SWIG_arg_fail(1)) SWIG_fail;
5608 {
5609 arg2 = (bool)(SWIG_As_bool(obj1));
5610 if (SWIG_arg_fail(2)) SWIG_fail;
5611 }
d14a1e28
RD
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5614 (arg1)->AutoCompSetIgnoreCase(arg2);
d14a1e28
RD
5615
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) SWIG_fail;
5618 }
36ed4f51 5619 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
5620 return resultobj;
5621 fail:
5622 return NULL;
5623}
5624
5625
36ed4f51 5626static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5627 PyObject *resultobj;
5628 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5629 bool result;
d14a1e28
RD
5630 PyObject * obj0 = 0 ;
5631 char *kwnames[] = {
36ed4f51 5632 (char *) "self", NULL
d14a1e28
RD
5633 };
5634
36ed4f51
RD
5635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
5636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5637 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5638 {
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5640 result = (bool)(arg1)->AutoCompGetIgnoreCase();
d14a1e28
RD
5641
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
36ed4f51
RD
5645 {
5646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5647 }
d14a1e28
RD
5648 return resultobj;
5649 fail:
5650 return NULL;
5651}
5652
5653
36ed4f51 5654static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5655 PyObject *resultobj;
5656 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5657 int arg2 ;
36ed4f51
RD
5658 wxString *arg3 = 0 ;
5659 bool temp3 = false ;
d14a1e28 5660 PyObject * obj0 = 0 ;
994141e6 5661 PyObject * obj1 = 0 ;
36ed4f51 5662 PyObject * obj2 = 0 ;
d14a1e28 5663 char *kwnames[] = {
36ed4f51 5664 (char *) "self",(char *) "listType",(char *) "itemList", NULL
d14a1e28
RD
5665 };
5666
36ed4f51
RD
5667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5669 if (SWIG_arg_fail(1)) SWIG_fail;
5670 {
5671 arg2 = (int)(SWIG_As_int(obj1));
5672 if (SWIG_arg_fail(2)) SWIG_fail;
5673 }
5674 {
5675 arg3 = wxString_in_helper(obj2);
5676 if (arg3 == NULL) SWIG_fail;
5677 temp3 = true;
5678 }
d14a1e28
RD
5679 {
5680 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5681 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
d14a1e28
RD
5682
5683 wxPyEndAllowThreads(__tstate);
5684 if (PyErr_Occurred()) SWIG_fail;
5685 }
36ed4f51
RD
5686 Py_INCREF(Py_None); resultobj = Py_None;
5687 {
5688 if (temp3)
5689 delete arg3;
5690 }
d14a1e28
RD
5691 return resultobj;
5692 fail:
36ed4f51
RD
5693 {
5694 if (temp3)
5695 delete arg3;
5696 }
d14a1e28
RD
5697 return NULL;
5698}
5699
5700
36ed4f51 5701static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5702 PyObject *resultobj;
5703 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5704 bool arg2 ;
5705 PyObject * obj0 = 0 ;
5706 PyObject * obj1 = 0 ;
5707 char *kwnames[] = {
36ed4f51 5708 (char *) "self",(char *) "autoHide", NULL
d14a1e28
RD
5709 };
5710
36ed4f51
RD
5711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
5712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5713 if (SWIG_arg_fail(1)) SWIG_fail;
5714 {
5715 arg2 = (bool)(SWIG_As_bool(obj1));
5716 if (SWIG_arg_fail(2)) SWIG_fail;
5717 }
d14a1e28
RD
5718 {
5719 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5720 (arg1)->AutoCompSetAutoHide(arg2);
d14a1e28
RD
5721
5722 wxPyEndAllowThreads(__tstate);
5723 if (PyErr_Occurred()) SWIG_fail;
5724 }
5725 Py_INCREF(Py_None); resultobj = Py_None;
5726 return resultobj;
5727 fail:
5728 return NULL;
5729}
5730
5731
36ed4f51 5732static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5733 PyObject *resultobj;
5734 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5735 bool result;
5736 PyObject * obj0 = 0 ;
5737 char *kwnames[] = {
5738 (char *) "self", NULL
5739 };
5740
36ed4f51
RD
5741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
5742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5743 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5744 {
5745 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5746 result = (bool)(arg1)->AutoCompGetAutoHide();
d14a1e28
RD
5747
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
4f89f6a3
RD
5751 {
5752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5753 }
d14a1e28
RD
5754 return resultobj;
5755 fail:
5756 return NULL;
5757}
5758
5759
36ed4f51 5760static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5761 PyObject *resultobj;
5762 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5763 bool arg2 ;
5764 PyObject * obj0 = 0 ;
5765 PyObject * obj1 = 0 ;
5766 char *kwnames[] = {
36ed4f51 5767 (char *) "self",(char *) "dropRestOfWord", NULL
d14a1e28
RD
5768 };
5769
36ed4f51
RD
5770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
5771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5772 if (SWIG_arg_fail(1)) SWIG_fail;
5773 {
5774 arg2 = (bool)(SWIG_As_bool(obj1));
5775 if (SWIG_arg_fail(2)) SWIG_fail;
5776 }
d14a1e28
RD
5777 {
5778 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5779 (arg1)->AutoCompSetDropRestOfWord(arg2);
d14a1e28
RD
5780
5781 wxPyEndAllowThreads(__tstate);
5782 if (PyErr_Occurred()) SWIG_fail;
5783 }
5784 Py_INCREF(Py_None); resultobj = Py_None;
5785 return resultobj;
5786 fail:
5787 return NULL;
5788}
5789
5790
36ed4f51 5791static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5792 PyObject *resultobj;
5793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5794 bool result;
5795 PyObject * obj0 = 0 ;
5796 char *kwnames[] = {
5797 (char *) "self", NULL
5798 };
5799
36ed4f51
RD
5800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
5801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5802 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5803 {
5804 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5805 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
d14a1e28
RD
5806
5807 wxPyEndAllowThreads(__tstate);
5808 if (PyErr_Occurred()) SWIG_fail;
5809 }
4f89f6a3
RD
5810 {
5811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5812 }
d14a1e28
RD
5813 return resultobj;
5814 fail:
5815 return NULL;
5816}
5817
5818
36ed4f51 5819static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5820 PyObject *resultobj;
5821 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5822 int arg2 ;
36ed4f51 5823 wxBitmap *arg3 = 0 ;
d14a1e28 5824 PyObject * obj0 = 0 ;
994141e6 5825 PyObject * obj1 = 0 ;
36ed4f51 5826 PyObject * obj2 = 0 ;
d14a1e28 5827 char *kwnames[] = {
36ed4f51 5828 (char *) "self",(char *) "type",(char *) "bmp", NULL
d14a1e28
RD
5829 };
5830
36ed4f51
RD
5831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
5832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5833 if (SWIG_arg_fail(1)) SWIG_fail;
5834 {
5835 arg2 = (int)(SWIG_As_int(obj1));
5836 if (SWIG_arg_fail(2)) SWIG_fail;
5837 }
5838 {
5839 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5840 if (SWIG_arg_fail(3)) SWIG_fail;
5841 if (arg3 == NULL) {
5842 SWIG_null_ref("wxBitmap");
5843 }
5844 if (SWIG_arg_fail(3)) SWIG_fail;
5845 }
d14a1e28
RD
5846 {
5847 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5848 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
d14a1e28
RD
5849
5850 wxPyEndAllowThreads(__tstate);
5851 if (PyErr_Occurred()) SWIG_fail;
5852 }
5853 Py_INCREF(Py_None); resultobj = Py_None;
5854 return resultobj;
5855 fail:
5856 return NULL;
5857}
5858
5859
36ed4f51 5860static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5861 PyObject *resultobj;
5862 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
5863 PyObject * obj0 = 0 ;
5864 char *kwnames[] = {
5865 (char *) "self", NULL
5866 };
5867
36ed4f51
RD
5868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
5869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5870 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5871 {
5872 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5873 (arg1)->ClearRegisteredImages();
d14a1e28
RD
5874
5875 wxPyEndAllowThreads(__tstate);
5876 if (PyErr_Occurred()) SWIG_fail;
5877 }
36ed4f51 5878 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
5879 return resultobj;
5880 fail:
5881 return NULL;
5882}
5883
5884
36ed4f51 5885static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5886 PyObject *resultobj;
5887 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
5888 int result;
5889 PyObject * obj0 = 0 ;
5890 char *kwnames[] = {
36ed4f51 5891 (char *) "self", NULL
d14a1e28
RD
5892 };
5893
36ed4f51
RD
5894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
5895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5896 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5897 {
5898 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5899 result = (int)(arg1)->AutoCompGetTypeSeparator();
d14a1e28
RD
5900
5901 wxPyEndAllowThreads(__tstate);
5902 if (PyErr_Occurred()) SWIG_fail;
5903 }
36ed4f51
RD
5904 {
5905 resultobj = SWIG_From_int((int)(result));
5906 }
d14a1e28
RD
5907 return resultobj;
5908 fail:
5909 return NULL;
5910}
5911
5912
36ed4f51 5913static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5914 PyObject *resultobj;
5915 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5916 int arg2 ;
d14a1e28 5917 PyObject * obj0 = 0 ;
36ed4f51 5918 PyObject * obj1 = 0 ;
d14a1e28 5919 char *kwnames[] = {
36ed4f51 5920 (char *) "self",(char *) "separatorCharacter", NULL
d14a1e28
RD
5921 };
5922
36ed4f51
RD
5923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail;
5924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5925 if (SWIG_arg_fail(1)) SWIG_fail;
5926 {
5927 arg2 = (int)(SWIG_As_int(obj1));
5928 if (SWIG_arg_fail(2)) SWIG_fail;
5929 }
d14a1e28
RD
5930 {
5931 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5932 (arg1)->AutoCompSetTypeSeparator(arg2);
d14a1e28
RD
5933
5934 wxPyEndAllowThreads(__tstate);
5935 if (PyErr_Occurred()) SWIG_fail;
5936 }
36ed4f51 5937 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
5938 return resultobj;
5939 fail:
5940 return NULL;
5941}
5942
5943
36ed4f51 5944static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5945 PyObject *resultobj;
5946 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5947 int arg2 ;
d14a1e28 5948 PyObject * obj0 = 0 ;
36ed4f51 5949 PyObject * obj1 = 0 ;
d14a1e28 5950 char *kwnames[] = {
36ed4f51 5951 (char *) "self",(char *) "indentSize", NULL
d14a1e28
RD
5952 };
5953
36ed4f51
RD
5954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
5955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5956 if (SWIG_arg_fail(1)) SWIG_fail;
5957 {
5958 arg2 = (int)(SWIG_As_int(obj1));
5959 if (SWIG_arg_fail(2)) SWIG_fail;
5960 }
d14a1e28
RD
5961 {
5962 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5963 (arg1)->SetIndent(arg2);
d14a1e28
RD
5964
5965 wxPyEndAllowThreads(__tstate);
5966 if (PyErr_Occurred()) SWIG_fail;
5967 }
36ed4f51 5968 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
5969 return resultobj;
5970 fail:
5971 return NULL;
5972}
5973
5974
36ed4f51 5975static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5976 PyObject *resultobj;
5977 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 5978 int result;
d14a1e28
RD
5979 PyObject * obj0 = 0 ;
5980 char *kwnames[] = {
5981 (char *) "self", NULL
5982 };
5983
36ed4f51
RD
5984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
5985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5986 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5987 {
5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5989 result = (int)(arg1)->GetIndent();
d14a1e28
RD
5990
5991 wxPyEndAllowThreads(__tstate);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
4f89f6a3 5994 {
36ed4f51 5995 resultobj = SWIG_From_int((int)(result));
4f89f6a3 5996 }
d14a1e28
RD
5997 return resultobj;
5998 fail:
5999 return NULL;
6000}
6001
6002
36ed4f51 6003static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6004 PyObject *resultobj;
6005 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6006 bool arg2 ;
d14a1e28 6007 PyObject * obj0 = 0 ;
994141e6 6008 PyObject * obj1 = 0 ;
d14a1e28 6009 char *kwnames[] = {
36ed4f51 6010 (char *) "self",(char *) "useTabs", NULL
d14a1e28
RD
6011 };
6012
36ed4f51
RD
6013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
6014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6015 if (SWIG_arg_fail(1)) SWIG_fail;
6016 {
6017 arg2 = (bool)(SWIG_As_bool(obj1));
6018 if (SWIG_arg_fail(2)) SWIG_fail;
6019 }
d14a1e28
RD
6020 {
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6022 (arg1)->SetUseTabs(arg2);
d14a1e28
RD
6023
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 Py_INCREF(Py_None); resultobj = Py_None;
6028 return resultobj;
6029 fail:
6030 return NULL;
6031}
6032
6033
36ed4f51 6034static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6035 PyObject *resultobj;
6036 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6037 bool result;
d14a1e28
RD
6038 PyObject * obj0 = 0 ;
6039 char *kwnames[] = {
36ed4f51 6040 (char *) "self", NULL
d14a1e28
RD
6041 };
6042
36ed4f51
RD
6043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
6044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6045 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6046 {
6047 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6048 result = (bool)(arg1)->GetUseTabs();
d14a1e28
RD
6049
6050 wxPyEndAllowThreads(__tstate);
6051 if (PyErr_Occurred()) SWIG_fail;
6052 }
36ed4f51
RD
6053 {
6054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6055 }
d14a1e28
RD
6056 return resultobj;
6057 fail:
6058 return NULL;
6059}
6060
6061
36ed4f51 6062static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6063 PyObject *resultobj;
6064 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
6065 int arg2 ;
6066 int arg3 ;
d14a1e28 6067 PyObject * obj0 = 0 ;
36ed4f51
RD
6068 PyObject * obj1 = 0 ;
6069 PyObject * obj2 = 0 ;
d14a1e28 6070 char *kwnames[] = {
36ed4f51 6071 (char *) "self",(char *) "line",(char *) "indentSize", NULL
d14a1e28
RD
6072 };
6073
36ed4f51
RD
6074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail;
6075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6076 if (SWIG_arg_fail(1)) SWIG_fail;
6077 {
6078 arg2 = (int)(SWIG_As_int(obj1));
6079 if (SWIG_arg_fail(2)) SWIG_fail;
6080 }
6081 {
6082 arg3 = (int)(SWIG_As_int(obj2));
6083 if (SWIG_arg_fail(3)) SWIG_fail;
6084 }
d14a1e28
RD
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6087 (arg1)->SetLineIndentation(arg2,arg3);
d14a1e28
RD
6088
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
36ed4f51 6092 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6093 return resultobj;
6094 fail:
6095 return NULL;
6096}
6097
6098
36ed4f51 6099static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6100 PyObject *resultobj;
6101 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6102 int arg2 ;
36ed4f51 6103 int result;
d14a1e28 6104 PyObject * obj0 = 0 ;
994141e6 6105 PyObject * obj1 = 0 ;
d14a1e28 6106 char *kwnames[] = {
36ed4f51 6107 (char *) "self",(char *) "line", NULL
d14a1e28
RD
6108 };
6109
36ed4f51
RD
6110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail;
6111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6112 if (SWIG_arg_fail(1)) SWIG_fail;
6113 {
6114 arg2 = (int)(SWIG_As_int(obj1));
6115 if (SWIG_arg_fail(2)) SWIG_fail;
6116 }
d14a1e28
RD
6117 {
6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6119 result = (int)(arg1)->GetLineIndentation(arg2);
d14a1e28
RD
6120
6121 wxPyEndAllowThreads(__tstate);
6122 if (PyErr_Occurred()) SWIG_fail;
6123 }
36ed4f51
RD
6124 {
6125 resultobj = SWIG_From_int((int)(result));
6126 }
d14a1e28
RD
6127 return resultobj;
6128 fail:
6129 return NULL;
6130}
6131
6132
36ed4f51 6133static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6134 PyObject *resultobj;
6135 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6136 int arg2 ;
d14a1e28
RD
6137 int result;
6138 PyObject * obj0 = 0 ;
36ed4f51 6139 PyObject * obj1 = 0 ;
d14a1e28 6140 char *kwnames[] = {
36ed4f51 6141 (char *) "self",(char *) "line", NULL
d14a1e28
RD
6142 };
6143
36ed4f51
RD
6144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail;
6145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6146 if (SWIG_arg_fail(1)) SWIG_fail;
6147 {
6148 arg2 = (int)(SWIG_As_int(obj1));
6149 if (SWIG_arg_fail(2)) SWIG_fail;
6150 }
d14a1e28
RD
6151 {
6152 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6153 result = (int)(arg1)->GetLineIndentPosition(arg2);
d14a1e28
RD
6154
6155 wxPyEndAllowThreads(__tstate);
6156 if (PyErr_Occurred()) SWIG_fail;
6157 }
36ed4f51
RD
6158 {
6159 resultobj = SWIG_From_int((int)(result));
6160 }
d14a1e28
RD
6161 return resultobj;
6162 fail:
6163 return NULL;
6164}
6165
6166
36ed4f51 6167static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6168 PyObject *resultobj;
6169 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6170 int arg2 ;
36ed4f51 6171 int result;
d14a1e28 6172 PyObject * obj0 = 0 ;
994141e6 6173 PyObject * obj1 = 0 ;
d14a1e28 6174 char *kwnames[] = {
36ed4f51 6175 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
6176 };
6177
36ed4f51
RD
6178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
6179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6180 if (SWIG_arg_fail(1)) SWIG_fail;
6181 {
6182 arg2 = (int)(SWIG_As_int(obj1));
6183 if (SWIG_arg_fail(2)) SWIG_fail;
6184 }
d14a1e28
RD
6185 {
6186 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6187 result = (int)(arg1)->GetColumn(arg2);
d14a1e28
RD
6188
6189 wxPyEndAllowThreads(__tstate);
6190 if (PyErr_Occurred()) SWIG_fail;
6191 }
36ed4f51
RD
6192 {
6193 resultobj = SWIG_From_int((int)(result));
6194 }
d14a1e28
RD
6195 return resultobj;
6196 fail:
6197 return NULL;
6198}
6199
6200
36ed4f51 6201static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6202 PyObject *resultobj;
6203 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6204 bool arg2 ;
d14a1e28 6205 PyObject * obj0 = 0 ;
36ed4f51 6206 PyObject * obj1 = 0 ;
d14a1e28 6207 char *kwnames[] = {
36ed4f51 6208 (char *) "self",(char *) "show", NULL
d14a1e28
RD
6209 };
6210
36ed4f51
RD
6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",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 = (bool)(SWIG_As_bool(obj1));
6216 if (SWIG_arg_fail(2)) SWIG_fail;
6217 }
d14a1e28
RD
6218 {
6219 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6220 (arg1)->SetUseHorizontalScrollBar(arg2);
d14a1e28
RD
6221
6222 wxPyEndAllowThreads(__tstate);
6223 if (PyErr_Occurred()) SWIG_fail;
6224 }
36ed4f51 6225 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6226 return resultobj;
6227 fail:
6228 return NULL;
6229}
6230
6231
36ed4f51 6232static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6233 PyObject *resultobj;
6234 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6235 bool result;
d14a1e28
RD
6236 PyObject * obj0 = 0 ;
6237 char *kwnames[] = {
36ed4f51 6238 (char *) "self", NULL
d14a1e28
RD
6239 };
6240
36ed4f51
RD
6241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
6242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6243 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6244 {
6245 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6246 result = (bool)(arg1)->GetUseHorizontalScrollBar();
d14a1e28
RD
6247
6248 wxPyEndAllowThreads(__tstate);
6249 if (PyErr_Occurred()) SWIG_fail;
6250 }
36ed4f51
RD
6251 {
6252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6253 }
d14a1e28
RD
6254 return resultobj;
6255 fail:
6256 return NULL;
6257}
6258
6259
36ed4f51 6260static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6261 PyObject *resultobj;
6262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6263 bool arg2 ;
d14a1e28 6264 PyObject * obj0 = 0 ;
36ed4f51 6265 PyObject * obj1 = 0 ;
d14a1e28 6266 char *kwnames[] = {
36ed4f51 6267 (char *) "self",(char *) "show", NULL
d14a1e28
RD
6268 };
6269
36ed4f51
RD
6270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
6271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6272 if (SWIG_arg_fail(1)) SWIG_fail;
6273 {
6274 arg2 = (bool)(SWIG_As_bool(obj1));
6275 if (SWIG_arg_fail(2)) SWIG_fail;
6276 }
d14a1e28
RD
6277 {
6278 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6279 (arg1)->SetIndentationGuides(arg2);
d14a1e28
RD
6280
6281 wxPyEndAllowThreads(__tstate);
6282 if (PyErr_Occurred()) SWIG_fail;
6283 }
36ed4f51 6284 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6285 return resultobj;
6286 fail:
6287 return NULL;
6288}
6289
6290
36ed4f51 6291static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6292 PyObject *resultobj;
6293 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6294 bool result;
d14a1e28 6295 PyObject * obj0 = 0 ;
d14a1e28 6296 char *kwnames[] = {
36ed4f51 6297 (char *) "self", NULL
d14a1e28
RD
6298 };
6299
36ed4f51
RD
6300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
6301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6302 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6303 {
6304 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6305 result = (bool)(arg1)->GetIndentationGuides();
d14a1e28
RD
6306
6307 wxPyEndAllowThreads(__tstate);
6308 if (PyErr_Occurred()) SWIG_fail;
6309 }
d14a1e28 6310 {
36ed4f51 6311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6312 }
6313 return resultobj;
6314 fail:
d14a1e28
RD
6315 return NULL;
6316}
6317
6318
36ed4f51 6319static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6320 PyObject *resultobj;
6321 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6322 int arg2 ;
d14a1e28
RD
6323 PyObject * obj0 = 0 ;
6324 PyObject * obj1 = 0 ;
d14a1e28 6325 char *kwnames[] = {
36ed4f51 6326 (char *) "self",(char *) "column", NULL
d14a1e28
RD
6327 };
6328
36ed4f51
RD
6329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail;
6330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6331 if (SWIG_arg_fail(1)) SWIG_fail;
6332 {
6333 arg2 = (int)(SWIG_As_int(obj1));
6334 if (SWIG_arg_fail(2)) SWIG_fail;
6335 }
d14a1e28
RD
6336 {
6337 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6338 (arg1)->SetHighlightGuide(arg2);
d14a1e28
RD
6339
6340 wxPyEndAllowThreads(__tstate);
6341 if (PyErr_Occurred()) SWIG_fail;
6342 }
36ed4f51 6343 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6344 return resultobj;
6345 fail:
6346 return NULL;
6347}
6348
6349
36ed4f51 6350static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6351 PyObject *resultobj;
6352 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6353 int result;
6354 PyObject * obj0 = 0 ;
6355 char *kwnames[] = {
6356 (char *) "self", NULL
6357 };
6358
36ed4f51
RD
6359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
6360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6361 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6362 {
6363 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6364 result = (int)(arg1)->GetHighlightGuide();
d14a1e28
RD
6365
6366 wxPyEndAllowThreads(__tstate);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
36ed4f51
RD
6369 {
6370 resultobj = SWIG_From_int((int)(result));
6371 }
d14a1e28
RD
6372 return resultobj;
6373 fail:
6374 return NULL;
6375}
6376
6377
36ed4f51 6378static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6379 PyObject *resultobj;
6380 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6381 int arg2 ;
36ed4f51 6382 int result;
d14a1e28 6383 PyObject * obj0 = 0 ;
994141e6 6384 PyObject * obj1 = 0 ;
d14a1e28
RD
6385 char *kwnames[] = {
6386 (char *) "self",(char *) "line", NULL
6387 };
6388
36ed4f51
RD
6389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail;
6390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6391 if (SWIG_arg_fail(1)) SWIG_fail;
6392 {
6393 arg2 = (int)(SWIG_As_int(obj1));
6394 if (SWIG_arg_fail(2)) SWIG_fail;
6395 }
d14a1e28
RD
6396 {
6397 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6398 result = (int)(arg1)->GetLineEndPosition(arg2);
d14a1e28
RD
6399
6400 wxPyEndAllowThreads(__tstate);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 }
6403 {
36ed4f51 6404 resultobj = SWIG_From_int((int)(result));
d14a1e28
RD
6405 }
6406 return resultobj;
6407 fail:
6408 return NULL;
6409}
6410
6411
36ed4f51 6412static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6413 PyObject *resultobj;
6414 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6415 int result;
6416 PyObject * obj0 = 0 ;
6417 char *kwnames[] = {
6418 (char *) "self", NULL
6419 };
6420
36ed4f51
RD
6421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
6422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6423 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6426 result = (int)(arg1)->GetCodePage();
d14a1e28
RD
6427
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) SWIG_fail;
6430 }
36ed4f51
RD
6431 {
6432 resultobj = SWIG_From_int((int)(result));
6433 }
d14a1e28
RD
6434 return resultobj;
6435 fail:
6436 return NULL;
6437}
6438
6439
36ed4f51 6440static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6441 PyObject *resultobj;
6442 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6443 wxColour result;
d14a1e28
RD
6444 PyObject * obj0 = 0 ;
6445 char *kwnames[] = {
36ed4f51 6446 (char *) "self", NULL
d14a1e28
RD
6447 };
6448
36ed4f51
RD
6449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
6450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6451 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6452 {
6453 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6454 result = (arg1)->GetCaretForeground();
d14a1e28
RD
6455
6456 wxPyEndAllowThreads(__tstate);
6457 if (PyErr_Occurred()) SWIG_fail;
6458 }
36ed4f51
RD
6459 {
6460 wxColour * resultptr;
6461 resultptr = new wxColour((wxColour &)(result));
6462 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
6463 }
d14a1e28
RD
6464 return resultobj;
6465 fail:
6466 return NULL;
6467}
6468
6469
36ed4f51 6470static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6471 PyObject *resultobj;
6472 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6473 bool result;
d14a1e28
RD
6474 PyObject * obj0 = 0 ;
6475 char *kwnames[] = {
6476 (char *) "self", NULL
6477 };
6478
36ed4f51
RD
6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
6480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6481 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6482 {
6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6484 result = (bool)(arg1)->GetReadOnly();
d14a1e28
RD
6485
6486 wxPyEndAllowThreads(__tstate);
6487 if (PyErr_Occurred()) SWIG_fail;
6488 }
36ed4f51
RD
6489 {
6490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6491 }
d14a1e28
RD
6492 return resultobj;
6493 fail:
6494 return NULL;
6495}
6496
6497
36ed4f51 6498static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6499 PyObject *resultobj;
6500 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6501 int arg2 ;
6502 PyObject * obj0 = 0 ;
994141e6 6503 PyObject * obj1 = 0 ;
d14a1e28 6504 char *kwnames[] = {
36ed4f51 6505 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
6506 };
6507
36ed4f51
RD
6508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail;
6509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6510 if (SWIG_arg_fail(1)) SWIG_fail;
6511 {
6512 arg2 = (int)(SWIG_As_int(obj1));
6513 if (SWIG_arg_fail(2)) SWIG_fail;
6514 }
d14a1e28
RD
6515 {
6516 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6517 (arg1)->SetCurrentPos(arg2);
d14a1e28
RD
6518
6519 wxPyEndAllowThreads(__tstate);
6520 if (PyErr_Occurred()) SWIG_fail;
6521 }
6522 Py_INCREF(Py_None); resultobj = Py_None;
6523 return resultobj;
6524 fail:
6525 return NULL;
6526}
6527
6528
36ed4f51 6529static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6530 PyObject *resultobj;
6531 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6532 int arg2 ;
d14a1e28 6533 PyObject * obj0 = 0 ;
36ed4f51 6534 PyObject * obj1 = 0 ;
d14a1e28 6535 char *kwnames[] = {
36ed4f51 6536 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
6537 };
6538
36ed4f51
RD
6539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail;
6540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6541 if (SWIG_arg_fail(1)) SWIG_fail;
6542 {
6543 arg2 = (int)(SWIG_As_int(obj1));
6544 if (SWIG_arg_fail(2)) SWIG_fail;
6545 }
d14a1e28
RD
6546 {
6547 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6548 (arg1)->SetSelectionStart(arg2);
d14a1e28
RD
6549
6550 wxPyEndAllowThreads(__tstate);
6551 if (PyErr_Occurred()) SWIG_fail;
6552 }
36ed4f51 6553 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6554 return resultobj;
6555 fail:
6556 return NULL;
6557}
6558
6559
36ed4f51 6560static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6561 PyObject *resultobj;
6562 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6563 int result;
d14a1e28
RD
6564 PyObject * obj0 = 0 ;
6565 char *kwnames[] = {
6566 (char *) "self", NULL
6567 };
6568
36ed4f51
RD
6569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
6570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6571 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6572 {
6573 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6574 result = (int)(arg1)->GetSelectionStart();
d14a1e28
RD
6575
6576 wxPyEndAllowThreads(__tstate);
6577 if (PyErr_Occurred()) SWIG_fail;
6578 }
4f89f6a3 6579 {
36ed4f51 6580 resultobj = SWIG_From_int((int)(result));
4f89f6a3 6581 }
d14a1e28
RD
6582 return resultobj;
6583 fail:
6584 return NULL;
6585}
6586
6587
36ed4f51 6588static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6589 PyObject *resultobj;
6590 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6591 int arg2 ;
d14a1e28 6592 PyObject * obj0 = 0 ;
994141e6 6593 PyObject * obj1 = 0 ;
d14a1e28 6594 char *kwnames[] = {
36ed4f51 6595 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
6596 };
6597
36ed4f51
RD
6598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail;
6599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6600 if (SWIG_arg_fail(1)) SWIG_fail;
6601 {
6602 arg2 = (int)(SWIG_As_int(obj1));
6603 if (SWIG_arg_fail(2)) SWIG_fail;
6604 }
d14a1e28
RD
6605 {
6606 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6607 (arg1)->SetSelectionEnd(arg2);
d14a1e28
RD
6608
6609 wxPyEndAllowThreads(__tstate);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 }
6612 Py_INCREF(Py_None); resultobj = Py_None;
6613 return resultobj;
6614 fail:
6615 return NULL;
6616}
6617
6618
36ed4f51 6619static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6620 PyObject *resultobj;
6621 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6622 int result;
d14a1e28
RD
6623 PyObject * obj0 = 0 ;
6624 char *kwnames[] = {
6625 (char *) "self", NULL
6626 };
6627
36ed4f51
RD
6628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
6629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6630 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6631 {
6632 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6633 result = (int)(arg1)->GetSelectionEnd();
d14a1e28
RD
6634
6635 wxPyEndAllowThreads(__tstate);
6636 if (PyErr_Occurred()) SWIG_fail;
6637 }
6638 {
36ed4f51 6639 resultobj = SWIG_From_int((int)(result));
d14a1e28
RD
6640 }
6641 return resultobj;
6642 fail:
6643 return NULL;
6644}
6645
6646
36ed4f51 6647static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6648 PyObject *resultobj;
6649 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6650 int arg2 ;
d14a1e28 6651 PyObject * obj0 = 0 ;
994141e6 6652 PyObject * obj1 = 0 ;
d14a1e28 6653 char *kwnames[] = {
36ed4f51 6654 (char *) "self",(char *) "magnification", NULL
d14a1e28
RD
6655 };
6656
36ed4f51
RD
6657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail;
6658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6659 if (SWIG_arg_fail(1)) SWIG_fail;
6660 {
6661 arg2 = (int)(SWIG_As_int(obj1));
6662 if (SWIG_arg_fail(2)) SWIG_fail;
6663 }
d14a1e28
RD
6664 {
6665 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6666 (arg1)->SetPrintMagnification(arg2);
d14a1e28
RD
6667
6668 wxPyEndAllowThreads(__tstate);
6669 if (PyErr_Occurred()) SWIG_fail;
6670 }
36ed4f51 6671 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6672 return resultobj;
6673 fail:
6674 return NULL;
6675}
6676
6677
36ed4f51 6678static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6679 PyObject *resultobj;
6680 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6681 int result;
d14a1e28 6682 PyObject * obj0 = 0 ;
d14a1e28 6683 char *kwnames[] = {
36ed4f51 6684 (char *) "self", NULL
d14a1e28
RD
6685 };
6686
36ed4f51
RD
6687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
6688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6689 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6690 {
6691 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6692 result = (int)(arg1)->GetPrintMagnification();
d14a1e28
RD
6693
6694 wxPyEndAllowThreads(__tstate);
6695 if (PyErr_Occurred()) SWIG_fail;
6696 }
36ed4f51
RD
6697 {
6698 resultobj = SWIG_From_int((int)(result));
6699 }
d14a1e28
RD
6700 return resultobj;
6701 fail:
6702 return NULL;
6703}
6704
6705
36ed4f51 6706static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6707 PyObject *resultobj;
6708 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6709 int arg2 ;
d14a1e28 6710 PyObject * obj0 = 0 ;
994141e6 6711 PyObject * obj1 = 0 ;
d14a1e28 6712 char *kwnames[] = {
36ed4f51 6713 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
6714 };
6715
36ed4f51
RD
6716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail;
6717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6718 if (SWIG_arg_fail(1)) SWIG_fail;
6719 {
6720 arg2 = (int)(SWIG_As_int(obj1));
6721 if (SWIG_arg_fail(2)) SWIG_fail;
6722 }
d14a1e28
RD
6723 {
6724 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6725 (arg1)->SetPrintColourMode(arg2);
d14a1e28
RD
6726
6727 wxPyEndAllowThreads(__tstate);
6728 if (PyErr_Occurred()) SWIG_fail;
6729 }
36ed4f51 6730 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
6731 return resultobj;
6732 fail:
6733 return NULL;
6734}
6735
6736
36ed4f51 6737static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6738 PyObject *resultobj;
6739 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
6740 int result;
6741 PyObject * obj0 = 0 ;
6742 char *kwnames[] = {
36ed4f51 6743 (char *) "self", NULL
d14a1e28
RD
6744 };
6745
36ed4f51
RD
6746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
6747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6748 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6749 {
6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6751 result = (int)(arg1)->GetPrintColourMode();
d14a1e28
RD
6752
6753 wxPyEndAllowThreads(__tstate);
6754 if (PyErr_Occurred()) SWIG_fail;
6755 }
36ed4f51
RD
6756 {
6757 resultobj = SWIG_From_int((int)(result));
6758 }
d14a1e28
RD
6759 return resultobj;
6760 fail:
6761 return NULL;
6762}
6763
6764
36ed4f51 6765static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6766 PyObject *resultobj;
6767 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6768 int arg2 ;
6769 int arg3 ;
36ed4f51
RD
6770 wxString *arg4 = 0 ;
6771 int arg5 = (int) 0 ;
6772 int result;
6773 bool temp4 = false ;
d14a1e28 6774 PyObject * obj0 = 0 ;
994141e6
RD
6775 PyObject * obj1 = 0 ;
6776 PyObject * obj2 = 0 ;
36ed4f51
RD
6777 PyObject * obj3 = 0 ;
6778 PyObject * obj4 = 0 ;
d14a1e28 6779 char *kwnames[] = {
36ed4f51 6780 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
d14a1e28
RD
6781 };
6782
36ed4f51
RD
6783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6785 if (SWIG_arg_fail(1)) SWIG_fail;
6786 {
6787 arg2 = (int)(SWIG_As_int(obj1));
6788 if (SWIG_arg_fail(2)) SWIG_fail;
6789 }
6790 {
6791 arg3 = (int)(SWIG_As_int(obj2));
6792 if (SWIG_arg_fail(3)) SWIG_fail;
6793 }
6794 {
6795 arg4 = wxString_in_helper(obj3);
6796 if (arg4 == NULL) SWIG_fail;
6797 temp4 = true;
6798 }
6799 if (obj4) {
6800 {
6801 arg5 = (int)(SWIG_As_int(obj4));
6802 if (SWIG_arg_fail(5)) SWIG_fail;
6803 }
6804 }
d14a1e28
RD
6805 {
6806 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6807 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
d14a1e28
RD
6808
6809 wxPyEndAllowThreads(__tstate);
6810 if (PyErr_Occurred()) SWIG_fail;
6811 }
36ed4f51
RD
6812 {
6813 resultobj = SWIG_From_int((int)(result));
6814 }
6815 {
6816 if (temp4)
6817 delete arg4;
6818 }
d14a1e28
RD
6819 return resultobj;
6820 fail:
36ed4f51
RD
6821 {
6822 if (temp4)
6823 delete arg4;
6824 }
d14a1e28
RD
6825 return NULL;
6826}
6827
6828
36ed4f51 6829static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6830 PyObject *resultobj;
6831 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
6832 bool arg2 ;
6833 int arg3 ;
6834 int arg4 ;
6835 wxDC *arg5 = (wxDC *) 0 ;
6836 wxDC *arg6 = (wxDC *) 0 ;
6837 wxRect arg7 ;
6838 wxRect arg8 ;
6839 int result;
d14a1e28 6840 PyObject * obj0 = 0 ;
36ed4f51
RD
6841 PyObject * obj1 = 0 ;
6842 PyObject * obj2 = 0 ;
6843 PyObject * obj3 = 0 ;
6844 PyObject * obj4 = 0 ;
6845 PyObject * obj5 = 0 ;
6846 PyObject * obj6 = 0 ;
6847 PyObject * obj7 = 0 ;
d14a1e28 6848 char *kwnames[] = {
36ed4f51 6849 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
d14a1e28
RD
6850 };
6851
36ed4f51
RD
6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6854 if (SWIG_arg_fail(1)) SWIG_fail;
6855 {
6856 arg2 = (bool)(SWIG_As_bool(obj1));
6857 if (SWIG_arg_fail(2)) SWIG_fail;
6858 }
6859 {
6860 arg3 = (int)(SWIG_As_int(obj2));
6861 if (SWIG_arg_fail(3)) SWIG_fail;
6862 }
6863 {
6864 arg4 = (int)(SWIG_As_int(obj3));
6865 if (SWIG_arg_fail(4)) SWIG_fail;
6866 }
6867 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6868 if (SWIG_arg_fail(5)) SWIG_fail;
6869 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6870 if (SWIG_arg_fail(6)) SWIG_fail;
6871 {
6872 wxRect * argp;
6873 SWIG_Python_ConvertPtr(obj6, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION);
6874 if (SWIG_arg_fail(7)) SWIG_fail;
6875 if (argp == NULL) {
6876 SWIG_null_ref("wxRect");
6877 }
6878 if (SWIG_arg_fail(7)) SWIG_fail;
6879 arg7 = *argp;
6880 }
6881 {
6882 wxRect * argp;
6883 SWIG_Python_ConvertPtr(obj7, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION);
6884 if (SWIG_arg_fail(8)) SWIG_fail;
6885 if (argp == NULL) {
6886 SWIG_null_ref("wxRect");
6887 }
6888 if (SWIG_arg_fail(8)) SWIG_fail;
6889 arg8 = *argp;
6890 }
d14a1e28
RD
6891 {
6892 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6893 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
d14a1e28
RD
6894
6895 wxPyEndAllowThreads(__tstate);
6896 if (PyErr_Occurred()) SWIG_fail;
6897 }
36ed4f51
RD
6898 {
6899 resultobj = SWIG_From_int((int)(result));
6900 }
d14a1e28
RD
6901 return resultobj;
6902 fail:
6903 return NULL;
6904}
6905
6906
36ed4f51 6907static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6908 PyObject *resultobj;
6909 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6910 int result;
d14a1e28 6911 PyObject * obj0 = 0 ;
d14a1e28 6912 char *kwnames[] = {
36ed4f51 6913 (char *) "self", NULL
d14a1e28
RD
6914 };
6915
36ed4f51
RD
6916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
6917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6918 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6919 {
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6921 result = (int)(arg1)->GetFirstVisibleLine();
d14a1e28
RD
6922
6923 wxPyEndAllowThreads(__tstate);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 }
d14a1e28 6926 {
36ed4f51 6927 resultobj = SWIG_From_int((int)(result));
d14a1e28
RD
6928 }
6929 return resultobj;
6930 fail:
d14a1e28
RD
6931 return NULL;
6932}
6933
6934
36ed4f51 6935static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6936 PyObject *resultobj;
6937 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
6938 int arg2 ;
6939 wxString result;
d14a1e28
RD
6940 PyObject * obj0 = 0 ;
6941 PyObject * obj1 = 0 ;
6942 char *kwnames[] = {
36ed4f51 6943 (char *) "self",(char *) "line", NULL
d14a1e28
RD
6944 };
6945
36ed4f51
RD
6946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail;
6947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6948 if (SWIG_arg_fail(1)) SWIG_fail;
6949 {
6950 arg2 = (int)(SWIG_As_int(obj1));
6951 if (SWIG_arg_fail(2)) SWIG_fail;
6952 }
d14a1e28
RD
6953 {
6954 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6955 result = (arg1)->GetLine(arg2);
d14a1e28
RD
6956
6957 wxPyEndAllowThreads(__tstate);
6958 if (PyErr_Occurred()) SWIG_fail;
6959 }
36ed4f51
RD
6960 {
6961#if wxUSE_UNICODE
6962 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6963#else
6964 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6965#endif
6966 }
d14a1e28
RD
6967 return resultobj;
6968 fail:
6969 return NULL;
6970}
6971
6972
36ed4f51 6973static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6974 PyObject *resultobj;
6975 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 6976 int result;
d14a1e28
RD
6977 PyObject * obj0 = 0 ;
6978 char *kwnames[] = {
6979 (char *) "self", NULL
6980 };
6981
36ed4f51
RD
6982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
6983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6984 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6985 {
6986 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 6987 result = (int)(arg1)->GetLineCount();
d14a1e28
RD
6988
6989 wxPyEndAllowThreads(__tstate);
6990 if (PyErr_Occurred()) SWIG_fail;
6991 }
4f89f6a3 6992 {
36ed4f51 6993 resultobj = SWIG_From_int((int)(result));
4f89f6a3 6994 }
d14a1e28
RD
6995 return resultobj;
6996 fail:
6997 return NULL;
6998}
6999
7000
36ed4f51 7001static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7002 PyObject *resultobj;
7003 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7004 int arg2 ;
d14a1e28 7005 PyObject * obj0 = 0 ;
36ed4f51 7006 PyObject * obj1 = 0 ;
d14a1e28 7007 char *kwnames[] = {
36ed4f51 7008 (char *) "self",(char *) "pixelWidth", NULL
d14a1e28
RD
7009 };
7010
36ed4f51
RD
7011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail;
7012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7013 if (SWIG_arg_fail(1)) SWIG_fail;
7014 {
7015 arg2 = (int)(SWIG_As_int(obj1));
7016 if (SWIG_arg_fail(2)) SWIG_fail;
7017 }
d14a1e28
RD
7018 {
7019 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7020 (arg1)->SetMarginLeft(arg2);
d14a1e28
RD
7021
7022 wxPyEndAllowThreads(__tstate);
7023 if (PyErr_Occurred()) SWIG_fail;
7024 }
36ed4f51 7025 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
7026 return resultobj;
7027 fail:
7028 return NULL;
7029}
7030
7031
36ed4f51 7032static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7033 PyObject *resultobj;
7034 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7035 int result;
d14a1e28
RD
7036 PyObject * obj0 = 0 ;
7037 char *kwnames[] = {
7038 (char *) "self", NULL
7039 };
7040
36ed4f51
RD
7041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
7042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7043 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7044 {
7045 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7046 result = (int)(arg1)->GetMarginLeft();
d14a1e28
RD
7047
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
36ed4f51
RD
7051 {
7052 resultobj = SWIG_From_int((int)(result));
7053 }
d14a1e28
RD
7054 return resultobj;
7055 fail:
7056 return NULL;
7057}
7058
7059
36ed4f51 7060static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7061 PyObject *resultobj;
7062 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7063 int arg2 ;
d14a1e28 7064 PyObject * obj0 = 0 ;
36ed4f51 7065 PyObject * obj1 = 0 ;
d14a1e28 7066 char *kwnames[] = {
36ed4f51 7067 (char *) "self",(char *) "pixelWidth", NULL
d14a1e28
RD
7068 };
7069
36ed4f51
RD
7070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail;
7071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7072 if (SWIG_arg_fail(1)) SWIG_fail;
7073 {
7074 arg2 = (int)(SWIG_As_int(obj1));
7075 if (SWIG_arg_fail(2)) SWIG_fail;
7076 }
d14a1e28
RD
7077 {
7078 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7079 (arg1)->SetMarginRight(arg2);
d14a1e28
RD
7080
7081 wxPyEndAllowThreads(__tstate);
7082 if (PyErr_Occurred()) SWIG_fail;
7083 }
7084 Py_INCREF(Py_None); resultobj = Py_None;
7085 return resultobj;
7086 fail:
7087 return NULL;
7088}
7089
7090
36ed4f51 7091static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7092 PyObject *resultobj;
7093 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7094 int result;
d14a1e28
RD
7095 PyObject * obj0 = 0 ;
7096 char *kwnames[] = {
7097 (char *) "self", NULL
7098 };
7099
36ed4f51
RD
7100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
7101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7102 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7103 {
7104 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7105 result = (int)(arg1)->GetMarginRight();
d14a1e28
RD
7106
7107 wxPyEndAllowThreads(__tstate);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
36ed4f51
RD
7110 {
7111 resultobj = SWIG_From_int((int)(result));
7112 }
d14a1e28
RD
7113 return resultobj;
7114 fail:
7115 return NULL;
7116}
7117
7118
36ed4f51 7119static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7120 PyObject *resultobj;
7121 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7122 bool result;
d14a1e28
RD
7123 PyObject * obj0 = 0 ;
7124 char *kwnames[] = {
7125 (char *) "self", NULL
7126 };
7127
36ed4f51
RD
7128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
7129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7130 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7131 {
7132 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7133 result = (bool)(arg1)->GetModify();
d14a1e28
RD
7134
7135 wxPyEndAllowThreads(__tstate);
7136 if (PyErr_Occurred()) SWIG_fail;
7137 }
36ed4f51
RD
7138 {
7139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7140 }
d14a1e28
RD
7141 return resultobj;
7142 fail:
7143 return NULL;
7144}
7145
7146
36ed4f51 7147static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7148 PyObject *resultobj;
7149 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
7150 int arg2 ;
7151 int arg3 ;
d14a1e28 7152 PyObject * obj0 = 0 ;
36ed4f51
RD
7153 PyObject * obj1 = 0 ;
7154 PyObject * obj2 = 0 ;
7155 char *kwnames[] = {
7156 (char *) "self",(char *) "start",(char *) "end", NULL
d14a1e28
RD
7157 };
7158
36ed4f51
RD
7159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7161 if (SWIG_arg_fail(1)) SWIG_fail;
7162 {
7163 arg2 = (int)(SWIG_As_int(obj1));
7164 if (SWIG_arg_fail(2)) SWIG_fail;
7165 }
7166 {
7167 arg3 = (int)(SWIG_As_int(obj2));
7168 if (SWIG_arg_fail(3)) SWIG_fail;
7169 }
d14a1e28
RD
7170 {
7171 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7172 (arg1)->SetSelection(arg2,arg3);
d14a1e28
RD
7173
7174 wxPyEndAllowThreads(__tstate);
7175 if (PyErr_Occurred()) SWIG_fail;
7176 }
7177 Py_INCREF(Py_None); resultobj = Py_None;
7178 return resultobj;
7179 fail:
7180 return NULL;
7181}
7182
7183
36ed4f51 7184static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7185 PyObject *resultobj;
7186 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7187 wxString result;
d14a1e28
RD
7188 PyObject * obj0 = 0 ;
7189 char *kwnames[] = {
7190 (char *) "self", NULL
7191 };
7192
36ed4f51
RD
7193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
7194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7195 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7196 {
7197 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7198 result = (arg1)->GetSelectedText();
d14a1e28
RD
7199
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) SWIG_fail;
7202 }
36ed4f51
RD
7203 {
7204#if wxUSE_UNICODE
7205 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7206#else
7207 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7208#endif
7209 }
d14a1e28
RD
7210 return resultobj;
7211 fail:
7212 return NULL;
7213}
7214
7215
36ed4f51 7216static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7217 PyObject *resultobj;
7218 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
7219 int arg2 ;
7220 int arg3 ;
7221 wxString result;
d14a1e28
RD
7222 PyObject * obj0 = 0 ;
7223 PyObject * obj1 = 0 ;
36ed4f51 7224 PyObject * obj2 = 0 ;
d14a1e28 7225 char *kwnames[] = {
36ed4f51 7226 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
d14a1e28
RD
7227 };
7228
36ed4f51
RD
7229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7231 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 7232 {
36ed4f51
RD
7233 arg2 = (int)(SWIG_As_int(obj1));
7234 if (SWIG_arg_fail(2)) SWIG_fail;
7235 }
7236 {
7237 arg3 = (int)(SWIG_As_int(obj2));
7238 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
7239 }
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7242 result = (arg1)->GetTextRange(arg2,arg3);
d14a1e28
RD
7243
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
d14a1e28 7247 {
36ed4f51
RD
7248#if wxUSE_UNICODE
7249 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7250#else
7251 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7252#endif
d14a1e28
RD
7253 }
7254 return resultobj;
7255 fail:
d14a1e28
RD
7256 return NULL;
7257}
7258
7259
36ed4f51 7260static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7261 PyObject *resultobj;
7262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7263 bool arg2 ;
d14a1e28 7264 PyObject * obj0 = 0 ;
36ed4f51 7265 PyObject * obj1 = 0 ;
d14a1e28 7266 char *kwnames[] = {
36ed4f51 7267 (char *) "self",(char *) "normal", NULL
d14a1e28
RD
7268 };
7269
36ed4f51
RD
7270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
7271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7272 if (SWIG_arg_fail(1)) SWIG_fail;
7273 {
7274 arg2 = (bool)(SWIG_As_bool(obj1));
7275 if (SWIG_arg_fail(2)) SWIG_fail;
7276 }
d14a1e28
RD
7277 {
7278 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7279 (arg1)->HideSelection(arg2);
d14a1e28
RD
7280
7281 wxPyEndAllowThreads(__tstate);
7282 if (PyErr_Occurred()) SWIG_fail;
7283 }
36ed4f51 7284 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
7285 return resultobj;
7286 fail:
7287 return NULL;
7288}
7289
7290
36ed4f51 7291static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7292 PyObject *resultobj;
7293 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7294 int arg2 ;
d14a1e28
RD
7295 int result;
7296 PyObject * obj0 = 0 ;
36ed4f51 7297 PyObject * obj1 = 0 ;
d14a1e28 7298 char *kwnames[] = {
36ed4f51 7299 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
7300 };
7301
36ed4f51
RD
7302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail;
7303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7304 if (SWIG_arg_fail(1)) SWIG_fail;
7305 {
7306 arg2 = (int)(SWIG_As_int(obj1));
7307 if (SWIG_arg_fail(2)) SWIG_fail;
7308 }
d14a1e28
RD
7309 {
7310 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7311 result = (int)(arg1)->LineFromPosition(arg2);
d14a1e28
RD
7312
7313 wxPyEndAllowThreads(__tstate);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 }
36ed4f51
RD
7316 {
7317 resultobj = SWIG_From_int((int)(result));
7318 }
d14a1e28
RD
7319 return resultobj;
7320 fail:
7321 return NULL;
7322}
7323
7324
36ed4f51 7325static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7326 PyObject *resultobj;
7327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
7328 int arg2 ;
7329 int result;
d14a1e28
RD
7330 PyObject * obj0 = 0 ;
7331 PyObject * obj1 = 0 ;
7332 char *kwnames[] = {
36ed4f51 7333 (char *) "self",(char *) "line", NULL
d14a1e28
RD
7334 };
7335
36ed4f51
RD
7336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail;
7337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7338 if (SWIG_arg_fail(1)) SWIG_fail;
7339 {
7340 arg2 = (int)(SWIG_As_int(obj1));
7341 if (SWIG_arg_fail(2)) SWIG_fail;
7342 }
d14a1e28
RD
7343 {
7344 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7345 result = (int)(arg1)->PositionFromLine(arg2);
d14a1e28
RD
7346
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
36ed4f51
RD
7350 {
7351 resultobj = SWIG_From_int((int)(result));
7352 }
d14a1e28
RD
7353 return resultobj;
7354 fail:
7355 return NULL;
7356}
7357
7358
36ed4f51 7359static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7360 PyObject *resultobj;
7361 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
7362 int arg2 ;
7363 int arg3 ;
d14a1e28 7364 PyObject * obj0 = 0 ;
36ed4f51
RD
7365 PyObject * obj1 = 0 ;
7366 PyObject * obj2 = 0 ;
d14a1e28 7367 char *kwnames[] = {
36ed4f51 7368 (char *) "self",(char *) "columns",(char *) "lines", NULL
d14a1e28
RD
7369 };
7370
36ed4f51
RD
7371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
7372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7373 if (SWIG_arg_fail(1)) SWIG_fail;
7374 {
7375 arg2 = (int)(SWIG_As_int(obj1));
7376 if (SWIG_arg_fail(2)) SWIG_fail;
7377 }
7378 {
7379 arg3 = (int)(SWIG_As_int(obj2));
7380 if (SWIG_arg_fail(3)) SWIG_fail;
7381 }
d14a1e28
RD
7382 {
7383 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7384 (arg1)->LineScroll(arg2,arg3);
d14a1e28
RD
7385
7386 wxPyEndAllowThreads(__tstate);
7387 if (PyErr_Occurred()) SWIG_fail;
7388 }
36ed4f51 7389 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
7390 return resultobj;
7391 fail:
7392 return NULL;
7393}
7394
7395
36ed4f51 7396static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7397 PyObject *resultobj;
7398 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
7399 PyObject * obj0 = 0 ;
7400 char *kwnames[] = {
36ed4f51 7401 (char *) "self", NULL
d14a1e28
RD
7402 };
7403
36ed4f51
RD
7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
7405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7406 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7407 {
7408 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7409 (arg1)->EnsureCaretVisible();
d14a1e28
RD
7410
7411 wxPyEndAllowThreads(__tstate);
7412 if (PyErr_Occurred()) SWIG_fail;
7413 }
7414 Py_INCREF(Py_None); resultobj = Py_None;
7415 return resultobj;
7416 fail:
7417 return NULL;
7418}
7419
7420
36ed4f51 7421static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7422 PyObject *resultobj;
7423 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
7424 wxString *arg2 = 0 ;
7425 bool temp2 = false ;
d14a1e28 7426 PyObject * obj0 = 0 ;
36ed4f51 7427 PyObject * obj1 = 0 ;
d14a1e28 7428 char *kwnames[] = {
36ed4f51 7429 (char *) "self",(char *) "text", NULL
d14a1e28
RD
7430 };
7431
36ed4f51
RD
7432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
7433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7434 if (SWIG_arg_fail(1)) SWIG_fail;
7435 {
7436 arg2 = wxString_in_helper(obj1);
7437 if (arg2 == NULL) SWIG_fail;
7438 temp2 = true;
7439 }
d14a1e28
RD
7440 {
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7442 (arg1)->ReplaceSelection((wxString const &)*arg2);
d14a1e28
RD
7443
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
36ed4f51
RD
7447 Py_INCREF(Py_None); resultobj = Py_None;
7448 {
7449 if (temp2)
7450 delete arg2;
7451 }
d14a1e28
RD
7452 return resultobj;
7453 fail:
36ed4f51
RD
7454 {
7455 if (temp2)
7456 delete arg2;
7457 }
d14a1e28
RD
7458 return NULL;
7459}
7460
7461
36ed4f51 7462static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7463 PyObject *resultobj;
7464 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7465 bool arg2 ;
d14a1e28 7466 PyObject * obj0 = 0 ;
994141e6 7467 PyObject * obj1 = 0 ;
d14a1e28 7468 char *kwnames[] = {
36ed4f51 7469 (char *) "self",(char *) "readOnly", NULL
d14a1e28
RD
7470 };
7471
36ed4f51
RD
7472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
7473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7474 if (SWIG_arg_fail(1)) SWIG_fail;
7475 {
7476 arg2 = (bool)(SWIG_As_bool(obj1));
7477 if (SWIG_arg_fail(2)) SWIG_fail;
7478 }
d14a1e28
RD
7479 {
7480 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7481 (arg1)->SetReadOnly(arg2);
d14a1e28
RD
7482
7483 wxPyEndAllowThreads(__tstate);
7484 if (PyErr_Occurred()) SWIG_fail;
7485 }
7486 Py_INCREF(Py_None); resultobj = Py_None;
7487 return resultobj;
7488 fail:
7489 return NULL;
7490}
7491
7492
36ed4f51 7493static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7494 PyObject *resultobj;
7495 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7496 bool result;
d14a1e28
RD
7497 PyObject * obj0 = 0 ;
7498 char *kwnames[] = {
7499 (char *) "self", NULL
7500 };
7501
36ed4f51
RD
7502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7504 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7505 {
7506 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7507 result = (bool)(arg1)->CanPaste();
d14a1e28
RD
7508
7509 wxPyEndAllowThreads(__tstate);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 }
36ed4f51
RD
7512 {
7513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7514 }
d14a1e28
RD
7515 return resultobj;
7516 fail:
7517 return NULL;
7518}
7519
7520
36ed4f51 7521static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7522 PyObject *resultobj;
7523 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7524 bool result;
d14a1e28
RD
7525 PyObject * obj0 = 0 ;
7526 char *kwnames[] = {
36ed4f51 7527 (char *) "self", NULL
d14a1e28
RD
7528 };
7529
36ed4f51
RD
7530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7532 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7533 {
7534 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7535 result = (bool)(arg1)->CanUndo();
d14a1e28
RD
7536
7537 wxPyEndAllowThreads(__tstate);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
36ed4f51
RD
7540 {
7541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7542 }
d14a1e28
RD
7543 return resultobj;
7544 fail:
7545 return NULL;
7546}
7547
7548
36ed4f51 7549static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7550 PyObject *resultobj;
7551 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
7552 PyObject * obj0 = 0 ;
7553 char *kwnames[] = {
7554 (char *) "self", NULL
7555 };
7556
36ed4f51
RD
7557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
7558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7559 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7560 {
7561 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7562 (arg1)->EmptyUndoBuffer();
d14a1e28
RD
7563
7564 wxPyEndAllowThreads(__tstate);
7565 if (PyErr_Occurred()) SWIG_fail;
7566 }
36ed4f51 7567 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
7568 return resultobj;
7569 fail:
7570 return NULL;
7571}
7572
7573
36ed4f51 7574static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7575 PyObject *resultobj;
7576 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 7577 PyObject * obj0 = 0 ;
d14a1e28 7578 char *kwnames[] = {
36ed4f51 7579 (char *) "self", NULL
d14a1e28
RD
7580 };
7581
36ed4f51
RD
7582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
7583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7584 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7585 {
7586 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7587 (arg1)->Undo();
d14a1e28
RD
7588
7589 wxPyEndAllowThreads(__tstate);
7590 if (PyErr_Occurred()) SWIG_fail;
7591 }
36ed4f51 7592 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
7593 return resultobj;
7594 fail:
d14a1e28
RD
7595 return NULL;
7596}
7597
7598
36ed4f51 7599static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7600 PyObject *resultobj;
7601 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 7602 PyObject * obj0 = 0 ;
d14a1e28 7603 char *kwnames[] = {
36ed4f51 7604 (char *) "self", NULL
d14a1e28
RD
7605 };
7606
36ed4f51
RD
7607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
7608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7609 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7610 {
7611 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7612 (arg1)->Cut();
d14a1e28
RD
7613
7614 wxPyEndAllowThreads(__tstate);
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
36ed4f51 7617 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
7618 return resultobj;
7619 fail:
d14a1e28
RD
7620 return NULL;
7621}
7622
7623
36ed4f51 7624static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7625 PyObject *resultobj;
7626 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 7627 PyObject * obj0 = 0 ;
d14a1e28 7628 char *kwnames[] = {
36ed4f51 7629 (char *) "self", NULL
d14a1e28
RD
7630 };
7631
36ed4f51
RD
7632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
7633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7634 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7635 {
7636 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7637 (arg1)->Copy();
d14a1e28
RD
7638
7639 wxPyEndAllowThreads(__tstate);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 }
36ed4f51 7642 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
7643 return resultobj;
7644 fail:
d14a1e28
RD
7645 return NULL;
7646}
7647
7648
36ed4f51 7649static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7650 PyObject *resultobj;
7651 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
7652 PyObject * obj0 = 0 ;
7653 char *kwnames[] = {
36ed4f51 7654 (char *) "self", NULL
d14a1e28
RD
7655 };
7656
36ed4f51
RD
7657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
7658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7659 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7660 {
7661 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7662 (arg1)->Paste();
d14a1e28
RD
7663
7664 wxPyEndAllowThreads(__tstate);
7665 if (PyErr_Occurred()) SWIG_fail;
7666 }
7667 Py_INCREF(Py_None); resultobj = Py_None;
7668 return resultobj;
7669 fail:
7670 return NULL;
7671}
7672
7673
36ed4f51 7674static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7675 PyObject *resultobj;
7676 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
7677 PyObject * obj0 = 0 ;
7678 char *kwnames[] = {
7679 (char *) "self", NULL
7680 };
7681
36ed4f51
RD
7682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
7683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7684 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7685 {
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7687 (arg1)->Clear();
d14a1e28
RD
7688
7689 wxPyEndAllowThreads(__tstate);
7690 if (PyErr_Occurred()) SWIG_fail;
7691 }
36ed4f51 7692 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
7693 return resultobj;
7694 fail:
7695 return NULL;
7696}
7697
7698
36ed4f51 7699static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7700 PyObject *resultobj;
7701 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
7702 wxString *arg2 = 0 ;
7703 bool temp2 = false ;
d14a1e28 7704 PyObject * obj0 = 0 ;
994141e6 7705 PyObject * obj1 = 0 ;
d14a1e28 7706 char *kwnames[] = {
36ed4f51 7707 (char *) "self",(char *) "text", NULL
d14a1e28
RD
7708 };
7709
36ed4f51
RD
7710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
7711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7712 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 7713 {
36ed4f51
RD
7714 arg2 = wxString_in_helper(obj1);
7715 if (arg2 == NULL) SWIG_fail;
7716 temp2 = true;
d14a1e28
RD
7717 }
7718 {
7719 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7720 (arg1)->SetText((wxString const &)*arg2);
d14a1e28
RD
7721
7722 wxPyEndAllowThreads(__tstate);
7723 if (PyErr_Occurred()) SWIG_fail;
7724 }
7725 Py_INCREF(Py_None); resultobj = Py_None;
7726 {
36ed4f51
RD
7727 if (temp2)
7728 delete arg2;
d14a1e28
RD
7729 }
7730 return resultobj;
7731 fail:
7732 {
36ed4f51
RD
7733 if (temp2)
7734 delete arg2;
d14a1e28
RD
7735 }
7736 return NULL;
7737}
7738
7739
36ed4f51 7740static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7741 PyObject *resultobj;
7742 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7743 wxString result;
d14a1e28
RD
7744 PyObject * obj0 = 0 ;
7745 char *kwnames[] = {
7746 (char *) "self", NULL
7747 };
7748
36ed4f51
RD
7749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
7750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7751 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7752 {
7753 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7754 result = (arg1)->GetText();
d14a1e28
RD
7755
7756 wxPyEndAllowThreads(__tstate);
7757 if (PyErr_Occurred()) SWIG_fail;
7758 }
36ed4f51
RD
7759 {
7760#if wxUSE_UNICODE
7761 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7762#else
7763 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7764#endif
7765 }
d14a1e28
RD
7766 return resultobj;
7767 fail:
7768 return NULL;
7769}
7770
7771
36ed4f51 7772static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7773 PyObject *resultobj;
7774 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7775 int result;
d14a1e28
RD
7776 PyObject * obj0 = 0 ;
7777 char *kwnames[] = {
7778 (char *) "self", NULL
7779 };
7780
36ed4f51
RD
7781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
7782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7783 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7784 {
7785 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7786 result = (int)(arg1)->GetTextLength();
d14a1e28
RD
7787
7788 wxPyEndAllowThreads(__tstate);
7789 if (PyErr_Occurred()) SWIG_fail;
7790 }
4f89f6a3 7791 {
36ed4f51 7792 resultobj = SWIG_From_int((int)(result));
4f89f6a3 7793 }
d14a1e28
RD
7794 return resultobj;
7795 fail:
7796 return NULL;
7797}
7798
7799
36ed4f51 7800static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7801 PyObject *resultobj;
7802 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7803 bool arg2 ;
d14a1e28 7804 PyObject * obj0 = 0 ;
36ed4f51 7805 PyObject * obj1 = 0 ;
d14a1e28 7806 char *kwnames[] = {
36ed4f51 7807 (char *) "self",(char *) "overtype", NULL
d14a1e28
RD
7808 };
7809
36ed4f51
RD
7810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
7811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7812 if (SWIG_arg_fail(1)) SWIG_fail;
7813 {
7814 arg2 = (bool)(SWIG_As_bool(obj1));
7815 if (SWIG_arg_fail(2)) SWIG_fail;
7816 }
d14a1e28
RD
7817 {
7818 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7819 (arg1)->SetOvertype(arg2);
d14a1e28
RD
7820
7821 wxPyEndAllowThreads(__tstate);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 }
36ed4f51 7824 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
7825 return resultobj;
7826 fail:
7827 return NULL;
7828}
7829
7830
36ed4f51 7831static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7832 PyObject *resultobj;
7833 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7834 bool result;
d14a1e28
RD
7835 PyObject * obj0 = 0 ;
7836 char *kwnames[] = {
36ed4f51 7837 (char *) "self", NULL
d14a1e28
RD
7838 };
7839
36ed4f51
RD
7840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
7841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7842 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7845 result = (bool)(arg1)->GetOvertype();
d14a1e28
RD
7846
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
36ed4f51
RD
7850 {
7851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7852 }
d14a1e28
RD
7853 return resultobj;
7854 fail:
7855 return NULL;
7856}
7857
7858
36ed4f51 7859static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7860 PyObject *resultobj;
7861 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7862 int arg2 ;
d14a1e28
RD
7863 PyObject * obj0 = 0 ;
7864 PyObject * obj1 = 0 ;
7865 char *kwnames[] = {
36ed4f51 7866 (char *) "self",(char *) "pixelWidth", NULL
d14a1e28
RD
7867 };
7868
36ed4f51
RD
7869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail;
7870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7871 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 7872 {
36ed4f51
RD
7873 arg2 = (int)(SWIG_As_int(obj1));
7874 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7875 }
7876 {
7877 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7878 (arg1)->SetCaretWidth(arg2);
d14a1e28
RD
7879
7880 wxPyEndAllowThreads(__tstate);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 Py_INCREF(Py_None); resultobj = Py_None;
7884 return resultobj;
7885 fail:
7886 return NULL;
7887}
7888
7889
36ed4f51 7890static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7891 PyObject *resultobj;
7892 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7893 int result;
d14a1e28 7894 PyObject * obj0 = 0 ;
d14a1e28 7895 char *kwnames[] = {
36ed4f51 7896 (char *) "self", NULL
d14a1e28
RD
7897 };
7898
36ed4f51
RD
7899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
7900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7901 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7902 {
7903 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7904 result = (int)(arg1)->GetCaretWidth();
d14a1e28
RD
7905
7906 wxPyEndAllowThreads(__tstate);
7907 if (PyErr_Occurred()) SWIG_fail;
7908 }
36ed4f51
RD
7909 {
7910 resultobj = SWIG_From_int((int)(result));
7911 }
d14a1e28
RD
7912 return resultobj;
7913 fail:
7914 return NULL;
7915}
7916
7917
36ed4f51 7918static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7919 PyObject *resultobj;
7920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 7921 int arg2 ;
d14a1e28
RD
7922 PyObject * obj0 = 0 ;
7923 PyObject * obj1 = 0 ;
7924 char *kwnames[] = {
36ed4f51 7925 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
7926 };
7927
36ed4f51
RD
7928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail;
7929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7930 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 7931 {
36ed4f51
RD
7932 arg2 = (int)(SWIG_As_int(obj1));
7933 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7934 }
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7937 (arg1)->SetTargetStart(arg2);
d14a1e28
RD
7938
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 Py_INCREF(Py_None); resultobj = Py_None;
7943 return resultobj;
7944 fail:
7945 return NULL;
7946}
7947
7948
36ed4f51 7949static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7950 PyObject *resultobj;
7951 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
7952 int result;
7953 PyObject * obj0 = 0 ;
7954 char *kwnames[] = {
36ed4f51 7955 (char *) "self", NULL
d14a1e28
RD
7956 };
7957
36ed4f51
RD
7958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
7959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7960 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7961 {
7962 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7963 result = (int)(arg1)->GetTargetStart();
d14a1e28
RD
7964
7965 wxPyEndAllowThreads(__tstate);
7966 if (PyErr_Occurred()) SWIG_fail;
7967 }
36ed4f51
RD
7968 {
7969 resultobj = SWIG_From_int((int)(result));
7970 }
d14a1e28
RD
7971 return resultobj;
7972 fail:
7973 return NULL;
7974}
7975
7976
36ed4f51 7977static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7978 PyObject *resultobj;
7979 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7980 int arg2 ;
d14a1e28 7981 PyObject * obj0 = 0 ;
994141e6 7982 PyObject * obj1 = 0 ;
d14a1e28 7983 char *kwnames[] = {
36ed4f51 7984 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
7985 };
7986
36ed4f51
RD
7987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail;
7988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7989 if (SWIG_arg_fail(1)) SWIG_fail;
7990 {
7991 arg2 = (int)(SWIG_As_int(obj1));
7992 if (SWIG_arg_fail(2)) SWIG_fail;
7993 }
d14a1e28
RD
7994 {
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7996 (arg1)->SetTargetEnd(arg2);
d14a1e28
RD
7997
7998 wxPyEndAllowThreads(__tstate);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
36ed4f51 8001 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8002 return resultobj;
8003 fail:
8004 return NULL;
8005}
8006
8007
36ed4f51 8008static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8009 PyObject *resultobj;
8010 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 8011 int result;
d14a1e28
RD
8012 PyObject * obj0 = 0 ;
8013 char *kwnames[] = {
36ed4f51 8014 (char *) "self", NULL
d14a1e28
RD
8015 };
8016
36ed4f51
RD
8017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
8018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8019 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8020 {
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8022 result = (int)(arg1)->GetTargetEnd();
d14a1e28
RD
8023
8024 wxPyEndAllowThreads(__tstate);
8025 if (PyErr_Occurred()) SWIG_fail;
8026 }
36ed4f51
RD
8027 {
8028 resultobj = SWIG_From_int((int)(result));
8029 }
d14a1e28
RD
8030 return resultobj;
8031 fail:
8032 return NULL;
8033}
8034
8035
36ed4f51 8036static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8037 PyObject *resultobj;
8038 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 8039 wxString *arg2 = 0 ;
d14a1e28 8040 int result;
36ed4f51 8041 bool temp2 = false ;
d14a1e28 8042 PyObject * obj0 = 0 ;
994141e6 8043 PyObject * obj1 = 0 ;
d14a1e28 8044 char *kwnames[] = {
36ed4f51 8045 (char *) "self",(char *) "text", NULL
d14a1e28
RD
8046 };
8047
36ed4f51
RD
8048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
8049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8050 if (SWIG_arg_fail(1)) SWIG_fail;
8051 {
8052 arg2 = wxString_in_helper(obj1);
8053 if (arg2 == NULL) SWIG_fail;
8054 temp2 = true;
8055 }
d14a1e28
RD
8056 {
8057 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8058 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
d14a1e28
RD
8059
8060 wxPyEndAllowThreads(__tstate);
8061 if (PyErr_Occurred()) SWIG_fail;
8062 }
36ed4f51
RD
8063 {
8064 resultobj = SWIG_From_int((int)(result));
8065 }
8066 {
8067 if (temp2)
8068 delete arg2;
8069 }
d14a1e28
RD
8070 return resultobj;
8071 fail:
36ed4f51
RD
8072 {
8073 if (temp2)
8074 delete arg2;
8075 }
d14a1e28
RD
8076 return NULL;
8077}
8078
8079
36ed4f51 8080static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8081 PyObject *resultobj;
8082 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 8083 wxString *arg2 = 0 ;
d14a1e28 8084 int result;
36ed4f51 8085 bool temp2 = false ;
d14a1e28 8086 PyObject * obj0 = 0 ;
994141e6 8087 PyObject * obj1 = 0 ;
d14a1e28 8088 char *kwnames[] = {
36ed4f51 8089 (char *) "self",(char *) "text", NULL
d14a1e28
RD
8090 };
8091
36ed4f51
RD
8092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
8093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8094 if (SWIG_arg_fail(1)) SWIG_fail;
8095 {
8096 arg2 = wxString_in_helper(obj1);
8097 if (arg2 == NULL) SWIG_fail;
8098 temp2 = true;
8099 }
d14a1e28
RD
8100 {
8101 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8102 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
d14a1e28
RD
8103
8104 wxPyEndAllowThreads(__tstate);
8105 if (PyErr_Occurred()) SWIG_fail;
8106 }
36ed4f51
RD
8107 {
8108 resultobj = SWIG_From_int((int)(result));
8109 }
8110 {
8111 if (temp2)
8112 delete arg2;
8113 }
d14a1e28
RD
8114 return resultobj;
8115 fail:
36ed4f51
RD
8116 {
8117 if (temp2)
8118 delete arg2;
8119 }
d14a1e28
RD
8120 return NULL;
8121}
8122
8123
36ed4f51 8124static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8125 PyObject *resultobj;
8126 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 8127 wxString *arg2 = 0 ;
d14a1e28 8128 int result;
36ed4f51 8129 bool temp2 = false ;
d14a1e28 8130 PyObject * obj0 = 0 ;
994141e6 8131 PyObject * obj1 = 0 ;
d14a1e28 8132 char *kwnames[] = {
36ed4f51 8133 (char *) "self",(char *) "text", NULL
d14a1e28
RD
8134 };
8135
36ed4f51
RD
8136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
8137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8138 if (SWIG_arg_fail(1)) SWIG_fail;
8139 {
8140 arg2 = wxString_in_helper(obj1);
8141 if (arg2 == NULL) SWIG_fail;
8142 temp2 = true;
8143 }
d14a1e28
RD
8144 {
8145 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8146 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
d14a1e28
RD
8147
8148 wxPyEndAllowThreads(__tstate);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 }
36ed4f51
RD
8151 {
8152 resultobj = SWIG_From_int((int)(result));
8153 }
8154 {
8155 if (temp2)
8156 delete arg2;
8157 }
d14a1e28
RD
8158 return resultobj;
8159 fail:
36ed4f51
RD
8160 {
8161 if (temp2)
8162 delete arg2;
8163 }
d14a1e28
RD
8164 return NULL;
8165}
8166
8167
36ed4f51 8168static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8169 PyObject *resultobj;
8170 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8171 int arg2 ;
d14a1e28 8172 PyObject * obj0 = 0 ;
994141e6 8173 PyObject * obj1 = 0 ;
d14a1e28 8174 char *kwnames[] = {
36ed4f51 8175 (char *) "self",(char *) "flags", NULL
d14a1e28
RD
8176 };
8177
36ed4f51
RD
8178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail;
8179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8180 if (SWIG_arg_fail(1)) SWIG_fail;
8181 {
8182 arg2 = (int)(SWIG_As_int(obj1));
8183 if (SWIG_arg_fail(2)) SWIG_fail;
8184 }
d14a1e28
RD
8185 {
8186 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8187 (arg1)->SetSearchFlags(arg2);
d14a1e28
RD
8188
8189 wxPyEndAllowThreads(__tstate);
8190 if (PyErr_Occurred()) SWIG_fail;
8191 }
8192 Py_INCREF(Py_None); resultobj = Py_None;
8193 return resultobj;
8194 fail:
8195 return NULL;
8196}
8197
8198
36ed4f51 8199static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8200 PyObject *resultobj;
8201 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 8202 int result;
d14a1e28
RD
8203 PyObject * obj0 = 0 ;
8204 char *kwnames[] = {
36ed4f51 8205 (char *) "self", NULL
d14a1e28
RD
8206 };
8207
36ed4f51
RD
8208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
8209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8210 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8211 {
8212 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8213 result = (int)(arg1)->GetSearchFlags();
d14a1e28
RD
8214
8215 wxPyEndAllowThreads(__tstate);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 }
36ed4f51
RD
8218 {
8219 resultobj = SWIG_From_int((int)(result));
8220 }
d14a1e28
RD
8221 return resultobj;
8222 fail:
8223 return NULL;
8224}
8225
8226
36ed4f51 8227static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8228 PyObject *resultobj;
8229 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8230 int arg2 ;
36ed4f51
RD
8231 wxString *arg3 = 0 ;
8232 bool temp3 = false ;
d14a1e28 8233 PyObject * obj0 = 0 ;
994141e6 8234 PyObject * obj1 = 0 ;
36ed4f51 8235 PyObject * obj2 = 0 ;
d14a1e28 8236 char *kwnames[] = {
36ed4f51 8237 (char *) "self",(char *) "pos",(char *) "definition", NULL
d14a1e28
RD
8238 };
8239
36ed4f51
RD
8240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8242 if (SWIG_arg_fail(1)) SWIG_fail;
8243 {
8244 arg2 = (int)(SWIG_As_int(obj1));
8245 if (SWIG_arg_fail(2)) SWIG_fail;
8246 }
8247 {
8248 arg3 = wxString_in_helper(obj2);
8249 if (arg3 == NULL) SWIG_fail;
8250 temp3 = true;
8251 }
d14a1e28
RD
8252 {
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8254 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
d14a1e28
RD
8255
8256 wxPyEndAllowThreads(__tstate);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
36ed4f51 8259 Py_INCREF(Py_None); resultobj = Py_None;
4f89f6a3 8260 {
36ed4f51
RD
8261 if (temp3)
8262 delete arg3;
4f89f6a3 8263 }
d14a1e28
RD
8264 return resultobj;
8265 fail:
36ed4f51
RD
8266 {
8267 if (temp3)
8268 delete arg3;
8269 }
d14a1e28
RD
8270 return NULL;
8271}
8272
8273
36ed4f51 8274static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8275 PyObject *resultobj;
8276 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 8277 PyObject * obj0 = 0 ;
d14a1e28 8278 char *kwnames[] = {
36ed4f51 8279 (char *) "self", NULL
d14a1e28
RD
8280 };
8281
36ed4f51
RD
8282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
8283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8284 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8285 {
8286 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8287 (arg1)->CallTipCancel();
d14a1e28
RD
8288
8289 wxPyEndAllowThreads(__tstate);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 }
8292 Py_INCREF(Py_None); resultobj = Py_None;
8293 return resultobj;
8294 fail:
8295 return NULL;
8296}
8297
8298
36ed4f51 8299static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8300 PyObject *resultobj;
8301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
8302 bool result;
8303 PyObject * obj0 = 0 ;
8304 char *kwnames[] = {
36ed4f51 8305 (char *) "self", NULL
d14a1e28
RD
8306 };
8307
36ed4f51
RD
8308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
8309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8310 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8311 {
8312 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8313 result = (bool)(arg1)->CallTipActive();
d14a1e28
RD
8314
8315 wxPyEndAllowThreads(__tstate);
8316 if (PyErr_Occurred()) SWIG_fail;
8317 }
4f89f6a3
RD
8318 {
8319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8320 }
d14a1e28
RD
8321 return resultobj;
8322 fail:
8323 return NULL;
8324}
8325
8326
36ed4f51 8327static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8328 PyObject *resultobj;
8329 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 8330 int result;
d14a1e28
RD
8331 PyObject * obj0 = 0 ;
8332 char *kwnames[] = {
36ed4f51 8333 (char *) "self", NULL
d14a1e28
RD
8334 };
8335
36ed4f51
RD
8336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
8337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8338 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8339 {
8340 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8341 result = (int)(arg1)->CallTipPosAtStart();
d14a1e28
RD
8342
8343 wxPyEndAllowThreads(__tstate);
8344 if (PyErr_Occurred()) SWIG_fail;
8345 }
36ed4f51
RD
8346 {
8347 resultobj = SWIG_From_int((int)(result));
8348 }
d14a1e28
RD
8349 return resultobj;
8350 fail:
8351 return NULL;
8352}
8353
8354
36ed4f51 8355static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8356 PyObject *resultobj;
8357 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8358 int arg2 ;
36ed4f51 8359 int arg3 ;
d14a1e28 8360 PyObject * obj0 = 0 ;
994141e6 8361 PyObject * obj1 = 0 ;
36ed4f51 8362 PyObject * obj2 = 0 ;
d14a1e28 8363 char *kwnames[] = {
36ed4f51 8364 (char *) "self",(char *) "start",(char *) "end", NULL
d14a1e28
RD
8365 };
8366
36ed4f51
RD
8367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
8368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8369 if (SWIG_arg_fail(1)) SWIG_fail;
8370 {
8371 arg2 = (int)(SWIG_As_int(obj1));
8372 if (SWIG_arg_fail(2)) SWIG_fail;
8373 }
8374 {
8375 arg3 = (int)(SWIG_As_int(obj2));
8376 if (SWIG_arg_fail(3)) SWIG_fail;
8377 }
d14a1e28
RD
8378 {
8379 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8380 (arg1)->CallTipSetHighlight(arg2,arg3);
d14a1e28
RD
8381
8382 wxPyEndAllowThreads(__tstate);
8383 if (PyErr_Occurred()) SWIG_fail;
8384 }
8385 Py_INCREF(Py_None); resultobj = Py_None;
8386 return resultobj;
8387 fail:
8388 return NULL;
8389}
8390
8391
36ed4f51 8392static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8393 PyObject *resultobj;
8394 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
8395 wxColour *arg2 = 0 ;
8396 wxColour temp2 ;
d14a1e28 8397 PyObject * obj0 = 0 ;
994141e6 8398 PyObject * obj1 = 0 ;
d14a1e28 8399 char *kwnames[] = {
36ed4f51 8400 (char *) "self",(char *) "back", NULL
d14a1e28
RD
8401 };
8402
36ed4f51
RD
8403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
8404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8405 if (SWIG_arg_fail(1)) SWIG_fail;
8406 {
8407 arg2 = &temp2;
8408 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8409 }
d14a1e28
RD
8410 {
8411 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8412 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
d14a1e28
RD
8413
8414 wxPyEndAllowThreads(__tstate);
8415 if (PyErr_Occurred()) SWIG_fail;
8416 }
8417 Py_INCREF(Py_None); resultobj = Py_None;
8418 return resultobj;
8419 fail:
8420 return NULL;
8421}
8422
8423
36ed4f51 8424static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8425 PyObject *resultobj;
8426 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
8427 wxColour *arg2 = 0 ;
8428 wxColour temp2 ;
d14a1e28 8429 PyObject * obj0 = 0 ;
994141e6 8430 PyObject * obj1 = 0 ;
d14a1e28 8431 char *kwnames[] = {
36ed4f51 8432 (char *) "self",(char *) "fore", NULL
d14a1e28
RD
8433 };
8434
36ed4f51
RD
8435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
8436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8437 if (SWIG_arg_fail(1)) SWIG_fail;
8438 {
8439 arg2 = &temp2;
8440 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8441 }
d14a1e28
RD
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8444 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
d14a1e28
RD
8445
8446 wxPyEndAllowThreads(__tstate);
8447 if (PyErr_Occurred()) SWIG_fail;
8448 }
8449 Py_INCREF(Py_None); resultobj = Py_None;
8450 return resultobj;
8451 fail:
8452 return NULL;
8453}
8454
8455
36ed4f51 8456static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8457 PyObject *resultobj;
8458 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
8459 wxColour *arg2 = 0 ;
8460 wxColour temp2 ;
d14a1e28
RD
8461 PyObject * obj0 = 0 ;
8462 PyObject * obj1 = 0 ;
8463 char *kwnames[] = {
36ed4f51 8464 (char *) "self",(char *) "fore", NULL
d14a1e28
RD
8465 };
8466
36ed4f51
RD
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
8468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8469 if (SWIG_arg_fail(1)) SWIG_fail;
8470 {
8471 arg2 = &temp2;
8472 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8473 }
d14a1e28
RD
8474 {
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8476 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
d14a1e28
RD
8477
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 Py_INCREF(Py_None); resultobj = Py_None;
8482 return resultobj;
8483 fail:
8484 return NULL;
8485}
8486
8487
36ed4f51 8488static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8489 PyObject *resultobj;
8490 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
8491 int arg2 ;
8492 int result;
d14a1e28 8493 PyObject * obj0 = 0 ;
36ed4f51 8494 PyObject * obj1 = 0 ;
d14a1e28 8495 char *kwnames[] = {
36ed4f51 8496 (char *) "self",(char *) "line", NULL
d14a1e28
RD
8497 };
8498
36ed4f51
RD
8499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail;
8500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8501 if (SWIG_arg_fail(1)) SWIG_fail;
8502 {
8503 arg2 = (int)(SWIG_As_int(obj1));
8504 if (SWIG_arg_fail(2)) SWIG_fail;
8505 }
d14a1e28
RD
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8508 result = (int)(arg1)->VisibleFromDocLine(arg2);
d14a1e28
RD
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
4f89f6a3 8513 {
36ed4f51 8514 resultobj = SWIG_From_int((int)(result));
4f89f6a3 8515 }
d14a1e28
RD
8516 return resultobj;
8517 fail:
8518 return NULL;
8519}
8520
8521
36ed4f51 8522static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8523 PyObject *resultobj;
8524 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
8525 int arg2 ;
8526 int result;
d14a1e28
RD
8527 PyObject * obj0 = 0 ;
8528 PyObject * obj1 = 0 ;
8529 char *kwnames[] = {
36ed4f51 8530 (char *) "self",(char *) "lineDisplay", NULL
d14a1e28
RD
8531 };
8532
36ed4f51
RD
8533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail;
8534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8535 if (SWIG_arg_fail(1)) SWIG_fail;
8536 {
8537 arg2 = (int)(SWIG_As_int(obj1));
8538 if (SWIG_arg_fail(2)) SWIG_fail;
8539 }
d14a1e28
RD
8540 {
8541 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8542 result = (int)(arg1)->DocLineFromVisible(arg2);
d14a1e28
RD
8543
8544 wxPyEndAllowThreads(__tstate);
8545 if (PyErr_Occurred()) SWIG_fail;
8546 }
36ed4f51
RD
8547 {
8548 resultobj = SWIG_From_int((int)(result));
8549 }
d14a1e28
RD
8550 return resultobj;
8551 fail:
8552 return NULL;
8553}
8554
8555
36ed4f51 8556static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8557 PyObject *resultobj;
8558 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
8559 int arg2 ;
8560 int arg3 ;
d14a1e28 8561 PyObject * obj0 = 0 ;
36ed4f51
RD
8562 PyObject * obj1 = 0 ;
8563 PyObject * obj2 = 0 ;
d14a1e28 8564 char *kwnames[] = {
36ed4f51 8565 (char *) "self",(char *) "line",(char *) "level", NULL
d14a1e28
RD
8566 };
8567
36ed4f51
RD
8568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail;
8569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8570 if (SWIG_arg_fail(1)) SWIG_fail;
8571 {
8572 arg2 = (int)(SWIG_As_int(obj1));
8573 if (SWIG_arg_fail(2)) SWIG_fail;
8574 }
8575 {
8576 arg3 = (int)(SWIG_As_int(obj2));
8577 if (SWIG_arg_fail(3)) SWIG_fail;
8578 }
d14a1e28
RD
8579 {
8580 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8581 (arg1)->SetFoldLevel(arg2,arg3);
d14a1e28
RD
8582
8583 wxPyEndAllowThreads(__tstate);
8584 if (PyErr_Occurred()) SWIG_fail;
8585 }
36ed4f51 8586 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8587 return resultobj;
8588 fail:
8589 return NULL;
8590}
8591
8592
36ed4f51 8593static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8594 PyObject *resultobj;
8595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8596 int arg2 ;
36ed4f51 8597 int result;
d14a1e28 8598 PyObject * obj0 = 0 ;
994141e6 8599 PyObject * obj1 = 0 ;
d14a1e28 8600 char *kwnames[] = {
36ed4f51 8601 (char *) "self",(char *) "line", NULL
d14a1e28
RD
8602 };
8603
36ed4f51
RD
8604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail;
8605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8606 if (SWIG_arg_fail(1)) SWIG_fail;
8607 {
8608 arg2 = (int)(SWIG_As_int(obj1));
8609 if (SWIG_arg_fail(2)) SWIG_fail;
8610 }
d14a1e28
RD
8611 {
8612 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8613 result = (int)(arg1)->GetFoldLevel(arg2);
d14a1e28
RD
8614
8615 wxPyEndAllowThreads(__tstate);
8616 if (PyErr_Occurred()) SWIG_fail;
8617 }
36ed4f51
RD
8618 {
8619 resultobj = SWIG_From_int((int)(result));
8620 }
d14a1e28
RD
8621 return resultobj;
8622 fail:
8623 return NULL;
8624}
8625
8626
36ed4f51 8627static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8628 PyObject *resultobj;
8629 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
8630 int arg2 ;
8631 int arg3 ;
d14a1e28
RD
8632 int result;
8633 PyObject * obj0 = 0 ;
36ed4f51
RD
8634 PyObject * obj1 = 0 ;
8635 PyObject * obj2 = 0 ;
d14a1e28 8636 char *kwnames[] = {
36ed4f51 8637 (char *) "self",(char *) "line",(char *) "level", NULL
d14a1e28
RD
8638 };
8639
36ed4f51
RD
8640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
8641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8642 if (SWIG_arg_fail(1)) SWIG_fail;
8643 {
8644 arg2 = (int)(SWIG_As_int(obj1));
8645 if (SWIG_arg_fail(2)) SWIG_fail;
8646 }
8647 {
8648 arg3 = (int)(SWIG_As_int(obj2));
8649 if (SWIG_arg_fail(3)) SWIG_fail;
8650 }
d14a1e28
RD
8651 {
8652 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8653 result = (int)(arg1)->GetLastChild(arg2,arg3);
d14a1e28
RD
8654
8655 wxPyEndAllowThreads(__tstate);
8656 if (PyErr_Occurred()) SWIG_fail;
8657 }
36ed4f51
RD
8658 {
8659 resultobj = SWIG_From_int((int)(result));
8660 }
d14a1e28
RD
8661 return resultobj;
8662 fail:
8663 return NULL;
8664}
8665
8666
36ed4f51 8667static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8668 PyObject *resultobj;
8669 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8670 int arg2 ;
d14a1e28
RD
8671 int result;
8672 PyObject * obj0 = 0 ;
994141e6 8673 PyObject * obj1 = 0 ;
d14a1e28 8674 char *kwnames[] = {
36ed4f51 8675 (char *) "self",(char *) "line", NULL
d14a1e28
RD
8676 };
8677
36ed4f51
RD
8678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail;
8679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8680 if (SWIG_arg_fail(1)) SWIG_fail;
8681 {
8682 arg2 = (int)(SWIG_As_int(obj1));
8683 if (SWIG_arg_fail(2)) SWIG_fail;
8684 }
d14a1e28
RD
8685 {
8686 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8687 result = (int)(arg1)->GetFoldParent(arg2);
d14a1e28
RD
8688
8689 wxPyEndAllowThreads(__tstate);
8690 if (PyErr_Occurred()) SWIG_fail;
8691 }
36ed4f51
RD
8692 {
8693 resultobj = SWIG_From_int((int)(result));
8694 }
d14a1e28
RD
8695 return resultobj;
8696 fail:
8697 return NULL;
8698}
8699
8700
36ed4f51 8701static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8702 PyObject *resultobj;
8703 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8704 int arg2 ;
36ed4f51 8705 int arg3 ;
d14a1e28 8706 PyObject * obj0 = 0 ;
994141e6 8707 PyObject * obj1 = 0 ;
d14a1e28
RD
8708 PyObject * obj2 = 0 ;
8709 char *kwnames[] = {
36ed4f51 8710 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
d14a1e28
RD
8711 };
8712
36ed4f51
RD
8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail;
8716 {
8717 arg2 = (int)(SWIG_As_int(obj1));
8718 if (SWIG_arg_fail(2)) SWIG_fail;
8719 }
8720 {
8721 arg3 = (int)(SWIG_As_int(obj2));
8722 if (SWIG_arg_fail(3)) SWIG_fail;
8723 }
d14a1e28
RD
8724 {
8725 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8726 (arg1)->ShowLines(arg2,arg3);
d14a1e28
RD
8727
8728 wxPyEndAllowThreads(__tstate);
8729 if (PyErr_Occurred()) SWIG_fail;
8730 }
36ed4f51 8731 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
8732 return resultobj;
8733 fail:
8734 return NULL;
8735}
8736
8737
36ed4f51 8738static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8739 PyObject *resultobj;
8740 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8741 int arg2 ;
36ed4f51 8742 int arg3 ;
d14a1e28 8743 PyObject * obj0 = 0 ;
994141e6 8744 PyObject * obj1 = 0 ;
36ed4f51 8745 PyObject * obj2 = 0 ;
d14a1e28 8746 char *kwnames[] = {
36ed4f51 8747 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
d14a1e28
RD
8748 };
8749
36ed4f51
RD
8750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8752 if (SWIG_arg_fail(1)) SWIG_fail;
8753 {
8754 arg2 = (int)(SWIG_As_int(obj1));
8755 if (SWIG_arg_fail(2)) SWIG_fail;
8756 }
8757 {
8758 arg3 = (int)(SWIG_As_int(obj2));
8759 if (SWIG_arg_fail(3)) SWIG_fail;
8760 }
d14a1e28
RD
8761 {
8762 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8763 (arg1)->HideLines(arg2,arg3);
d14a1e28
RD
8764
8765 wxPyEndAllowThreads(__tstate);
8766 if (PyErr_Occurred()) SWIG_fail;
8767 }
8768 Py_INCREF(Py_None); resultobj = Py_None;
8769 return resultobj;
8770 fail:
8771 return NULL;
8772}
8773
8774
36ed4f51 8775static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8776 PyObject *resultobj;
8777 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
8778 int arg2 ;
8779 bool result;
d14a1e28 8780 PyObject * obj0 = 0 ;
36ed4f51 8781 PyObject * obj1 = 0 ;
d14a1e28 8782 char *kwnames[] = {
36ed4f51 8783 (char *) "self",(char *) "line", NULL
d14a1e28
RD
8784 };
8785
36ed4f51
RD
8786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail;
8787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8788 if (SWIG_arg_fail(1)) SWIG_fail;
8789 {
8790 arg2 = (int)(SWIG_As_int(obj1));
8791 if (SWIG_arg_fail(2)) SWIG_fail;
8792 }
d14a1e28
RD
8793 {
8794 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8795 result = (bool)(arg1)->GetLineVisible(arg2);
d14a1e28
RD
8796
8797 wxPyEndAllowThreads(__tstate);
8798 if (PyErr_Occurred()) SWIG_fail;
8799 }
36ed4f51
RD
8800 {
8801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8802 }
d14a1e28
RD
8803 return resultobj;
8804 fail:
8805 return NULL;
8806}
8807
8808
36ed4f51 8809static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
5e483524
RD
8810 PyObject *resultobj;
8811 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8812 int arg2 ;
36ed4f51 8813 bool arg3 ;
5e483524
RD
8814 PyObject * obj0 = 0 ;
8815 PyObject * obj1 = 0 ;
36ed4f51 8816 PyObject * obj2 = 0 ;
5e483524 8817 char *kwnames[] = {
36ed4f51 8818 (char *) "self",(char *) "line",(char *) "expanded", NULL
5e483524
RD
8819 };
8820
36ed4f51
RD
8821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail;
8822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8823 if (SWIG_arg_fail(1)) SWIG_fail;
8824 {
8825 arg2 = (int)(SWIG_As_int(obj1));
8826 if (SWIG_arg_fail(2)) SWIG_fail;
8827 }
8828 {
8829 arg3 = (bool)(SWIG_As_bool(obj2));
8830 if (SWIG_arg_fail(3)) SWIG_fail;
8831 }
5e483524
RD
8832 {
8833 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8834 (arg1)->SetFoldExpanded(arg2,arg3);
5e483524
RD
8835
8836 wxPyEndAllowThreads(__tstate);
8837 if (PyErr_Occurred()) SWIG_fail;
8838 }
8839 Py_INCREF(Py_None); resultobj = Py_None;
8840 return resultobj;
8841 fail:
8842 return NULL;
8843}
8844
8845
36ed4f51 8846static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
5e483524
RD
8847 PyObject *resultobj;
8848 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
8849 int arg2 ;
8850 bool result;
5e483524 8851 PyObject * obj0 = 0 ;
36ed4f51 8852 PyObject * obj1 = 0 ;
5e483524 8853 char *kwnames[] = {
36ed4f51 8854 (char *) "self",(char *) "line", NULL
5e483524
RD
8855 };
8856
36ed4f51
RD
8857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail;
8858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8859 if (SWIG_arg_fail(1)) SWIG_fail;
8860 {
8861 arg2 = (int)(SWIG_As_int(obj1));
8862 if (SWIG_arg_fail(2)) SWIG_fail;
8863 }
5e483524
RD
8864 {
8865 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8866 result = (bool)(arg1)->GetFoldExpanded(arg2);
5e483524
RD
8867
8868 wxPyEndAllowThreads(__tstate);
8869 if (PyErr_Occurred()) SWIG_fail;
8870 }
36ed4f51
RD
8871 {
8872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8873 }
5e483524
RD
8874 return resultobj;
8875 fail:
8876 return NULL;
8877}
8878
8879
36ed4f51 8880static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyObject *kwargs) {
5e483524
RD
8881 PyObject *resultobj;
8882 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8883 int arg2 ;
8884 PyObject * obj0 = 0 ;
8885 PyObject * obj1 = 0 ;
8886 char *kwnames[] = {
36ed4f51 8887 (char *) "self",(char *) "line", NULL
5e483524
RD
8888 };
8889
36ed4f51
RD
8890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",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 }
5e483524
RD
8897 {
8898 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8899 (arg1)->ToggleFold(arg2);
5e483524
RD
8900
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 Py_INCREF(Py_None); resultobj = Py_None;
8905 return resultobj;
8906 fail:
8907 return NULL;
8908}
8909
8910
36ed4f51 8911static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
5e483524
RD
8912 PyObject *resultobj;
8913 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 8914 int arg2 ;
5e483524 8915 PyObject * obj0 = 0 ;
36ed4f51 8916 PyObject * obj1 = 0 ;
5e483524 8917 char *kwnames[] = {
36ed4f51 8918 (char *) "self",(char *) "line", NULL
5e483524
RD
8919 };
8920
36ed4f51
RD
8921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
8922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8923 if (SWIG_arg_fail(1)) SWIG_fail;
8924 {
8925 arg2 = (int)(SWIG_As_int(obj1));
8926 if (SWIG_arg_fail(2)) SWIG_fail;
8927 }
5e483524
RD
8928 {
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8930 (arg1)->EnsureVisible(arg2);
5e483524
RD
8931
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
36ed4f51 8935 Py_INCREF(Py_None); resultobj = Py_None;
5e483524
RD
8936 return resultobj;
8937 fail:
8938 return NULL;
8939}
8940
8941
36ed4f51 8942static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, PyObject *kwargs) {
5e483524
RD
8943 PyObject *resultobj;
8944 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8945 int arg2 ;
8946 PyObject * obj0 = 0 ;
8947 PyObject * obj1 = 0 ;
8948 char *kwnames[] = {
36ed4f51 8949 (char *) "self",(char *) "flags", NULL
5e483524
RD
8950 };
8951
36ed4f51
RD
8952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail;
8953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8954 if (SWIG_arg_fail(1)) SWIG_fail;
8955 {
8956 arg2 = (int)(SWIG_As_int(obj1));
8957 if (SWIG_arg_fail(2)) SWIG_fail;
8958 }
5e483524
RD
8959 {
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8961 (arg1)->SetFoldFlags(arg2);
5e483524
RD
8962
8963 wxPyEndAllowThreads(__tstate);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
8966 Py_INCREF(Py_None); resultobj = Py_None;
8967 return resultobj;
8968 fail:
8969 return NULL;
8970}
8971
8972
36ed4f51 8973static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyObject *args, PyObject *kwargs) {
5e483524
RD
8974 PyObject *resultobj;
8975 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 8976 int arg2 ;
5e483524 8977 PyObject * obj0 = 0 ;
36ed4f51 8978 PyObject * obj1 = 0 ;
5e483524 8979 char *kwnames[] = {
36ed4f51 8980 (char *) "self",(char *) "line", NULL
5e483524
RD
8981 };
8982
36ed4f51
RD
8983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail;
8984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8985 if (SWIG_arg_fail(1)) SWIG_fail;
8986 {
8987 arg2 = (int)(SWIG_As_int(obj1));
8988 if (SWIG_arg_fail(2)) SWIG_fail;
8989 }
5e483524
RD
8990 {
8991 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 8992 (arg1)->EnsureVisibleEnforcePolicy(arg2);
5e483524
RD
8993
8994 wxPyEndAllowThreads(__tstate);
8995 if (PyErr_Occurred()) SWIG_fail;
8996 }
36ed4f51 8997 Py_INCREF(Py_None); resultobj = Py_None;
5e483524
RD
8998 return resultobj;
8999 fail:
9000 return NULL;
9001}
9002
9003
36ed4f51 9004static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9005 PyObject *resultobj;
9006 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9007 bool arg2 ;
d14a1e28 9008 PyObject * obj0 = 0 ;
994141e6 9009 PyObject * obj1 = 0 ;
d14a1e28 9010 char *kwnames[] = {
36ed4f51 9011 (char *) "self",(char *) "tabIndents", NULL
d14a1e28
RD
9012 };
9013
36ed4f51
RD
9014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
9015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9016 if (SWIG_arg_fail(1)) SWIG_fail;
9017 {
9018 arg2 = (bool)(SWIG_As_bool(obj1));
9019 if (SWIG_arg_fail(2)) SWIG_fail;
9020 }
d14a1e28
RD
9021 {
9022 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9023 (arg1)->SetTabIndents(arg2);
d14a1e28
RD
9024
9025 wxPyEndAllowThreads(__tstate);
9026 if (PyErr_Occurred()) SWIG_fail;
9027 }
9028 Py_INCREF(Py_None); resultobj = Py_None;
9029 return resultobj;
9030 fail:
9031 return NULL;
9032}
9033
9034
36ed4f51 9035static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9036 PyObject *resultobj;
9037 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9038 bool result;
d14a1e28
RD
9039 PyObject * obj0 = 0 ;
9040 char *kwnames[] = {
9041 (char *) "self", NULL
9042 };
9043
36ed4f51
RD
9044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
9045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9046 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9049 result = (bool)(arg1)->GetTabIndents();
d14a1e28
RD
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
36ed4f51
RD
9054 {
9055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9056 }
d14a1e28
RD
9057 return resultobj;
9058 fail:
9059 return NULL;
9060}
9061
9062
36ed4f51 9063static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9064 PyObject *resultobj;
9065 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9066 bool arg2 ;
d14a1e28 9067 PyObject * obj0 = 0 ;
994141e6 9068 PyObject * obj1 = 0 ;
d14a1e28 9069 char *kwnames[] = {
36ed4f51 9070 (char *) "self",(char *) "bsUnIndents", NULL
d14a1e28
RD
9071 };
9072
36ed4f51
RD
9073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail;
9074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9075 if (SWIG_arg_fail(1)) SWIG_fail;
9076 {
9077 arg2 = (bool)(SWIG_As_bool(obj1));
9078 if (SWIG_arg_fail(2)) SWIG_fail;
9079 }
d14a1e28
RD
9080 {
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9082 (arg1)->SetBackSpaceUnIndents(arg2);
d14a1e28
RD
9083
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 }
9087 Py_INCREF(Py_None); resultobj = Py_None;
9088 return resultobj;
9089 fail:
9090 return NULL;
9091}
9092
9093
36ed4f51 9094static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9095 PyObject *resultobj;
9096 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9097 bool result;
d14a1e28
RD
9098 PyObject * obj0 = 0 ;
9099 char *kwnames[] = {
9100 (char *) "self", NULL
9101 };
9102
36ed4f51
RD
9103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail;
9104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9105 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9106 {
9107 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9108 result = (bool)(arg1)->GetBackSpaceUnIndents();
d14a1e28
RD
9109
9110 wxPyEndAllowThreads(__tstate);
9111 if (PyErr_Occurred()) SWIG_fail;
9112 }
36ed4f51
RD
9113 {
9114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9115 }
d14a1e28
RD
9116 return resultobj;
9117 fail:
9118 return NULL;
9119}
9120
9121
36ed4f51 9122static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9123 PyObject *resultobj;
9124 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9125 int arg2 ;
d14a1e28 9126 PyObject * obj0 = 0 ;
994141e6 9127 PyObject * obj1 = 0 ;
d14a1e28 9128 char *kwnames[] = {
36ed4f51 9129 (char *) "self",(char *) "periodMilliseconds", NULL
d14a1e28
RD
9130 };
9131
36ed4f51
RD
9132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail;
9133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9134 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 9135 {
36ed4f51
RD
9136 arg2 = (int)(SWIG_As_int(obj1));
9137 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
9138 }
9139 {
9140 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9141 (arg1)->SetMouseDwellTime(arg2);
d14a1e28
RD
9142
9143 wxPyEndAllowThreads(__tstate);
9144 if (PyErr_Occurred()) SWIG_fail;
9145 }
36ed4f51 9146 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9147 return resultobj;
9148 fail:
d14a1e28
RD
9149 return NULL;
9150}
9151
9152
36ed4f51 9153static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9154 PyObject *resultobj;
9155 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9156 int result;
d14a1e28 9157 PyObject * obj0 = 0 ;
d14a1e28 9158 char *kwnames[] = {
36ed4f51 9159 (char *) "self", NULL
d14a1e28
RD
9160 };
9161
36ed4f51
RD
9162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
9163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9164 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9165 {
9166 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9167 result = (int)(arg1)->GetMouseDwellTime();
d14a1e28
RD
9168
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 }
36ed4f51
RD
9172 {
9173 resultobj = SWIG_From_int((int)(result));
9174 }
d14a1e28
RD
9175 return resultobj;
9176 fail:
9177 return NULL;
9178}
9179
9180
36ed4f51 9181static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9182 PyObject *resultobj;
9183 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
9184 int arg2 ;
9185 bool arg3 ;
d14a1e28
RD
9186 int result;
9187 PyObject * obj0 = 0 ;
36ed4f51
RD
9188 PyObject * obj1 = 0 ;
9189 PyObject * obj2 = 0 ;
d14a1e28 9190 char *kwnames[] = {
36ed4f51 9191 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
d14a1e28
RD
9192 };
9193
36ed4f51
RD
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9196 if (SWIG_arg_fail(1)) SWIG_fail;
9197 {
9198 arg2 = (int)(SWIG_As_int(obj1));
9199 if (SWIG_arg_fail(2)) SWIG_fail;
9200 }
9201 {
9202 arg3 = (bool)(SWIG_As_bool(obj2));
9203 if (SWIG_arg_fail(3)) SWIG_fail;
9204 }
d14a1e28
RD
9205 {
9206 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9207 result = (int)(arg1)->WordStartPosition(arg2,arg3);
d14a1e28
RD
9208
9209 wxPyEndAllowThreads(__tstate);
9210 if (PyErr_Occurred()) SWIG_fail;
9211 }
36ed4f51
RD
9212 {
9213 resultobj = SWIG_From_int((int)(result));
9214 }
d14a1e28
RD
9215 return resultobj;
9216 fail:
9217 return NULL;
9218}
9219
9220
36ed4f51 9221static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9222 PyObject *resultobj;
9223 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9224 int arg2 ;
36ed4f51 9225 bool arg3 ;
d14a1e28
RD
9226 int result;
9227 PyObject * obj0 = 0 ;
994141e6 9228 PyObject * obj1 = 0 ;
36ed4f51 9229 PyObject * obj2 = 0 ;
d14a1e28 9230 char *kwnames[] = {
36ed4f51 9231 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
d14a1e28
RD
9232 };
9233
36ed4f51
RD
9234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9236 if (SWIG_arg_fail(1)) SWIG_fail;
9237 {
9238 arg2 = (int)(SWIG_As_int(obj1));
9239 if (SWIG_arg_fail(2)) SWIG_fail;
9240 }
9241 {
9242 arg3 = (bool)(SWIG_As_bool(obj2));
9243 if (SWIG_arg_fail(3)) SWIG_fail;
9244 }
d14a1e28
RD
9245 {
9246 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9247 result = (int)(arg1)->WordEndPosition(arg2,arg3);
d14a1e28
RD
9248
9249 wxPyEndAllowThreads(__tstate);
9250 if (PyErr_Occurred()) SWIG_fail;
9251 }
36ed4f51
RD
9252 {
9253 resultobj = SWIG_From_int((int)(result));
9254 }
d14a1e28
RD
9255 return resultobj;
9256 fail:
9257 return NULL;
9258}
9259
9260
36ed4f51 9261static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9262 PyObject *resultobj;
9263 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9264 int arg2 ;
d14a1e28
RD
9265 PyObject * obj0 = 0 ;
9266 PyObject * obj1 = 0 ;
9267 char *kwnames[] = {
36ed4f51 9268 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
9269 };
9270
36ed4f51
RD
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail;
9272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9273 if (SWIG_arg_fail(1)) SWIG_fail;
9274 {
9275 arg2 = (int)(SWIG_As_int(obj1));
9276 if (SWIG_arg_fail(2)) SWIG_fail;
9277 }
d14a1e28
RD
9278 {
9279 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9280 (arg1)->SetWrapMode(arg2);
d14a1e28
RD
9281
9282 wxPyEndAllowThreads(__tstate);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 }
9285 Py_INCREF(Py_None); resultobj = Py_None;
9286 return resultobj;
9287 fail:
9288 return NULL;
9289}
9290
9291
36ed4f51 9292static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9293 PyObject *resultobj;
9294 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9295 int result;
d14a1e28
RD
9296 PyObject * obj0 = 0 ;
9297 char *kwnames[] = {
9298 (char *) "self", NULL
9299 };
9300
36ed4f51
RD
9301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail;
9302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9303 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9304 {
9305 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9306 result = (int)(arg1)->GetWrapMode();
d14a1e28
RD
9307
9308 wxPyEndAllowThreads(__tstate);
9309 if (PyErr_Occurred()) SWIG_fail;
9310 }
4f89f6a3 9311 {
36ed4f51 9312 resultobj = SWIG_From_int((int)(result));
4f89f6a3 9313 }
d14a1e28
RD
9314 return resultobj;
9315 fail:
9316 return NULL;
9317}
9318
9319
36ed4f51 9320static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9321 PyObject *resultobj;
9322 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9323 int arg2 ;
d14a1e28 9324 PyObject * obj0 = 0 ;
994141e6 9325 PyObject * obj1 = 0 ;
d14a1e28 9326 char *kwnames[] = {
36ed4f51 9327 (char *) "self",(char *) "wrapVisualFlags", NULL
d14a1e28
RD
9328 };
9329
36ed4f51
RD
9330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) goto fail;
9331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9332 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 9333 {
36ed4f51
RD
9334 arg2 = (int)(SWIG_As_int(obj1));
9335 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
9336 }
9337 {
9338 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9339 (arg1)->SetWrapVisualFlags(arg2);
d14a1e28
RD
9340
9341 wxPyEndAllowThreads(__tstate);
9342 if (PyErr_Occurred()) SWIG_fail;
9343 }
9344 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9345 return resultobj;
9346 fail:
d14a1e28
RD
9347 return NULL;
9348}
9349
9350
36ed4f51 9351static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9352 PyObject *resultobj;
9353 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9354 int result;
d14a1e28
RD
9355 PyObject * obj0 = 0 ;
9356 char *kwnames[] = {
9357 (char *) "self", NULL
9358 };
9359
36ed4f51
RD
9360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlags",kwnames,&obj0)) goto fail;
9361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9362 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9363 {
9364 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9365 result = (int)(arg1)->GetWrapVisualFlags();
d14a1e28
RD
9366
9367 wxPyEndAllowThreads(__tstate);
9368 if (PyErr_Occurred()) SWIG_fail;
9369 }
4f89f6a3 9370 {
36ed4f51 9371 resultobj = SWIG_From_int((int)(result));
4f89f6a3 9372 }
d14a1e28
RD
9373 return resultobj;
9374 fail:
9375 return NULL;
9376}
9377
9378
36ed4f51 9379static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9380 PyObject *resultobj;
9381 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9382 int arg2 ;
d14a1e28
RD
9383 PyObject * obj0 = 0 ;
9384 PyObject * obj1 = 0 ;
9385 char *kwnames[] = {
36ed4f51 9386 (char *) "self",(char *) "wrapVisualFlagsLocation", NULL
d14a1e28
RD
9387 };
9388
36ed4f51
RD
9389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) goto fail;
9390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9391 if (SWIG_arg_fail(1)) SWIG_fail;
9392 {
9393 arg2 = (int)(SWIG_As_int(obj1));
9394 if (SWIG_arg_fail(2)) SWIG_fail;
9395 }
d14a1e28
RD
9396 {
9397 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9398 (arg1)->SetWrapVisualFlagsLocation(arg2);
d14a1e28
RD
9399
9400 wxPyEndAllowThreads(__tstate);
9401 if (PyErr_Occurred()) SWIG_fail;
9402 }
9403 Py_INCREF(Py_None); resultobj = Py_None;
9404 return resultobj;
9405 fail:
9406 return NULL;
9407}
9408
9409
36ed4f51 9410static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9411 PyObject *resultobj;
9412 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9413 int result;
d14a1e28
RD
9414 PyObject * obj0 = 0 ;
9415 char *kwnames[] = {
9416 (char *) "self", NULL
9417 };
9418
36ed4f51
RD
9419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlagsLocation",kwnames,&obj0)) goto fail;
9420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9421 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9422 {
9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9424 result = (int)(arg1)->GetWrapVisualFlagsLocation();
d14a1e28
RD
9425
9426 wxPyEndAllowThreads(__tstate);
9427 if (PyErr_Occurred()) SWIG_fail;
9428 }
36ed4f51
RD
9429 {
9430 resultobj = SWIG_From_int((int)(result));
9431 }
d14a1e28
RD
9432 return resultobj;
9433 fail:
9434 return NULL;
9435}
9436
9437
36ed4f51 9438static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9439 PyObject *resultobj;
9440 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9441 int arg2 ;
d14a1e28 9442 PyObject * obj0 = 0 ;
36ed4f51 9443 PyObject * obj1 = 0 ;
d14a1e28 9444 char *kwnames[] = {
36ed4f51 9445 (char *) "self",(char *) "indent", NULL
d14a1e28
RD
9446 };
9447
36ed4f51
RD
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) goto fail;
9449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9450 if (SWIG_arg_fail(1)) SWIG_fail;
9451 {
9452 arg2 = (int)(SWIG_As_int(obj1));
9453 if (SWIG_arg_fail(2)) SWIG_fail;
9454 }
d14a1e28
RD
9455 {
9456 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9457 (arg1)->SetWrapStartIndent(arg2);
d14a1e28
RD
9458
9459 wxPyEndAllowThreads(__tstate);
9460 if (PyErr_Occurred()) SWIG_fail;
9461 }
9462 Py_INCREF(Py_None); resultobj = Py_None;
9463 return resultobj;
9464 fail:
9465 return NULL;
9466}
9467
9468
36ed4f51 9469static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9470 PyObject *resultobj;
9471 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9472 int result;
d14a1e28
RD
9473 PyObject * obj0 = 0 ;
9474 char *kwnames[] = {
36ed4f51 9475 (char *) "self", NULL
d14a1e28
RD
9476 };
9477
36ed4f51
RD
9478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapStartIndent",kwnames,&obj0)) goto fail;
9479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9480 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9481 {
9482 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9483 result = (int)(arg1)->GetWrapStartIndent();
d14a1e28
RD
9484
9485 wxPyEndAllowThreads(__tstate);
9486 if (PyErr_Occurred()) SWIG_fail;
9487 }
36ed4f51
RD
9488 {
9489 resultobj = SWIG_From_int((int)(result));
9490 }
d14a1e28
RD
9491 return resultobj;
9492 fail:
9493 return NULL;
9494}
9495
9496
36ed4f51 9497static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9498 PyObject *resultobj;
9499 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9500 int arg2 ;
d14a1e28
RD
9501 PyObject * obj0 = 0 ;
9502 PyObject * obj1 = 0 ;
d14a1e28 9503 char *kwnames[] = {
36ed4f51 9504 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
9505 };
9506
36ed4f51
RD
9507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail;
9508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9509 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 9510 {
36ed4f51
RD
9511 arg2 = (int)(SWIG_As_int(obj1));
9512 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
9513 }
9514 {
9515 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9516 (arg1)->SetLayoutCache(arg2);
d14a1e28
RD
9517
9518 wxPyEndAllowThreads(__tstate);
9519 if (PyErr_Occurred()) SWIG_fail;
9520 }
9521 Py_INCREF(Py_None); resultobj = Py_None;
9522 return resultobj;
9523 fail:
9524 return NULL;
9525}
9526
9527
36ed4f51 9528static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9529 PyObject *resultobj;
9530 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9531 int result;
d14a1e28 9532 PyObject * obj0 = 0 ;
d14a1e28 9533 char *kwnames[] = {
36ed4f51 9534 (char *) "self", NULL
d14a1e28
RD
9535 };
9536
36ed4f51
RD
9537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
9538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9539 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9540 {
9541 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9542 result = (int)(arg1)->GetLayoutCache();
d14a1e28
RD
9543
9544 wxPyEndAllowThreads(__tstate);
9545 if (PyErr_Occurred()) SWIG_fail;
9546 }
36ed4f51
RD
9547 {
9548 resultobj = SWIG_From_int((int)(result));
9549 }
d14a1e28
RD
9550 return resultobj;
9551 fail:
9552 return NULL;
9553}
9554
9555
36ed4f51 9556static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9557 PyObject *resultobj;
9558 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9559 int arg2 ;
d14a1e28 9560 PyObject * obj0 = 0 ;
36ed4f51 9561 PyObject * obj1 = 0 ;
d14a1e28 9562 char *kwnames[] = {
36ed4f51 9563 (char *) "self",(char *) "pixelWidth", NULL
d14a1e28
RD
9564 };
9565
36ed4f51
RD
9566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail;
9567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9568 if (SWIG_arg_fail(1)) SWIG_fail;
9569 {
9570 arg2 = (int)(SWIG_As_int(obj1));
9571 if (SWIG_arg_fail(2)) SWIG_fail;
9572 }
d14a1e28
RD
9573 {
9574 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9575 (arg1)->SetScrollWidth(arg2);
d14a1e28
RD
9576
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
9580 Py_INCREF(Py_None); resultobj = Py_None;
9581 return resultobj;
9582 fail:
9583 return NULL;
9584}
9585
9586
36ed4f51 9587static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9588 PyObject *resultobj;
9589 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9590 int result;
d14a1e28
RD
9591 PyObject * obj0 = 0 ;
9592 char *kwnames[] = {
9593 (char *) "self", NULL
9594 };
9595
36ed4f51
RD
9596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail;
9597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9598 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9599 {
9600 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9601 result = (int)(arg1)->GetScrollWidth();
d14a1e28
RD
9602
9603 wxPyEndAllowThreads(__tstate);
9604 if (PyErr_Occurred()) SWIG_fail;
9605 }
36ed4f51
RD
9606 {
9607 resultobj = SWIG_From_int((int)(result));
9608 }
d14a1e28
RD
9609 return resultobj;
9610 fail:
9611 return NULL;
9612}
9613
9614
36ed4f51 9615static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9616 PyObject *resultobj;
9617 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
9618 int arg2 ;
9619 wxString *arg3 = 0 ;
9620 int result;
9621 bool temp3 = false ;
d14a1e28 9622 PyObject * obj0 = 0 ;
36ed4f51
RD
9623 PyObject * obj1 = 0 ;
9624 PyObject * obj2 = 0 ;
d14a1e28 9625 char *kwnames[] = {
36ed4f51 9626 (char *) "self",(char *) "style",(char *) "text", NULL
d14a1e28
RD
9627 };
9628
36ed4f51
RD
9629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = (int)(SWIG_As_int(obj1));
9634 if (SWIG_arg_fail(2)) SWIG_fail;
9635 }
9636 {
9637 arg3 = wxString_in_helper(obj2);
9638 if (arg3 == NULL) SWIG_fail;
9639 temp3 = true;
9640 }
d14a1e28
RD
9641 {
9642 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9643 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
d14a1e28
RD
9644
9645 wxPyEndAllowThreads(__tstate);
9646 if (PyErr_Occurred()) SWIG_fail;
9647 }
36ed4f51
RD
9648 {
9649 resultobj = SWIG_From_int((int)(result));
9650 }
9651 {
9652 if (temp3)
9653 delete arg3;
9654 }
d14a1e28
RD
9655 return resultobj;
9656 fail:
36ed4f51
RD
9657 {
9658 if (temp3)
9659 delete arg3;
9660 }
d14a1e28
RD
9661 return NULL;
9662}
9663
9664
36ed4f51 9665static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9666 PyObject *resultobj;
9667 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9668 bool arg2 ;
d14a1e28 9669 PyObject * obj0 = 0 ;
36ed4f51 9670 PyObject * obj1 = 0 ;
d14a1e28 9671 char *kwnames[] = {
36ed4f51 9672 (char *) "self",(char *) "endAtLastLine", NULL
d14a1e28
RD
9673 };
9674
36ed4f51
RD
9675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
9676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9677 if (SWIG_arg_fail(1)) SWIG_fail;
9678 {
9679 arg2 = (bool)(SWIG_As_bool(obj1));
9680 if (SWIG_arg_fail(2)) SWIG_fail;
9681 }
d14a1e28
RD
9682 {
9683 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9684 (arg1)->SetEndAtLastLine(arg2);
d14a1e28
RD
9685
9686 wxPyEndAllowThreads(__tstate);
9687 if (PyErr_Occurred()) SWIG_fail;
9688 }
9689 Py_INCREF(Py_None); resultobj = Py_None;
9690 return resultobj;
9691 fail:
9692 return NULL;
9693}
9694
9695
36ed4f51 9696static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9697 PyObject *resultobj;
9698 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9699 int result;
d14a1e28
RD
9700 PyObject * obj0 = 0 ;
9701 char *kwnames[] = {
9702 (char *) "self", NULL
9703 };
9704
36ed4f51
RD
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
9706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9707 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9708 {
9709 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9710 result = (int)(arg1)->GetEndAtLastLine();
d14a1e28
RD
9711
9712 wxPyEndAllowThreads(__tstate);
9713 if (PyErr_Occurred()) SWIG_fail;
9714 }
36ed4f51
RD
9715 {
9716 resultobj = SWIG_From_int((int)(result));
9717 }
d14a1e28
RD
9718 return resultobj;
9719 fail:
9720 return NULL;
9721}
9722
9723
36ed4f51 9724static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9725 PyObject *resultobj;
9726 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
9727 int arg2 ;
9728 int result;
d14a1e28 9729 PyObject * obj0 = 0 ;
36ed4f51 9730 PyObject * obj1 = 0 ;
d14a1e28 9731 char *kwnames[] = {
36ed4f51 9732 (char *) "self",(char *) "line", NULL
d14a1e28
RD
9733 };
9734
36ed4f51
RD
9735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail;
9736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9737 if (SWIG_arg_fail(1)) SWIG_fail;
9738 {
9739 arg2 = (int)(SWIG_As_int(obj1));
9740 if (SWIG_arg_fail(2)) SWIG_fail;
9741 }
d14a1e28
RD
9742 {
9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9744 result = (int)(arg1)->TextHeight(arg2);
d14a1e28
RD
9745
9746 wxPyEndAllowThreads(__tstate);
9747 if (PyErr_Occurred()) SWIG_fail;
9748 }
36ed4f51
RD
9749 {
9750 resultobj = SWIG_From_int((int)(result));
9751 }
d14a1e28
RD
9752 return resultobj;
9753 fail:
9754 return NULL;
9755}
9756
9757
36ed4f51 9758static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9759 PyObject *resultobj;
9760 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9761 bool arg2 ;
d14a1e28 9762 PyObject * obj0 = 0 ;
36ed4f51 9763 PyObject * obj1 = 0 ;
d14a1e28 9764 char *kwnames[] = {
36ed4f51 9765 (char *) "self",(char *) "show", NULL
d14a1e28
RD
9766 };
9767
36ed4f51
RD
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",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 = (bool)(SWIG_As_bool(obj1));
9773 if (SWIG_arg_fail(2)) SWIG_fail;
9774 }
d14a1e28
RD
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9777 (arg1)->SetUseVerticalScrollBar(arg2);
d14a1e28
RD
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
9782 Py_INCREF(Py_None); resultobj = Py_None;
9783 return resultobj;
9784 fail:
9785 return NULL;
9786}
9787
9788
36ed4f51 9789static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9790 PyObject *resultobj;
9791 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9792 bool result;
d14a1e28
RD
9793 PyObject * obj0 = 0 ;
9794 char *kwnames[] = {
4276dc52 9795 (char *) "self", NULL
d14a1e28
RD
9796 };
9797
36ed4f51
RD
9798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
9799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9800 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9801 {
9802 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9803 result = (bool)(arg1)->GetUseVerticalScrollBar();
d14a1e28
RD
9804
9805 wxPyEndAllowThreads(__tstate);
9806 if (PyErr_Occurred()) SWIG_fail;
9807 }
36ed4f51
RD
9808 {
9809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9810 }
d14a1e28
RD
9811 return resultobj;
9812 fail:
9813 return NULL;
9814}
9815
9816
36ed4f51 9817static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9818 PyObject *resultobj;
9819 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
66af7a75
RD
9820 wxString *arg2 = 0 ;
9821 bool temp2 = false ;
d14a1e28 9822 PyObject * obj0 = 0 ;
36ed4f51 9823 PyObject * obj1 = 0 ;
d14a1e28 9824 char *kwnames[] = {
66af7a75 9825 (char *) "self",(char *) "text", NULL
d14a1e28
RD
9826 };
9827
66af7a75 9828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9830 if (SWIG_arg_fail(1)) SWIG_fail;
9831 {
66af7a75
RD
9832 arg2 = wxString_in_helper(obj1);
9833 if (arg2 == NULL) SWIG_fail;
9834 temp2 = true;
36ed4f51 9835 }
d14a1e28
RD
9836 {
9837 PyThreadState* __tstate = wxPyBeginAllowThreads();
66af7a75 9838 (arg1)->AppendText((wxString const &)*arg2);
d14a1e28
RD
9839
9840 wxPyEndAllowThreads(__tstate);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 }
9843 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51 9844 {
66af7a75
RD
9845 if (temp2)
9846 delete arg2;
36ed4f51 9847 }
d14a1e28
RD
9848 return resultobj;
9849 fail:
36ed4f51 9850 {
66af7a75
RD
9851 if (temp2)
9852 delete arg2;
36ed4f51 9853 }
d14a1e28
RD
9854 return NULL;
9855}
9856
9857
36ed4f51 9858static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9859 PyObject *resultobj;
9860 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9861 bool result;
d14a1e28
RD
9862 PyObject * obj0 = 0 ;
9863 char *kwnames[] = {
4276dc52 9864 (char *) "self", NULL
d14a1e28
RD
9865 };
9866
36ed4f51
RD
9867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
9868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9869 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9870 {
9871 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9872 result = (bool)(arg1)->GetTwoPhaseDraw();
d14a1e28
RD
9873
9874 wxPyEndAllowThreads(__tstate);
9875 if (PyErr_Occurred()) SWIG_fail;
9876 }
36ed4f51
RD
9877 {
9878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9879 }
d14a1e28
RD
9880 return resultobj;
9881 fail:
9882 return NULL;
9883}
9884
9885
36ed4f51 9886static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9887 PyObject *resultobj;
9888 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9889 bool arg2 ;
d14a1e28 9890 PyObject * obj0 = 0 ;
36ed4f51 9891 PyObject * obj1 = 0 ;
d14a1e28 9892 char *kwnames[] = {
36ed4f51 9893 (char *) "self",(char *) "twoPhase", NULL
d14a1e28
RD
9894 };
9895
36ed4f51
RD
9896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
9897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9898 if (SWIG_arg_fail(1)) SWIG_fail;
9899 {
9900 arg2 = (bool)(SWIG_As_bool(obj1));
9901 if (SWIG_arg_fail(2)) SWIG_fail;
9902 }
d14a1e28
RD
9903 {
9904 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9905 (arg1)->SetTwoPhaseDraw(arg2);
d14a1e28
RD
9906
9907 wxPyEndAllowThreads(__tstate);
9908 if (PyErr_Occurred()) SWIG_fail;
9909 }
4276dc52 9910 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9911 return resultobj;
9912 fail:
9913 return NULL;
9914}
9915
9916
36ed4f51 9917static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9918 PyObject *resultobj;
9919 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
9920 PyObject * obj0 = 0 ;
9921 char *kwnames[] = {
9922 (char *) "self", NULL
9923 };
9924
36ed4f51
RD
9925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
9926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9927 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9928 {
9929 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9930 (arg1)->TargetFromSelection();
d14a1e28
RD
9931
9932 wxPyEndAllowThreads(__tstate);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 }
4276dc52 9935 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9936 return resultobj;
9937 fail:
9938 return NULL;
9939}
9940
9941
36ed4f51 9942static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9943 PyObject *resultobj;
9944 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 9945 PyObject * obj0 = 0 ;
d14a1e28 9946 char *kwnames[] = {
4276dc52 9947 (char *) "self", NULL
d14a1e28
RD
9948 };
9949
36ed4f51
RD
9950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
9951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9952 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9953 {
9954 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9955 (arg1)->LinesJoin();
d14a1e28
RD
9956
9957 wxPyEndAllowThreads(__tstate);
9958 if (PyErr_Occurred()) SWIG_fail;
9959 }
9960 Py_INCREF(Py_None); resultobj = Py_None;
9961 return resultobj;
9962 fail:
9963 return NULL;
9964}
9965
9966
36ed4f51 9967static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9968 PyObject *resultobj;
9969 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 9970 int arg2 ;
d14a1e28 9971 PyObject * obj0 = 0 ;
36ed4f51 9972 PyObject * obj1 = 0 ;
d14a1e28 9973 char *kwnames[] = {
36ed4f51 9974 (char *) "self",(char *) "pixelWidth", NULL
d14a1e28
RD
9975 };
9976
36ed4f51
RD
9977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail;
9978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9979 if (SWIG_arg_fail(1)) SWIG_fail;
9980 {
9981 arg2 = (int)(SWIG_As_int(obj1));
9982 if (SWIG_arg_fail(2)) SWIG_fail;
9983 }
d14a1e28
RD
9984 {
9985 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9986 (arg1)->LinesSplit(arg2);
d14a1e28
RD
9987
9988 wxPyEndAllowThreads(__tstate);
9989 if (PyErr_Occurred()) SWIG_fail;
9990 }
4276dc52 9991 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
9992 return resultobj;
9993 fail:
9994 return NULL;
9995}
9996
9997
36ed4f51 9998static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9999 PyObject *resultobj;
10000 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
10001 bool arg2 ;
10002 wxColour *arg3 = 0 ;
10003 wxColour temp3 ;
d14a1e28 10004 PyObject * obj0 = 0 ;
36ed4f51
RD
10005 PyObject * obj1 = 0 ;
10006 PyObject * obj2 = 0 ;
d14a1e28 10007 char *kwnames[] = {
36ed4f51 10008 (char *) "self",(char *) "useSetting",(char *) "back", NULL
d14a1e28
RD
10009 };
10010
36ed4f51
RD
10011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10013 if (SWIG_arg_fail(1)) SWIG_fail;
10014 {
10015 arg2 = (bool)(SWIG_As_bool(obj1));
10016 if (SWIG_arg_fail(2)) SWIG_fail;
10017 }
10018 {
10019 arg3 = &temp3;
10020 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10021 }
d14a1e28
RD
10022 {
10023 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10024 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
d14a1e28
RD
10025
10026 wxPyEndAllowThreads(__tstate);
10027 if (PyErr_Occurred()) SWIG_fail;
10028 }
10029 Py_INCREF(Py_None); resultobj = Py_None;
10030 return resultobj;
10031 fail:
10032 return NULL;
10033}
10034
10035
36ed4f51 10036static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10037 PyObject *resultobj;
10038 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
10039 bool arg2 ;
10040 wxColour *arg3 = 0 ;
10041 wxColour temp3 ;
d14a1e28 10042 PyObject * obj0 = 0 ;
36ed4f51
RD
10043 PyObject * obj1 = 0 ;
10044 PyObject * obj2 = 0 ;
d14a1e28 10045 char *kwnames[] = {
36ed4f51 10046 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
d14a1e28
RD
10047 };
10048
36ed4f51
RD
10049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10051 if (SWIG_arg_fail(1)) SWIG_fail;
10052 {
10053 arg2 = (bool)(SWIG_As_bool(obj1));
10054 if (SWIG_arg_fail(2)) SWIG_fail;
10055 }
10056 {
10057 arg3 = &temp3;
10058 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10059 }
d14a1e28
RD
10060 {
10061 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10062 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
d14a1e28
RD
10063
10064 wxPyEndAllowThreads(__tstate);
10065 if (PyErr_Occurred()) SWIG_fail;
10066 }
10067 Py_INCREF(Py_None); resultobj = Py_None;
10068 return resultobj;
10069 fail:
10070 return NULL;
10071}
10072
10073
36ed4f51 10074static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10075 PyObject *resultobj;
10076 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10077 PyObject * obj0 = 0 ;
10078 char *kwnames[] = {
10079 (char *) "self", NULL
10080 };
10081
36ed4f51
RD
10082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail;
10083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10084 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10085 {
10086 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10087 (arg1)->LineDown();
d14a1e28
RD
10088
10089 wxPyEndAllowThreads(__tstate);
10090 if (PyErr_Occurred()) SWIG_fail;
10091 }
4276dc52 10092 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10093 return resultobj;
10094 fail:
10095 return NULL;
10096}
10097
10098
36ed4f51 10099static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10100 PyObject *resultobj;
10101 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10102 PyObject * obj0 = 0 ;
10103 char *kwnames[] = {
4276dc52 10104 (char *) "self", NULL
d14a1e28
RD
10105 };
10106
36ed4f51
RD
10107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail;
10108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10109 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10110 {
10111 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10112 (arg1)->LineDownExtend();
d14a1e28
RD
10113
10114 wxPyEndAllowThreads(__tstate);
10115 if (PyErr_Occurred()) SWIG_fail;
10116 }
10117 Py_INCREF(Py_None); resultobj = Py_None;
10118 return resultobj;
10119 fail:
10120 return NULL;
10121}
10122
10123
36ed4f51 10124static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10125 PyObject *resultobj;
10126 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10127 PyObject * obj0 = 0 ;
10128 char *kwnames[] = {
10129 (char *) "self", NULL
10130 };
10131
36ed4f51
RD
10132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail;
10133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10134 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10135 {
10136 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10137 (arg1)->LineUp();
d14a1e28
RD
10138
10139 wxPyEndAllowThreads(__tstate);
10140 if (PyErr_Occurred()) SWIG_fail;
10141 }
4276dc52 10142 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10143 return resultobj;
10144 fail:
10145 return NULL;
10146}
10147
10148
36ed4f51 10149static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10150 PyObject *resultobj;
10151 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10152 PyObject * obj0 = 0 ;
10153 char *kwnames[] = {
4276dc52 10154 (char *) "self", NULL
d14a1e28
RD
10155 };
10156
36ed4f51
RD
10157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail;
10158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10159 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10160 {
10161 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10162 (arg1)->LineUpExtend();
d14a1e28
RD
10163
10164 wxPyEndAllowThreads(__tstate);
10165 if (PyErr_Occurred()) SWIG_fail;
10166 }
10167 Py_INCREF(Py_None); resultobj = Py_None;
10168 return resultobj;
10169 fail:
10170 return NULL;
10171}
10172
10173
36ed4f51 10174static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10175 PyObject *resultobj;
10176 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10177 PyObject * obj0 = 0 ;
10178 char *kwnames[] = {
10179 (char *) "self", NULL
10180 };
10181
36ed4f51
RD
10182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail;
10183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10184 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10185 {
10186 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10187 (arg1)->CharLeft();
d14a1e28
RD
10188
10189 wxPyEndAllowThreads(__tstate);
10190 if (PyErr_Occurred()) SWIG_fail;
10191 }
4276dc52 10192 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10193 return resultobj;
10194 fail:
10195 return NULL;
10196}
10197
10198
36ed4f51 10199static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10200 PyObject *resultobj;
10201 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 10202 PyObject * obj0 = 0 ;
d14a1e28 10203 char *kwnames[] = {
4276dc52 10204 (char *) "self", NULL
d14a1e28
RD
10205 };
10206
36ed4f51
RD
10207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail;
10208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10209 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10210 {
10211 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10212 (arg1)->CharLeftExtend();
d14a1e28
RD
10213
10214 wxPyEndAllowThreads(__tstate);
10215 if (PyErr_Occurred()) SWIG_fail;
10216 }
10217 Py_INCREF(Py_None); resultobj = Py_None;
10218 return resultobj;
10219 fail:
10220 return NULL;
10221}
10222
10223
36ed4f51 10224static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10225 PyObject *resultobj;
10226 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10227 PyObject * obj0 = 0 ;
10228 char *kwnames[] = {
10229 (char *) "self", NULL
10230 };
10231
36ed4f51
RD
10232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail;
10233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10234 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10235 {
10236 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10237 (arg1)->CharRight();
d14a1e28
RD
10238
10239 wxPyEndAllowThreads(__tstate);
10240 if (PyErr_Occurred()) SWIG_fail;
10241 }
10242 Py_INCREF(Py_None); resultobj = Py_None;
10243 return resultobj;
10244 fail:
10245 return NULL;
10246}
10247
10248
36ed4f51 10249static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10250 PyObject *resultobj;
10251 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 10252 PyObject * obj0 = 0 ;
d14a1e28 10253 char *kwnames[] = {
4276dc52 10254 (char *) "self", NULL
d14a1e28
RD
10255 };
10256
36ed4f51
RD
10257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail;
10258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10259 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10260 {
10261 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10262 (arg1)->CharRightExtend();
d14a1e28
RD
10263
10264 wxPyEndAllowThreads(__tstate);
10265 if (PyErr_Occurred()) SWIG_fail;
10266 }
4276dc52 10267 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10268 return resultobj;
10269 fail:
d14a1e28
RD
10270 return NULL;
10271}
10272
10273
36ed4f51 10274static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10275 PyObject *resultobj;
10276 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 10277 PyObject * obj0 = 0 ;
d14a1e28 10278 char *kwnames[] = {
4276dc52 10279 (char *) "self", NULL
d14a1e28
RD
10280 };
10281
36ed4f51
RD
10282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail;
10283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10284 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10285 {
10286 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10287 (arg1)->WordLeft();
d14a1e28
RD
10288
10289 wxPyEndAllowThreads(__tstate);
10290 if (PyErr_Occurred()) SWIG_fail;
10291 }
4276dc52 10292 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10293 return resultobj;
10294 fail:
d14a1e28
RD
10295 return NULL;
10296}
10297
10298
36ed4f51 10299static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10300 PyObject *resultobj;
10301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10302 PyObject * obj0 = 0 ;
10303 char *kwnames[] = {
10304 (char *) "self", NULL
10305 };
10306
36ed4f51
RD
10307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail;
10308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10309 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10312 (arg1)->WordLeftExtend();
d14a1e28
RD
10313
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
4276dc52 10317 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10318 return resultobj;
10319 fail:
10320 return NULL;
10321}
10322
10323
36ed4f51 10324static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10325 PyObject *resultobj;
10326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 10327 PyObject * obj0 = 0 ;
d14a1e28 10328 char *kwnames[] = {
4276dc52 10329 (char *) "self", NULL
d14a1e28
RD
10330 };
10331
36ed4f51
RD
10332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail;
10333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10334 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10335 {
10336 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10337 (arg1)->WordRight();
d14a1e28
RD
10338
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
10342 Py_INCREF(Py_None); resultobj = Py_None;
10343 return resultobj;
10344 fail:
10345 return NULL;
10346}
10347
10348
36ed4f51 10349static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10350 PyObject *resultobj;
10351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10352 PyObject * obj0 = 0 ;
10353 char *kwnames[] = {
10354 (char *) "self", NULL
10355 };
10356
36ed4f51
RD
10357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail;
10358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10359 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10360 {
10361 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10362 (arg1)->WordRightExtend();
d14a1e28
RD
10363
10364 wxPyEndAllowThreads(__tstate);
10365 if (PyErr_Occurred()) SWIG_fail;
10366 }
4276dc52 10367 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10368 return resultobj;
10369 fail:
10370 return NULL;
10371}
10372
10373
36ed4f51 10374static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10375 PyObject *resultobj;
10376 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10377 PyObject * obj0 = 0 ;
10378 char *kwnames[] = {
4276dc52 10379 (char *) "self", NULL
d14a1e28
RD
10380 };
10381
36ed4f51
RD
10382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail;
10383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10384 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10385 {
10386 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10387 (arg1)->Home();
d14a1e28
RD
10388
10389 wxPyEndAllowThreads(__tstate);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 }
10392 Py_INCREF(Py_None); resultobj = Py_None;
10393 return resultobj;
10394 fail:
10395 return NULL;
10396}
10397
10398
36ed4f51 10399static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10400 PyObject *resultobj;
10401 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10402 PyObject * obj0 = 0 ;
10403 char *kwnames[] = {
10404 (char *) "self", NULL
10405 };
10406
36ed4f51
RD
10407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail;
10408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10409 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10410 {
10411 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10412 (arg1)->HomeExtend();
d14a1e28
RD
10413
10414 wxPyEndAllowThreads(__tstate);
10415 if (PyErr_Occurred()) SWIG_fail;
10416 }
4276dc52 10417 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10418 return resultobj;
10419 fail:
10420 return NULL;
10421}
10422
10423
36ed4f51 10424static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10425 PyObject *resultobj;
10426 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10427 PyObject * obj0 = 0 ;
10428 char *kwnames[] = {
10429 (char *) "self", NULL
10430 };
10431
36ed4f51
RD
10432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail;
10433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10434 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10435 {
10436 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10437 (arg1)->LineEnd();
d14a1e28
RD
10438
10439 wxPyEndAllowThreads(__tstate);
10440 if (PyErr_Occurred()) SWIG_fail;
10441 }
4276dc52 10442 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10443 return resultobj;
10444 fail:
10445 return NULL;
10446}
10447
10448
36ed4f51 10449static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10450 PyObject *resultobj;
10451 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 10452 PyObject * obj0 = 0 ;
d14a1e28 10453 char *kwnames[] = {
4276dc52 10454 (char *) "self", NULL
d14a1e28
RD
10455 };
10456
36ed4f51
RD
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail;
10458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10459 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10462 (arg1)->LineEndExtend();
d14a1e28
RD
10463
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
10467 Py_INCREF(Py_None); resultobj = Py_None;
10468 return resultobj;
10469 fail:
10470 return NULL;
10471}
10472
10473
36ed4f51 10474static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10475 PyObject *resultobj;
10476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 10477 PyObject * obj0 = 0 ;
d14a1e28 10478 char *kwnames[] = {
4276dc52 10479 (char *) "self", NULL
d14a1e28
RD
10480 };
10481
36ed4f51
RD
10482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail;
10483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10484 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10485 {
10486 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10487 (arg1)->DocumentStart();
d14a1e28
RD
10488
10489 wxPyEndAllowThreads(__tstate);
10490 if (PyErr_Occurred()) SWIG_fail;
10491 }
10492 Py_INCREF(Py_None); resultobj = Py_None;
10493 return resultobj;
10494 fail:
10495 return NULL;
10496}
10497
10498
36ed4f51 10499static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10500 PyObject *resultobj;
10501 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10502 PyObject * obj0 = 0 ;
10503 char *kwnames[] = {
10504 (char *) "self", NULL
10505 };
10506
36ed4f51
RD
10507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail;
10508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10509 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10510 {
10511 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10512 (arg1)->DocumentStartExtend();
d14a1e28
RD
10513
10514 wxPyEndAllowThreads(__tstate);
10515 if (PyErr_Occurred()) SWIG_fail;
10516 }
4276dc52 10517 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10518 return resultobj;
10519 fail:
10520 return NULL;
10521}
10522
10523
36ed4f51 10524static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10525 PyObject *resultobj;
10526 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 10527 PyObject * obj0 = 0 ;
d14a1e28 10528 char *kwnames[] = {
4276dc52 10529 (char *) "self", NULL
d14a1e28
RD
10530 };
10531
36ed4f51
RD
10532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail;
10533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10534 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10535 {
10536 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10537 (arg1)->DocumentEnd();
d14a1e28
RD
10538
10539 wxPyEndAllowThreads(__tstate);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
10542 Py_INCREF(Py_None); resultobj = Py_None;
10543 return resultobj;
10544 fail:
10545 return NULL;
10546}
10547
10548
36ed4f51 10549static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10550 PyObject *resultobj;
10551 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10552 PyObject * obj0 = 0 ;
10553 char *kwnames[] = {
10554 (char *) "self", NULL
10555 };
10556
36ed4f51
RD
10557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail;
10558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10559 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10562 (arg1)->DocumentEndExtend();
d14a1e28
RD
10563
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
4276dc52 10567 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10568 return resultobj;
10569 fail:
10570 return NULL;
10571}
10572
10573
36ed4f51 10574static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10575 PyObject *resultobj;
10576 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10577 PyObject * obj0 = 0 ;
10578 char *kwnames[] = {
4276dc52 10579 (char *) "self", NULL
d14a1e28
RD
10580 };
10581
36ed4f51
RD
10582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail;
10583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10584 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10585 {
10586 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10587 (arg1)->PageUp();
d14a1e28
RD
10588
10589 wxPyEndAllowThreads(__tstate);
10590 if (PyErr_Occurred()) SWIG_fail;
10591 }
10592 Py_INCREF(Py_None); resultobj = Py_None;
10593 return resultobj;
10594 fail:
10595 return NULL;
10596}
10597
10598
36ed4f51 10599static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10600 PyObject *resultobj;
10601 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10602 PyObject * obj0 = 0 ;
10603 char *kwnames[] = {
10604 (char *) "self", NULL
10605 };
10606
36ed4f51
RD
10607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail;
10608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10609 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10610 {
10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10612 (arg1)->PageUpExtend();
d14a1e28
RD
10613
10614 wxPyEndAllowThreads(__tstate);
10615 if (PyErr_Occurred()) SWIG_fail;
10616 }
4276dc52 10617 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10618 return resultobj;
10619 fail:
10620 return NULL;
10621}
10622
10623
36ed4f51 10624static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10625 PyObject *resultobj;
10626 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 10627 PyObject * obj0 = 0 ;
d14a1e28 10628 char *kwnames[] = {
4276dc52 10629 (char *) "self", NULL
d14a1e28
RD
10630 };
10631
36ed4f51
RD
10632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail;
10633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10634 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10635 {
10636 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10637 (arg1)->PageDown();
d14a1e28
RD
10638
10639 wxPyEndAllowThreads(__tstate);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 }
10642 Py_INCREF(Py_None); resultobj = Py_None;
10643 return resultobj;
10644 fail:
10645 return NULL;
10646}
10647
10648
36ed4f51 10649static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10650 PyObject *resultobj;
10651 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10652 PyObject * obj0 = 0 ;
10653 char *kwnames[] = {
10654 (char *) "self", NULL
10655 };
10656
36ed4f51
RD
10657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail;
10658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10659 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10660 {
10661 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10662 (arg1)->PageDownExtend();
d14a1e28
RD
10663
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
4276dc52 10667 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10668 return resultobj;
10669 fail:
10670 return NULL;
10671}
10672
10673
36ed4f51 10674static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10675 PyObject *resultobj;
10676 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10677 PyObject * obj0 = 0 ;
10678 char *kwnames[] = {
4276dc52 10679 (char *) "self", NULL
d14a1e28
RD
10680 };
10681
36ed4f51
RD
10682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail;
10683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10684 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10685 {
10686 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10687 (arg1)->EditToggleOvertype();
d14a1e28
RD
10688
10689 wxPyEndAllowThreads(__tstate);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
10692 Py_INCREF(Py_None); resultobj = Py_None;
10693 return resultobj;
10694 fail:
10695 return NULL;
10696}
10697
10698
36ed4f51 10699static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10700 PyObject *resultobj;
10701 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10702 PyObject * obj0 = 0 ;
10703 char *kwnames[] = {
10704 (char *) "self", NULL
10705 };
10706
36ed4f51
RD
10707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail;
10708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10709 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10712 (arg1)->Cancel();
d14a1e28
RD
10713
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
4276dc52 10717 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10718 return resultobj;
10719 fail:
10720 return NULL;
10721}
10722
10723
36ed4f51 10724static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10725 PyObject *resultobj;
10726 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10727 PyObject * obj0 = 0 ;
10728 char *kwnames[] = {
4276dc52 10729 (char *) "self", NULL
d14a1e28
RD
10730 };
10731
36ed4f51
RD
10732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail;
10733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10734 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10735 {
10736 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10737 (arg1)->DeleteBack();
d14a1e28
RD
10738
10739 wxPyEndAllowThreads(__tstate);
10740 if (PyErr_Occurred()) SWIG_fail;
10741 }
10742 Py_INCREF(Py_None); resultobj = Py_None;
10743 return resultobj;
10744 fail:
10745 return NULL;
10746}
10747
10748
36ed4f51 10749static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10750 PyObject *resultobj;
10751 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10752 PyObject * obj0 = 0 ;
10753 char *kwnames[] = {
10754 (char *) "self", NULL
10755 };
10756
36ed4f51
RD
10757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail;
10758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10759 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10760 {
10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10762 (arg1)->Tab();
d14a1e28
RD
10763
10764 wxPyEndAllowThreads(__tstate);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 }
4276dc52 10767 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10768 return resultobj;
10769 fail:
10770 return NULL;
10771}
10772
10773
36ed4f51 10774static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10775 PyObject *resultobj;
10776 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10777 PyObject * obj0 = 0 ;
10778 char *kwnames[] = {
10779 (char *) "self", NULL
10780 };
10781
36ed4f51
RD
10782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail;
10783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10784 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10785 {
10786 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10787 (arg1)->BackTab();
d14a1e28
RD
10788
10789 wxPyEndAllowThreads(__tstate);
10790 if (PyErr_Occurred()) SWIG_fail;
10791 }
10792 Py_INCREF(Py_None); resultobj = Py_None;
10793 return resultobj;
10794 fail:
10795 return NULL;
10796}
10797
10798
36ed4f51 10799static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10800 PyObject *resultobj;
10801 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10802 PyObject * obj0 = 0 ;
10803 char *kwnames[] = {
10804 (char *) "self", NULL
10805 };
10806
36ed4f51
RD
10807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail;
10808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10809 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10810 {
10811 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10812 (arg1)->NewLine();
d14a1e28
RD
10813
10814 wxPyEndAllowThreads(__tstate);
10815 if (PyErr_Occurred()) SWIG_fail;
10816 }
10817 Py_INCREF(Py_None); resultobj = Py_None;
10818 return resultobj;
10819 fail:
10820 return NULL;
10821}
10822
10823
36ed4f51 10824static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10825 PyObject *resultobj;
10826 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10827 PyObject * obj0 = 0 ;
10828 char *kwnames[] = {
10829 (char *) "self", NULL
10830 };
10831
36ed4f51
RD
10832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail;
10833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10834 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10835 {
10836 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10837 (arg1)->FormFeed();
d14a1e28
RD
10838
10839 wxPyEndAllowThreads(__tstate);
10840 if (PyErr_Occurred()) SWIG_fail;
10841 }
10842 Py_INCREF(Py_None); resultobj = Py_None;
10843 return resultobj;
10844 fail:
10845 return NULL;
10846}
10847
10848
36ed4f51 10849static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10850 PyObject *resultobj;
10851 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10852 PyObject * obj0 = 0 ;
10853 char *kwnames[] = {
10854 (char *) "self", NULL
10855 };
10856
36ed4f51
RD
10857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail;
10858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10859 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10860 {
10861 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10862 (arg1)->VCHome();
d14a1e28
RD
10863
10864 wxPyEndAllowThreads(__tstate);
10865 if (PyErr_Occurred()) SWIG_fail;
10866 }
10867 Py_INCREF(Py_None); resultobj = Py_None;
10868 return resultobj;
10869 fail:
10870 return NULL;
10871}
10872
10873
36ed4f51 10874static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10875 PyObject *resultobj;
10876 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10877 PyObject * obj0 = 0 ;
10878 char *kwnames[] = {
4276dc52 10879 (char *) "self", NULL
d14a1e28
RD
10880 };
10881
36ed4f51
RD
10882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail;
10883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10884 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10885 {
10886 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10887 (arg1)->VCHomeExtend();
d14a1e28
RD
10888
10889 wxPyEndAllowThreads(__tstate);
10890 if (PyErr_Occurred()) SWIG_fail;
10891 }
10892 Py_INCREF(Py_None); resultobj = Py_None;
10893 return resultobj;
10894 fail:
10895 return NULL;
10896}
10897
10898
36ed4f51 10899static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10900 PyObject *resultobj;
10901 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10902 PyObject * obj0 = 0 ;
10903 char *kwnames[] = {
10904 (char *) "self", NULL
10905 };
10906
36ed4f51
RD
10907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail;
10908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10909 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10910 {
10911 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10912 (arg1)->ZoomIn();
d14a1e28
RD
10913
10914 wxPyEndAllowThreads(__tstate);
10915 if (PyErr_Occurred()) SWIG_fail;
10916 }
10917 Py_INCREF(Py_None); resultobj = Py_None;
10918 return resultobj;
10919 fail:
10920 return NULL;
10921}
10922
10923
36ed4f51 10924static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10925 PyObject *resultobj;
10926 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10927 PyObject * obj0 = 0 ;
10928 char *kwnames[] = {
10929 (char *) "self", NULL
10930 };
10931
36ed4f51
RD
10932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail;
10933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10934 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10937 (arg1)->ZoomOut();
d14a1e28
RD
10938
10939 wxPyEndAllowThreads(__tstate);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 }
10942 Py_INCREF(Py_None); resultobj = Py_None;
10943 return resultobj;
10944 fail:
10945 return NULL;
10946}
10947
10948
36ed4f51 10949static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10950 PyObject *resultobj;
10951 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10952 PyObject * obj0 = 0 ;
10953 char *kwnames[] = {
4276dc52 10954 (char *) "self", NULL
d14a1e28
RD
10955 };
10956
36ed4f51
RD
10957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail;
10958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10959 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10960 {
10961 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10962 (arg1)->DelWordLeft();
d14a1e28
RD
10963
10964 wxPyEndAllowThreads(__tstate);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
10967 Py_INCREF(Py_None); resultobj = Py_None;
10968 return resultobj;
10969 fail:
10970 return NULL;
10971}
10972
10973
36ed4f51 10974static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10975 PyObject *resultobj;
10976 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
10977 PyObject * obj0 = 0 ;
10978 char *kwnames[] = {
10979 (char *) "self", NULL
10980 };
10981
36ed4f51
RD
10982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail;
10983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10984 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10987 (arg1)->DelWordRight();
d14a1e28
RD
10988
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
4276dc52 10992 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
10993 return resultobj;
10994 fail:
10995 return NULL;
10996}
10997
10998
36ed4f51 10999static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11000 PyObject *resultobj;
11001 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11002 PyObject * obj0 = 0 ;
11003 char *kwnames[] = {
11004 (char *) "self", NULL
11005 };
11006
36ed4f51
RD
11007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail;
11008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11009 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11010 {
11011 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11012 (arg1)->LineCut();
d14a1e28
RD
11013
11014 wxPyEndAllowThreads(__tstate);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 Py_INCREF(Py_None); resultobj = Py_None;
11018 return resultobj;
11019 fail:
11020 return NULL;
11021}
11022
11023
36ed4f51 11024static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11025 PyObject *resultobj;
11026 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
11027 PyObject * obj0 = 0 ;
11028 char *kwnames[] = {
4276dc52 11029 (char *) "self", NULL
d14a1e28
RD
11030 };
11031
36ed4f51
RD
11032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail;
11033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11034 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11035 {
11036 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11037 (arg1)->LineDelete();
d14a1e28
RD
11038
11039 wxPyEndAllowThreads(__tstate);
11040 if (PyErr_Occurred()) SWIG_fail;
11041 }
11042 Py_INCREF(Py_None); resultobj = Py_None;
11043 return resultobj;
11044 fail:
11045 return NULL;
11046}
11047
11048
36ed4f51 11049static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11050 PyObject *resultobj;
11051 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
11052 PyObject * obj0 = 0 ;
11053 char *kwnames[] = {
4276dc52 11054 (char *) "self", NULL
d14a1e28
RD
11055 };
11056
36ed4f51
RD
11057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail;
11058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11059 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11060 {
11061 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11062 (arg1)->LineTranspose();
d14a1e28
RD
11063
11064 wxPyEndAllowThreads(__tstate);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
11067 Py_INCREF(Py_None); resultobj = Py_None;
11068 return resultobj;
11069 fail:
11070 return NULL;
11071}
11072
11073
36ed4f51 11074static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11075 PyObject *resultobj;
11076 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
11077 PyObject * obj0 = 0 ;
11078 char *kwnames[] = {
4276dc52 11079 (char *) "self", NULL
d14a1e28
RD
11080 };
11081
36ed4f51
RD
11082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
11083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11084 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11085 {
11086 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11087 (arg1)->LineDuplicate();
d14a1e28
RD
11088
11089 wxPyEndAllowThreads(__tstate);
11090 if (PyErr_Occurred()) SWIG_fail;
11091 }
11092 Py_INCREF(Py_None); resultobj = Py_None;
11093 return resultobj;
11094 fail:
11095 return NULL;
11096}
11097
11098
36ed4f51 11099static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11100 PyObject *resultobj;
11101 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
11102 PyObject * obj0 = 0 ;
11103 char *kwnames[] = {
11104 (char *) "self", NULL
11105 };
11106
36ed4f51
RD
11107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail;
11108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11109 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11110 {
11111 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11112 (arg1)->LowerCase();
d14a1e28
RD
11113
11114 wxPyEndAllowThreads(__tstate);
11115 if (PyErr_Occurred()) SWIG_fail;
11116 }
4276dc52 11117 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11118 return resultobj;
11119 fail:
11120 return NULL;
11121}
11122
11123
36ed4f51 11124static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11125 PyObject *resultobj;
11126 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 11127 PyObject * obj0 = 0 ;
d14a1e28 11128 char *kwnames[] = {
36ed4f51 11129 (char *) "self", NULL
d14a1e28
RD
11130 };
11131
36ed4f51
RD
11132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail;
11133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11134 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11135 {
11136 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11137 (arg1)->UpperCase();
d14a1e28
RD
11138
11139 wxPyEndAllowThreads(__tstate);
11140 if (PyErr_Occurred()) SWIG_fail;
11141 }
36ed4f51 11142 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11143 return resultobj;
11144 fail:
11145 return NULL;
11146}
11147
11148
36ed4f51 11149static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11150 PyObject *resultobj;
11151 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 11152 PyObject * obj0 = 0 ;
d14a1e28 11153 char *kwnames[] = {
36ed4f51 11154 (char *) "self", NULL
d14a1e28
RD
11155 };
11156
36ed4f51
RD
11157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail;
11158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11159 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11160 {
11161 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11162 (arg1)->LineScrollDown();
d14a1e28
RD
11163
11164 wxPyEndAllowThreads(__tstate);
11165 if (PyErr_Occurred()) SWIG_fail;
11166 }
11167 Py_INCREF(Py_None); resultobj = Py_None;
11168 return resultobj;
11169 fail:
11170 return NULL;
11171}
11172
11173
36ed4f51 11174static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11175 PyObject *resultobj;
11176 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 11177 PyObject * obj0 = 0 ;
d14a1e28 11178 char *kwnames[] = {
36ed4f51 11179 (char *) "self", NULL
d14a1e28
RD
11180 };
11181
36ed4f51
RD
11182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail;
11183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11184 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11185 {
11186 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11187 (arg1)->LineScrollUp();
d14a1e28
RD
11188
11189 wxPyEndAllowThreads(__tstate);
11190 if (PyErr_Occurred()) SWIG_fail;
11191 }
11192 Py_INCREF(Py_None); resultobj = Py_None;
11193 return resultobj;
11194 fail:
11195 return NULL;
11196}
11197
11198
36ed4f51 11199static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
11200 PyObject *resultobj;
11201 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
96b3fa7c 11202 PyObject * obj0 = 0 ;
96b3fa7c 11203 char *kwnames[] = {
36ed4f51 11204 (char *) "self", NULL
96b3fa7c
RD
11205 };
11206
36ed4f51
RD
11207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail;
11208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11209 if (SWIG_arg_fail(1)) SWIG_fail;
96b3fa7c
RD
11210 {
11211 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11212 (arg1)->DeleteBackNotLine();
96b3fa7c
RD
11213
11214 wxPyEndAllowThreads(__tstate);
11215 if (PyErr_Occurred()) SWIG_fail;
11216 }
36ed4f51 11217 Py_INCREF(Py_None); resultobj = Py_None;
96b3fa7c
RD
11218 return resultobj;
11219 fail:
11220 return NULL;
11221}
11222
11223
36ed4f51 11224static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11225 PyObject *resultobj;
11226 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
11227 PyObject * obj0 = 0 ;
11228 char *kwnames[] = {
4276dc52 11229 (char *) "self", NULL
d14a1e28
RD
11230 };
11231
36ed4f51
RD
11232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
11233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11234 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11235 {
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11237 (arg1)->HomeDisplay();
d14a1e28
RD
11238
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
36ed4f51 11242 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11243 return resultobj;
11244 fail:
11245 return NULL;
11246}
11247
11248
36ed4f51 11249static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11250 PyObject *resultobj;
11251 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
11252 PyObject * obj0 = 0 ;
11253 char *kwnames[] = {
36ed4f51 11254 (char *) "self", NULL
d14a1e28
RD
11255 };
11256
36ed4f51
RD
11257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
11258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11259 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11260 {
11261 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11262 (arg1)->HomeDisplayExtend();
d14a1e28
RD
11263
11264 wxPyEndAllowThreads(__tstate);
11265 if (PyErr_Occurred()) SWIG_fail;
11266 }
4276dc52 11267 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11268 return resultobj;
11269 fail:
11270 return NULL;
11271}
11272
11273
36ed4f51 11274static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11275 PyObject *resultobj;
11276 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52
RD
11277 PyObject * obj0 = 0 ;
11278 char *kwnames[] = {
11279 (char *) "self", NULL
11280 };
11281
36ed4f51
RD
11282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
11283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11284 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
11285 {
11286 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11287 (arg1)->LineEndDisplay();
4276dc52
RD
11288
11289 wxPyEndAllowThreads(__tstate);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
36ed4f51 11292 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
11293 return resultobj;
11294 fail:
11295 return NULL;
11296}
11297
11298
36ed4f51 11299static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11300 PyObject *resultobj;
11301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
11302 PyObject * obj0 = 0 ;
11303 char *kwnames[] = {
36ed4f51 11304 (char *) "self", NULL
d14a1e28
RD
11305 };
11306
36ed4f51
RD
11307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
11308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11309 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11310 {
11311 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11312 (arg1)->LineEndDisplayExtend();
d14a1e28
RD
11313
11314 wxPyEndAllowThreads(__tstate);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 }
11317 Py_INCREF(Py_None); resultobj = Py_None;
11318 return resultobj;
11319 fail:
11320 return NULL;
11321}
11322
11323
36ed4f51 11324static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11325 PyObject *resultobj;
11326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 11327 PyObject * obj0 = 0 ;
d14a1e28 11328 char *kwnames[] = {
36ed4f51 11329 (char *) "self", NULL
d14a1e28
RD
11330 };
11331
36ed4f51
RD
11332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail;
11333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11334 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11335 {
11336 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11337 (arg1)->HomeWrap();
d14a1e28
RD
11338
11339 wxPyEndAllowThreads(__tstate);
11340 if (PyErr_Occurred()) SWIG_fail;
11341 }
11342 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
11343 return resultobj;
11344 fail:
4276dc52
RD
11345 return NULL;
11346}
11347
11348
36ed4f51 11349static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11350 PyObject *resultobj;
11351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52
RD
11352 PyObject * obj0 = 0 ;
11353 char *kwnames[] = {
11354 (char *) "self", NULL
11355 };
11356
36ed4f51
RD
11357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail;
11358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11359 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 11360 {
4276dc52 11361 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11362 (arg1)->HomeWrapExtend();
4276dc52
RD
11363
11364 wxPyEndAllowThreads(__tstate);
11365 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11366 }
36ed4f51 11367 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
11368 return resultobj;
11369 fail:
d14a1e28
RD
11370 return NULL;
11371}
11372
11373
36ed4f51 11374static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
11375 PyObject *resultobj;
11376 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
96b3fa7c 11377 PyObject * obj0 = 0 ;
96b3fa7c 11378 char *kwnames[] = {
36ed4f51 11379 (char *) "self", NULL
96b3fa7c
RD
11380 };
11381
36ed4f51
RD
11382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail;
11383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11384 if (SWIG_arg_fail(1)) SWIG_fail;
96b3fa7c
RD
11385 {
11386 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11387 (arg1)->LineEndWrap();
96b3fa7c
RD
11388
11389 wxPyEndAllowThreads(__tstate);
11390 if (PyErr_Occurred()) SWIG_fail;
11391 }
11392 Py_INCREF(Py_None); resultobj = Py_None;
11393 return resultobj;
11394 fail:
11395 return NULL;
11396}
11397
11398
36ed4f51 11399static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
11400 PyObject *resultobj;
11401 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
96b3fa7c
RD
11402 PyObject * obj0 = 0 ;
11403 char *kwnames[] = {
11404 (char *) "self", NULL
11405 };
11406
36ed4f51
RD
11407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail;
11408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11409 if (SWIG_arg_fail(1)) SWIG_fail;
96b3fa7c
RD
11410 {
11411 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11412 (arg1)->LineEndWrapExtend();
96b3fa7c
RD
11413
11414 wxPyEndAllowThreads(__tstate);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 }
36ed4f51 11417 Py_INCREF(Py_None); resultobj = Py_None;
96b3fa7c
RD
11418 return resultobj;
11419 fail:
11420 return NULL;
11421}
11422
11423
36ed4f51 11424static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
11425 PyObject *resultobj;
11426 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
96b3fa7c 11427 PyObject * obj0 = 0 ;
96b3fa7c 11428 char *kwnames[] = {
36ed4f51 11429 (char *) "self", NULL
96b3fa7c
RD
11430 };
11431
36ed4f51
RD
11432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail;
11433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11434 if (SWIG_arg_fail(1)) SWIG_fail;
96b3fa7c
RD
11435 {
11436 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11437 (arg1)->VCHomeWrap();
96b3fa7c
RD
11438
11439 wxPyEndAllowThreads(__tstate);
11440 if (PyErr_Occurred()) SWIG_fail;
11441 }
4276dc52 11442 Py_INCREF(Py_None); resultobj = Py_None;
96b3fa7c
RD
11443 return resultobj;
11444 fail:
11445 return NULL;
11446}
11447
11448
36ed4f51 11449static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
11450 PyObject *resultobj;
11451 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52
RD
11452 PyObject * obj0 = 0 ;
11453 char *kwnames[] = {
11454 (char *) "self", NULL
11455 };
11456
36ed4f51
RD
11457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail;
11458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11459 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
11460 {
11461 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11462 (arg1)->VCHomeWrapExtend();
4276dc52
RD
11463
11464 wxPyEndAllowThreads(__tstate);
11465 if (PyErr_Occurred()) SWIG_fail;
11466 }
36ed4f51 11467 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
11468 return resultobj;
11469 fail:
11470 return NULL;
11471}
11472
11473
36ed4f51 11474static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11475 PyObject *resultobj;
11476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
96b3fa7c 11477 PyObject * obj0 = 0 ;
96b3fa7c 11478 char *kwnames[] = {
36ed4f51 11479 (char *) "self", NULL
96b3fa7c
RD
11480 };
11481
36ed4f51
RD
11482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
11483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11484 if (SWIG_arg_fail(1)) SWIG_fail;
96b3fa7c
RD
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11487 (arg1)->LineCopy();
96b3fa7c
RD
11488
11489 wxPyEndAllowThreads(__tstate);
11490 if (PyErr_Occurred()) SWIG_fail;
11491 }
4276dc52
RD
11492 Py_INCREF(Py_None); resultobj = Py_None;
11493 return resultobj;
11494 fail:
11495 return NULL;
11496}
11497
11498
36ed4f51 11499static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11500 PyObject *resultobj;
11501 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11502 PyObject * obj0 = 0 ;
11503 char *kwnames[] = {
11504 (char *) "self", NULL
11505 };
11506
36ed4f51
RD
11507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
11508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11509 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11512 (arg1)->MoveCaretInsideView();
4276dc52
RD
11513
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
11517 Py_INCREF(Py_None); resultobj = Py_None;
11518 return resultobj;
11519 fail:
11520 return NULL;
11521}
11522
11523
36ed4f51 11524static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11525 PyObject *resultobj;
11526 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11527 int arg2 ;
4276dc52 11528 int result;
4276dc52
RD
11529 PyObject * obj0 = 0 ;
11530 PyObject * obj1 = 0 ;
4276dc52 11531 char *kwnames[] = {
36ed4f51 11532 (char *) "self",(char *) "line", NULL
4276dc52
RD
11533 };
11534
36ed4f51
RD
11535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail;
11536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11537 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52 11538 {
36ed4f51
RD
11539 arg2 = (int)(SWIG_As_int(obj1));
11540 if (SWIG_arg_fail(2)) SWIG_fail;
4276dc52
RD
11541 }
11542 {
11543 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11544 result = (int)(arg1)->LineLength(arg2);
4276dc52
RD
11545
11546 wxPyEndAllowThreads(__tstate);
11547 if (PyErr_Occurred()) SWIG_fail;
11548 }
4276dc52 11549 {
36ed4f51 11550 resultobj = SWIG_From_int((int)(result));
4276dc52
RD
11551 }
11552 return resultobj;
11553 fail:
4276dc52
RD
11554 return NULL;
11555}
11556
11557
36ed4f51 11558static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11559 PyObject *resultobj;
11560 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11561 int arg2 ;
36ed4f51 11562 int arg3 ;
4276dc52
RD
11563 PyObject * obj0 = 0 ;
11564 PyObject * obj1 = 0 ;
11565 PyObject * obj2 = 0 ;
11566 char *kwnames[] = {
36ed4f51 11567 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
4276dc52
RD
11568 };
11569
36ed4f51
RD
11570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
11571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11572 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52 11573 {
36ed4f51
RD
11574 arg2 = (int)(SWIG_As_int(obj1));
11575 if (SWIG_arg_fail(2)) SWIG_fail;
11576 }
11577 {
11578 arg3 = (int)(SWIG_As_int(obj2));
11579 if (SWIG_arg_fail(3)) SWIG_fail;
4276dc52
RD
11580 }
11581 {
11582 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11583 (arg1)->BraceHighlight(arg2,arg3);
4276dc52
RD
11584
11585 wxPyEndAllowThreads(__tstate);
11586 if (PyErr_Occurred()) SWIG_fail;
11587 }
36ed4f51 11588 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
11589 return resultobj;
11590 fail:
4276dc52
RD
11591 return NULL;
11592}
11593
11594
36ed4f51 11595static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11596 PyObject *resultobj;
11597 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 11598 int arg2 ;
4276dc52 11599 PyObject * obj0 = 0 ;
36ed4f51 11600 PyObject * obj1 = 0 ;
4276dc52 11601 char *kwnames[] = {
36ed4f51 11602 (char *) "self",(char *) "pos", NULL
4276dc52
RD
11603 };
11604
36ed4f51
RD
11605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail;
11606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11607 if (SWIG_arg_fail(1)) SWIG_fail;
11608 {
11609 arg2 = (int)(SWIG_As_int(obj1));
11610 if (SWIG_arg_fail(2)) SWIG_fail;
11611 }
4276dc52
RD
11612 {
11613 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11614 (arg1)->BraceBadLight(arg2);
4276dc52
RD
11615
11616 wxPyEndAllowThreads(__tstate);
11617 if (PyErr_Occurred()) SWIG_fail;
11618 }
36ed4f51 11619 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
11620 return resultobj;
11621 fail:
11622 return NULL;
11623}
11624
11625
36ed4f51 11626static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11627 PyObject *resultobj;
11628 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
11629 int arg2 ;
11630 int result;
4276dc52
RD
11631 PyObject * obj0 = 0 ;
11632 PyObject * obj1 = 0 ;
11633 char *kwnames[] = {
36ed4f51 11634 (char *) "self",(char *) "pos", NULL
4276dc52
RD
11635 };
11636
36ed4f51
RD
11637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail;
11638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11639 if (SWIG_arg_fail(1)) SWIG_fail;
11640 {
11641 arg2 = (int)(SWIG_As_int(obj1));
11642 if (SWIG_arg_fail(2)) SWIG_fail;
11643 }
4276dc52
RD
11644 {
11645 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11646 result = (int)(arg1)->BraceMatch(arg2);
4276dc52
RD
11647
11648 wxPyEndAllowThreads(__tstate);
11649 if (PyErr_Occurred()) SWIG_fail;
11650 }
36ed4f51
RD
11651 {
11652 resultobj = SWIG_From_int((int)(result));
11653 }
4276dc52
RD
11654 return resultobj;
11655 fail:
11656 return NULL;
11657}
11658
11659
36ed4f51 11660static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11661 PyObject *resultobj;
11662 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11663 bool result;
11664 PyObject * obj0 = 0 ;
11665 char *kwnames[] = {
11666 (char *) "self", NULL
11667 };
11668
36ed4f51
RD
11669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
11670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11671 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
11672 {
11673 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11674 result = (bool)(arg1)->GetViewEOL();
4276dc52
RD
11675
11676 wxPyEndAllowThreads(__tstate);
11677 if (PyErr_Occurred()) SWIG_fail;
11678 }
4f89f6a3
RD
11679 {
11680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11681 }
4276dc52
RD
11682 return resultobj;
11683 fail:
11684 return NULL;
11685}
11686
11687
36ed4f51 11688static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11689 PyObject *resultobj;
11690 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 11691 bool arg2 ;
4276dc52
RD
11692 PyObject * obj0 = 0 ;
11693 PyObject * obj1 = 0 ;
11694 char *kwnames[] = {
36ed4f51 11695 (char *) "self",(char *) "visible", NULL
4276dc52
RD
11696 };
11697
36ed4f51
RD
11698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
11699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11700 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52 11701 {
36ed4f51
RD
11702 arg2 = (bool)(SWIG_As_bool(obj1));
11703 if (SWIG_arg_fail(2)) SWIG_fail;
4276dc52 11704 }
4276dc52
RD
11705 {
11706 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11707 (arg1)->SetViewEOL(arg2);
4276dc52
RD
11708
11709 wxPyEndAllowThreads(__tstate);
11710 if (PyErr_Occurred()) SWIG_fail;
11711 }
36ed4f51 11712 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
11713 return resultobj;
11714 fail:
11715 return NULL;
11716}
11717
11718
36ed4f51 11719static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11720 PyObject *resultobj;
11721 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11722 void *result;
11723 PyObject * obj0 = 0 ;
11724 char *kwnames[] = {
11725 (char *) "self", NULL
11726 };
11727
36ed4f51
RD
11728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
11729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11730 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
11731 {
11732 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11733 result = (void *)(arg1)->GetDocPointer();
4276dc52
RD
11734
11735 wxPyEndAllowThreads(__tstate);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
11738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
11739 return resultobj;
11740 fail:
11741 return NULL;
11742}
11743
11744
36ed4f51 11745static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11746 PyObject *resultobj;
11747 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11748 void *arg2 = (void *) 0 ;
11749 PyObject * obj0 = 0 ;
11750 PyObject * obj1 = 0 ;
11751 char *kwnames[] = {
11752 (char *) "self",(char *) "docPointer", NULL
11753 };
11754
36ed4f51
RD
11755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
11756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11757 if (SWIG_arg_fail(1)) SWIG_fail;
11758 {
11759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
11760 SWIG_arg_fail(2);SWIG_fail;
11761 }
11762 }
4276dc52
RD
11763 {
11764 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11765 (arg1)->SetDocPointer(arg2);
4276dc52
RD
11766
11767 wxPyEndAllowThreads(__tstate);
11768 if (PyErr_Occurred()) SWIG_fail;
11769 }
11770 Py_INCREF(Py_None); resultobj = Py_None;
11771 return resultobj;
11772 fail:
11773 return NULL;
11774}
11775
11776
36ed4f51 11777static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11778 PyObject *resultobj;
11779 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 11780 int arg2 ;
4276dc52
RD
11781 PyObject * obj0 = 0 ;
11782 PyObject * obj1 = 0 ;
11783 char *kwnames[] = {
36ed4f51 11784 (char *) "self",(char *) "mask", NULL
4276dc52
RD
11785 };
11786
36ed4f51
RD
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail;
11788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11789 if (SWIG_arg_fail(1)) SWIG_fail;
11790 {
11791 arg2 = (int)(SWIG_As_int(obj1));
11792 if (SWIG_arg_fail(2)) SWIG_fail;
11793 }
4276dc52
RD
11794 {
11795 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11796 (arg1)->SetModEventMask(arg2);
4276dc52
RD
11797
11798 wxPyEndAllowThreads(__tstate);
11799 if (PyErr_Occurred()) SWIG_fail;
11800 }
11801 Py_INCREF(Py_None); resultobj = Py_None;
11802 return resultobj;
11803 fail:
11804 return NULL;
11805}
11806
11807
36ed4f51 11808static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11809 PyObject *resultobj;
11810 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11811 int result;
11812 PyObject * obj0 = 0 ;
11813 char *kwnames[] = {
11814 (char *) "self", NULL
11815 };
11816
36ed4f51
RD
11817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
11818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11819 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
11820 {
11821 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11822 result = (int)(arg1)->GetEdgeColumn();
4276dc52
RD
11823
11824 wxPyEndAllowThreads(__tstate);
11825 if (PyErr_Occurred()) SWIG_fail;
11826 }
36ed4f51
RD
11827 {
11828 resultobj = SWIG_From_int((int)(result));
11829 }
4276dc52
RD
11830 return resultobj;
11831 fail:
11832 return NULL;
11833}
11834
11835
36ed4f51 11836static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11837 PyObject *resultobj;
11838 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 11839 int arg2 ;
4276dc52
RD
11840 PyObject * obj0 = 0 ;
11841 PyObject * obj1 = 0 ;
11842 char *kwnames[] = {
36ed4f51 11843 (char *) "self",(char *) "column", NULL
4276dc52
RD
11844 };
11845
36ed4f51
RD
11846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail;
11847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11848 if (SWIG_arg_fail(1)) SWIG_fail;
11849 {
11850 arg2 = (int)(SWIG_As_int(obj1));
11851 if (SWIG_arg_fail(2)) SWIG_fail;
11852 }
4276dc52
RD
11853 {
11854 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11855 (arg1)->SetEdgeColumn(arg2);
4276dc52
RD
11856
11857 wxPyEndAllowThreads(__tstate);
11858 if (PyErr_Occurred()) SWIG_fail;
11859 }
11860 Py_INCREF(Py_None); resultobj = Py_None;
11861 return resultobj;
11862 fail:
11863 return NULL;
11864}
11865
11866
36ed4f51 11867static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11868 PyObject *resultobj;
11869 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 11870 int result;
4276dc52
RD
11871 PyObject * obj0 = 0 ;
11872 char *kwnames[] = {
11873 (char *) "self", NULL
11874 };
11875
36ed4f51
RD
11876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
11877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11878 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
11879 {
11880 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11881 result = (int)(arg1)->GetEdgeMode();
4276dc52
RD
11882
11883 wxPyEndAllowThreads(__tstate);
11884 if (PyErr_Occurred()) SWIG_fail;
11885 }
4f89f6a3 11886 {
36ed4f51 11887 resultobj = SWIG_From_int((int)(result));
4f89f6a3 11888 }
4276dc52
RD
11889 return resultobj;
11890 fail:
11891 return NULL;
11892}
11893
11894
36ed4f51 11895static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11896 PyObject *resultobj;
11897 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11898 int arg2 ;
11899 PyObject * obj0 = 0 ;
11900 PyObject * obj1 = 0 ;
11901 char *kwnames[] = {
36ed4f51 11902 (char *) "self",(char *) "mode", NULL
4276dc52
RD
11903 };
11904
36ed4f51
RD
11905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail;
11906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11907 if (SWIG_arg_fail(1)) SWIG_fail;
11908 {
11909 arg2 = (int)(SWIG_As_int(obj1));
11910 if (SWIG_arg_fail(2)) SWIG_fail;
11911 }
4276dc52
RD
11912 {
11913 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11914 (arg1)->SetEdgeMode(arg2);
4276dc52
RD
11915
11916 wxPyEndAllowThreads(__tstate);
11917 if (PyErr_Occurred()) SWIG_fail;
11918 }
11919 Py_INCREF(Py_None); resultobj = Py_None;
11920 return resultobj;
11921 fail:
11922 return NULL;
11923}
11924
11925
36ed4f51 11926static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11927 PyObject *resultobj;
11928 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 11929 wxColour result;
4276dc52
RD
11930 PyObject * obj0 = 0 ;
11931 char *kwnames[] = {
11932 (char *) "self", NULL
11933 };
11934
36ed4f51
RD
11935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
11936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11937 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
11938 {
11939 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11940 result = (arg1)->GetEdgeColour();
4276dc52
RD
11941
11942 wxPyEndAllowThreads(__tstate);
11943 if (PyErr_Occurred()) SWIG_fail;
11944 }
36ed4f51
RD
11945 {
11946 wxColour * resultptr;
11947 resultptr = new wxColour((wxColour &)(result));
11948 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11949 }
4276dc52
RD
11950 return resultobj;
11951 fail:
11952 return NULL;
11953}
11954
11955
36ed4f51 11956static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11957 PyObject *resultobj;
11958 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
11959 wxColour *arg2 = 0 ;
11960 wxColour temp2 ;
4276dc52
RD
11961 PyObject * obj0 = 0 ;
11962 PyObject * obj1 = 0 ;
11963 char *kwnames[] = {
36ed4f51 11964 (char *) "self",(char *) "edgeColour", NULL
4276dc52
RD
11965 };
11966
36ed4f51
RD
11967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
11968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11969 if (SWIG_arg_fail(1)) SWIG_fail;
11970 {
11971 arg2 = &temp2;
11972 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11973 }
4276dc52
RD
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 11976 (arg1)->SetEdgeColour((wxColour const &)*arg2);
4276dc52
RD
11977
11978 wxPyEndAllowThreads(__tstate);
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 Py_INCREF(Py_None); resultobj = Py_None;
11982 return resultobj;
11983 fail:
11984 return NULL;
11985}
11986
11987
36ed4f51 11988static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
11989 PyObject *resultobj;
11990 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52
RD
11991 PyObject * obj0 = 0 ;
11992 char *kwnames[] = {
11993 (char *) "self", NULL
11994 };
11995
36ed4f51
RD
11996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
11997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11998 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
11999 {
12000 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12001 (arg1)->SearchAnchor();
4276dc52
RD
12002
12003 wxPyEndAllowThreads(__tstate);
12004 if (PyErr_Occurred()) SWIG_fail;
12005 }
36ed4f51 12006 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
12007 return resultobj;
12008 fail:
12009 return NULL;
12010}
12011
12012
36ed4f51 12013static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12014 PyObject *resultobj;
12015 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12016 int arg2 ;
36ed4f51
RD
12017 wxString *arg3 = 0 ;
12018 int result;
12019 bool temp3 = false ;
4276dc52
RD
12020 PyObject * obj0 = 0 ;
12021 PyObject * obj1 = 0 ;
36ed4f51 12022 PyObject * obj2 = 0 ;
4276dc52 12023 char *kwnames[] = {
36ed4f51 12024 (char *) "self",(char *) "flags",(char *) "text", NULL
4276dc52
RD
12025 };
12026
36ed4f51
RD
12027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
12028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12029 if (SWIG_arg_fail(1)) SWIG_fail;
12030 {
12031 arg2 = (int)(SWIG_As_int(obj1));
12032 if (SWIG_arg_fail(2)) SWIG_fail;
12033 }
12034 {
12035 arg3 = wxString_in_helper(obj2);
12036 if (arg3 == NULL) SWIG_fail;
12037 temp3 = true;
12038 }
4276dc52
RD
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12041 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
4276dc52
RD
12042
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
36ed4f51
RD
12046 {
12047 resultobj = SWIG_From_int((int)(result));
12048 }
12049 {
12050 if (temp3)
12051 delete arg3;
12052 }
4276dc52
RD
12053 return resultobj;
12054 fail:
36ed4f51
RD
12055 {
12056 if (temp3)
12057 delete arg3;
12058 }
4276dc52
RD
12059 return NULL;
12060}
12061
12062
36ed4f51 12063static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12064 PyObject *resultobj;
12065 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
12066 int arg2 ;
12067 wxString *arg3 = 0 ;
4276dc52 12068 int result;
36ed4f51 12069 bool temp3 = false ;
4276dc52 12070 PyObject * obj0 = 0 ;
36ed4f51
RD
12071 PyObject * obj1 = 0 ;
12072 PyObject * obj2 = 0 ;
4276dc52 12073 char *kwnames[] = {
36ed4f51 12074 (char *) "self",(char *) "flags",(char *) "text", NULL
4276dc52
RD
12075 };
12076
36ed4f51
RD
12077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail;
12078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12079 if (SWIG_arg_fail(1)) SWIG_fail;
12080 {
12081 arg2 = (int)(SWIG_As_int(obj1));
12082 if (SWIG_arg_fail(2)) SWIG_fail;
12083 }
12084 {
12085 arg3 = wxString_in_helper(obj2);
12086 if (arg3 == NULL) SWIG_fail;
12087 temp3 = true;
12088 }
4276dc52
RD
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12091 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
4276dc52
RD
12092
12093 wxPyEndAllowThreads(__tstate);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
36ed4f51
RD
12096 {
12097 resultobj = SWIG_From_int((int)(result));
12098 }
12099 {
12100 if (temp3)
12101 delete arg3;
12102 }
4276dc52
RD
12103 return resultobj;
12104 fail:
36ed4f51
RD
12105 {
12106 if (temp3)
12107 delete arg3;
12108 }
4276dc52
RD
12109 return NULL;
12110}
12111
12112
36ed4f51 12113static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12114 PyObject *resultobj;
12115 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12116 int result;
4276dc52 12117 PyObject * obj0 = 0 ;
4276dc52 12118 char *kwnames[] = {
36ed4f51 12119 (char *) "self", NULL
4276dc52
RD
12120 };
12121
36ed4f51
RD
12122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
12123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12124 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12125 {
12126 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12127 result = (int)(arg1)->LinesOnScreen();
4276dc52
RD
12128
12129 wxPyEndAllowThreads(__tstate);
12130 if (PyErr_Occurred()) SWIG_fail;
12131 }
36ed4f51
RD
12132 {
12133 resultobj = SWIG_From_int((int)(result));
12134 }
4276dc52
RD
12135 return resultobj;
12136 fail:
12137 return NULL;
12138}
12139
12140
36ed4f51 12141static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12142 PyObject *resultobj;
12143 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12144 bool arg2 ;
4276dc52 12145 PyObject * obj0 = 0 ;
36ed4f51 12146 PyObject * obj1 = 0 ;
4276dc52 12147 char *kwnames[] = {
36ed4f51 12148 (char *) "self",(char *) "allowPopUp", NULL
4276dc52
RD
12149 };
12150
36ed4f51
RD
12151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
12152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12153 if (SWIG_arg_fail(1)) SWIG_fail;
12154 {
12155 arg2 = (bool)(SWIG_As_bool(obj1));
12156 if (SWIG_arg_fail(2)) SWIG_fail;
12157 }
4276dc52
RD
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12160 (arg1)->UsePopUp(arg2);
4276dc52
RD
12161
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
36ed4f51 12165 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
12166 return resultobj;
12167 fail:
12168 return NULL;
12169}
12170
12171
36ed4f51 12172static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12173 PyObject *resultobj;
12174 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12175 bool result;
4276dc52
RD
12176 PyObject * obj0 = 0 ;
12177 char *kwnames[] = {
12178 (char *) "self", NULL
12179 };
12180
36ed4f51
RD
12181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
12182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12183 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12184 {
12185 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12186 result = (bool)(arg1)->SelectionIsRectangle();
4276dc52
RD
12187
12188 wxPyEndAllowThreads(__tstate);
12189 if (PyErr_Occurred()) SWIG_fail;
12190 }
36ed4f51
RD
12191 {
12192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12193 }
4276dc52
RD
12194 return resultobj;
12195 fail:
12196 return NULL;
12197}
12198
12199
36ed4f51 12200static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12201 PyObject *resultobj;
12202 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12203 int arg2 ;
4276dc52 12204 PyObject * obj0 = 0 ;
36ed4f51 12205 PyObject * obj1 = 0 ;
4276dc52 12206 char *kwnames[] = {
36ed4f51 12207 (char *) "self",(char *) "zoom", NULL
4276dc52
RD
12208 };
12209
36ed4f51
RD
12210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail;
12211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12212 if (SWIG_arg_fail(1)) SWIG_fail;
12213 {
12214 arg2 = (int)(SWIG_As_int(obj1));
12215 if (SWIG_arg_fail(2)) SWIG_fail;
12216 }
4276dc52
RD
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12219 (arg1)->SetZoom(arg2);
4276dc52
RD
12220
12221 wxPyEndAllowThreads(__tstate);
12222 if (PyErr_Occurred()) SWIG_fail;
12223 }
12224 Py_INCREF(Py_None); resultobj = Py_None;
12225 return resultobj;
12226 fail:
12227 return NULL;
12228}
12229
12230
36ed4f51 12231static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12232 PyObject *resultobj;
12233 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12234 int result;
4276dc52
RD
12235 PyObject * obj0 = 0 ;
12236 char *kwnames[] = {
12237 (char *) "self", NULL
12238 };
12239
36ed4f51
RD
12240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail;
12241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12242 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12243 {
12244 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12245 result = (int)(arg1)->GetZoom();
4276dc52
RD
12246
12247 wxPyEndAllowThreads(__tstate);
12248 if (PyErr_Occurred()) SWIG_fail;
12249 }
36ed4f51
RD
12250 {
12251 resultobj = SWIG_From_int((int)(result));
12252 }
4276dc52
RD
12253 return resultobj;
12254 fail:
12255 return NULL;
12256}
12257
12258
36ed4f51 12259static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12260 PyObject *resultobj;
12261 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12262 void *result;
4276dc52
RD
12263 PyObject * obj0 = 0 ;
12264 char *kwnames[] = {
12265 (char *) "self", NULL
12266 };
12267
36ed4f51
RD
12268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
12269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12270 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12271 {
12272 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12273 result = (void *)(arg1)->CreateDocument();
4276dc52
RD
12274
12275 wxPyEndAllowThreads(__tstate);
12276 if (PyErr_Occurred()) SWIG_fail;
12277 }
36ed4f51 12278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
4276dc52
RD
12279 return resultobj;
12280 fail:
12281 return NULL;
12282}
12283
12284
36ed4f51 12285static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12286 PyObject *resultobj;
12287 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12288 void *arg2 = (void *) 0 ;
4276dc52
RD
12289 PyObject * obj0 = 0 ;
12290 PyObject * obj1 = 0 ;
4276dc52 12291 char *kwnames[] = {
36ed4f51 12292 (char *) "self",(char *) "docPointer", NULL
4276dc52
RD
12293 };
12294
36ed4f51
RD
12295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
12296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12297 if (SWIG_arg_fail(1)) SWIG_fail;
12298 {
12299 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
12300 SWIG_arg_fail(2);SWIG_fail;
12301 }
12302 }
4276dc52
RD
12303 {
12304 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12305 (arg1)->AddRefDocument(arg2);
4276dc52
RD
12306
12307 wxPyEndAllowThreads(__tstate);
12308 if (PyErr_Occurred()) SWIG_fail;
12309 }
12310 Py_INCREF(Py_None); resultobj = Py_None;
12311 return resultobj;
12312 fail:
12313 return NULL;
12314}
12315
12316
36ed4f51 12317static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12318 PyObject *resultobj;
12319 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12320 void *arg2 = (void *) 0 ;
4276dc52 12321 PyObject * obj0 = 0 ;
36ed4f51 12322 PyObject * obj1 = 0 ;
4276dc52 12323 char *kwnames[] = {
36ed4f51 12324 (char *) "self",(char *) "docPointer", NULL
4276dc52
RD
12325 };
12326
36ed4f51
RD
12327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail;
12328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12329 if (SWIG_arg_fail(1)) SWIG_fail;
12330 {
12331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
12332 SWIG_arg_fail(2);SWIG_fail;
12333 }
12334 }
4276dc52
RD
12335 {
12336 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12337 (arg1)->ReleaseDocument(arg2);
4276dc52
RD
12338
12339 wxPyEndAllowThreads(__tstate);
12340 if (PyErr_Occurred()) SWIG_fail;
12341 }
12342 Py_INCREF(Py_None); resultobj = Py_None;
12343 return resultobj;
12344 fail:
12345 return NULL;
12346}
12347
12348
36ed4f51 12349static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12350 PyObject *resultobj;
12351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12352 int result;
4276dc52
RD
12353 PyObject * obj0 = 0 ;
12354 char *kwnames[] = {
12355 (char *) "self", NULL
12356 };
12357
36ed4f51
RD
12358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
12359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12360 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12361 {
12362 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12363 result = (int)(arg1)->GetModEventMask();
4276dc52
RD
12364
12365 wxPyEndAllowThreads(__tstate);
12366 if (PyErr_Occurred()) SWIG_fail;
12367 }
36ed4f51
RD
12368 {
12369 resultobj = SWIG_From_int((int)(result));
12370 }
4276dc52
RD
12371 return resultobj;
12372 fail:
12373 return NULL;
12374}
12375
12376
36ed4f51 12377static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12378 PyObject *resultobj;
12379 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12380 bool arg2 ;
4276dc52
RD
12381 PyObject * obj0 = 0 ;
12382 PyObject * obj1 = 0 ;
12383 char *kwnames[] = {
36ed4f51 12384 (char *) "self",(char *) "focus", NULL
4276dc52
RD
12385 };
12386
36ed4f51
RD
12387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
12388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12389 if (SWIG_arg_fail(1)) SWIG_fail;
12390 {
12391 arg2 = (bool)(SWIG_As_bool(obj1));
12392 if (SWIG_arg_fail(2)) SWIG_fail;
12393 }
4276dc52
RD
12394 {
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12396 (arg1)->SetSTCFocus(arg2);
4276dc52
RD
12397
12398 wxPyEndAllowThreads(__tstate);
12399 if (PyErr_Occurred()) SWIG_fail;
12400 }
12401 Py_INCREF(Py_None); resultobj = Py_None;
12402 return resultobj;
12403 fail:
12404 return NULL;
12405}
12406
12407
36ed4f51 12408static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12409 PyObject *resultobj;
12410 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12411 bool result;
4276dc52
RD
12412 PyObject * obj0 = 0 ;
12413 char *kwnames[] = {
12414 (char *) "self", NULL
12415 };
12416
36ed4f51
RD
12417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
12418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12419 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12420 {
12421 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12422 result = (bool)(arg1)->GetSTCFocus();
4276dc52
RD
12423
12424 wxPyEndAllowThreads(__tstate);
12425 if (PyErr_Occurred()) SWIG_fail;
12426 }
36ed4f51
RD
12427 {
12428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12429 }
4276dc52
RD
12430 return resultobj;
12431 fail:
12432 return NULL;
12433}
12434
12435
36ed4f51 12436static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12437 PyObject *resultobj;
12438 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12439 int arg2 ;
4276dc52 12440 PyObject * obj0 = 0 ;
36ed4f51 12441 PyObject * obj1 = 0 ;
4276dc52 12442 char *kwnames[] = {
36ed4f51 12443 (char *) "self",(char *) "statusCode", NULL
4276dc52
RD
12444 };
12445
36ed4f51
RD
12446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail;
12447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12448 if (SWIG_arg_fail(1)) SWIG_fail;
12449 {
12450 arg2 = (int)(SWIG_As_int(obj1));
12451 if (SWIG_arg_fail(2)) SWIG_fail;
12452 }
4276dc52
RD
12453 {
12454 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12455 (arg1)->SetStatus(arg2);
4276dc52
RD
12456
12457 wxPyEndAllowThreads(__tstate);
12458 if (PyErr_Occurred()) SWIG_fail;
12459 }
12460 Py_INCREF(Py_None); resultobj = Py_None;
12461 return resultobj;
12462 fail:
12463 return NULL;
12464}
12465
12466
36ed4f51 12467static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12468 PyObject *resultobj;
12469 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12470 int result;
4276dc52 12471 PyObject * obj0 = 0 ;
4276dc52 12472 char *kwnames[] = {
36ed4f51 12473 (char *) "self", NULL
4276dc52
RD
12474 };
12475
36ed4f51
RD
12476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
12477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12478 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12479 {
12480 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12481 result = (int)(arg1)->GetStatus();
4276dc52
RD
12482
12483 wxPyEndAllowThreads(__tstate);
12484 if (PyErr_Occurred()) SWIG_fail;
12485 }
36ed4f51
RD
12486 {
12487 resultobj = SWIG_From_int((int)(result));
12488 }
4276dc52
RD
12489 return resultobj;
12490 fail:
12491 return NULL;
12492}
12493
12494
36ed4f51 12495static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12496 PyObject *resultobj;
12497 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12498 bool arg2 ;
4276dc52
RD
12499 PyObject * obj0 = 0 ;
12500 PyObject * obj1 = 0 ;
4276dc52 12501 char *kwnames[] = {
36ed4f51 12502 (char *) "self",(char *) "captures", NULL
4276dc52
RD
12503 };
12504
36ed4f51
RD
12505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
12506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12507 if (SWIG_arg_fail(1)) SWIG_fail;
12508 {
12509 arg2 = (bool)(SWIG_As_bool(obj1));
12510 if (SWIG_arg_fail(2)) SWIG_fail;
12511 }
4276dc52
RD
12512 {
12513 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12514 (arg1)->SetMouseDownCaptures(arg2);
4276dc52
RD
12515
12516 wxPyEndAllowThreads(__tstate);
12517 if (PyErr_Occurred()) SWIG_fail;
12518 }
12519 Py_INCREF(Py_None); resultobj = Py_None;
12520 return resultobj;
12521 fail:
12522 return NULL;
12523}
12524
12525
36ed4f51 12526static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12527 PyObject *resultobj;
12528 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12529 bool result;
4276dc52 12530 PyObject * obj0 = 0 ;
4276dc52 12531 char *kwnames[] = {
36ed4f51 12532 (char *) "self", NULL
4276dc52
RD
12533 };
12534
36ed4f51
RD
12535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
12536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12537 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12538 {
12539 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12540 result = (bool)(arg1)->GetMouseDownCaptures();
4276dc52
RD
12541
12542 wxPyEndAllowThreads(__tstate);
12543 if (PyErr_Occurred()) SWIG_fail;
12544 }
36ed4f51
RD
12545 {
12546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12547 }
4276dc52
RD
12548 return resultobj;
12549 fail:
12550 return NULL;
12551}
12552
12553
36ed4f51 12554static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12555 PyObject *resultobj;
12556 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12557 int arg2 ;
4276dc52 12558 PyObject * obj0 = 0 ;
36ed4f51 12559 PyObject * obj1 = 0 ;
4276dc52 12560 char *kwnames[] = {
36ed4f51 12561 (char *) "self",(char *) "cursorType", NULL
4276dc52
RD
12562 };
12563
36ed4f51
RD
12564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail;
12565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12566 if (SWIG_arg_fail(1)) SWIG_fail;
12567 {
12568 arg2 = (int)(SWIG_As_int(obj1));
12569 if (SWIG_arg_fail(2)) SWIG_fail;
12570 }
4276dc52
RD
12571 {
12572 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12573 (arg1)->SetSTCCursor(arg2);
4276dc52
RD
12574
12575 wxPyEndAllowThreads(__tstate);
12576 if (PyErr_Occurred()) SWIG_fail;
12577 }
36ed4f51 12578 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
12579 return resultobj;
12580 fail:
12581 return NULL;
12582}
12583
12584
36ed4f51 12585static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12586 PyObject *resultobj;
12587 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12588 int result;
4276dc52 12589 PyObject * obj0 = 0 ;
4276dc52 12590 char *kwnames[] = {
36ed4f51 12591 (char *) "self", NULL
4276dc52
RD
12592 };
12593
36ed4f51
RD
12594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
12595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12596 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12597 {
12598 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12599 result = (int)(arg1)->GetSTCCursor();
4276dc52
RD
12600
12601 wxPyEndAllowThreads(__tstate);
12602 if (PyErr_Occurred()) SWIG_fail;
12603 }
36ed4f51
RD
12604 {
12605 resultobj = SWIG_From_int((int)(result));
12606 }
4276dc52
RD
12607 return resultobj;
12608 fail:
12609 return NULL;
12610}
12611
12612
36ed4f51 12613static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12614 PyObject *resultobj;
12615 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12616 int arg2 ;
4276dc52
RD
12617 PyObject * obj0 = 0 ;
12618 PyObject * obj1 = 0 ;
4276dc52 12619 char *kwnames[] = {
36ed4f51 12620 (char *) "self",(char *) "symbol", NULL
4276dc52
RD
12621 };
12622
36ed4f51
RD
12623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail;
12624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12625 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52 12626 {
36ed4f51
RD
12627 arg2 = (int)(SWIG_As_int(obj1));
12628 if (SWIG_arg_fail(2)) SWIG_fail;
4276dc52
RD
12629 }
12630 {
12631 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12632 (arg1)->SetControlCharSymbol(arg2);
4276dc52
RD
12633
12634 wxPyEndAllowThreads(__tstate);
12635 if (PyErr_Occurred()) SWIG_fail;
12636 }
12637 Py_INCREF(Py_None); resultobj = Py_None;
12638 return resultobj;
12639 fail:
12640 return NULL;
12641}
12642
12643
36ed4f51 12644static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12645 PyObject *resultobj;
12646 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12647 int result;
4276dc52 12648 PyObject * obj0 = 0 ;
4276dc52 12649 char *kwnames[] = {
36ed4f51 12650 (char *) "self", NULL
4276dc52
RD
12651 };
12652
36ed4f51
RD
12653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail;
12654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12655 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12656 {
12657 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12658 result = (int)(arg1)->GetControlCharSymbol();
4276dc52
RD
12659
12660 wxPyEndAllowThreads(__tstate);
12661 if (PyErr_Occurred()) SWIG_fail;
12662 }
36ed4f51
RD
12663 {
12664 resultobj = SWIG_From_int((int)(result));
12665 }
4276dc52
RD
12666 return resultobj;
12667 fail:
12668 return NULL;
12669}
12670
12671
36ed4f51 12672static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12673 PyObject *resultobj;
12674 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52 12675 PyObject * obj0 = 0 ;
4276dc52 12676 char *kwnames[] = {
36ed4f51 12677 (char *) "self", NULL
4276dc52
RD
12678 };
12679
36ed4f51
RD
12680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail;
12681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12682 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12683 {
12684 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12685 (arg1)->WordPartLeft();
4276dc52
RD
12686
12687 wxPyEndAllowThreads(__tstate);
12688 if (PyErr_Occurred()) SWIG_fail;
12689 }
12690 Py_INCREF(Py_None); resultobj = Py_None;
12691 return resultobj;
12692 fail:
12693 return NULL;
12694}
12695
12696
36ed4f51 12697static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12698 PyObject *resultobj;
12699 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12700 PyObject * obj0 = 0 ;
12701 char *kwnames[] = {
12702 (char *) "self", NULL
12703 };
12704
36ed4f51
RD
12705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
12706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12707 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12708 {
12709 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12710 (arg1)->WordPartLeftExtend();
4276dc52
RD
12711
12712 wxPyEndAllowThreads(__tstate);
12713 if (PyErr_Occurred()) SWIG_fail;
12714 }
12715 Py_INCREF(Py_None); resultobj = Py_None;
12716 return resultobj;
12717 fail:
12718 return NULL;
12719}
12720
12721
36ed4f51 12722static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12723 PyObject *resultobj;
12724 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12725 PyObject * obj0 = 0 ;
12726 char *kwnames[] = {
12727 (char *) "self", NULL
12728 };
12729
36ed4f51
RD
12730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
12731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12732 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12733 {
12734 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12735 (arg1)->WordPartRight();
4276dc52
RD
12736
12737 wxPyEndAllowThreads(__tstate);
12738 if (PyErr_Occurred()) SWIG_fail;
12739 }
12740 Py_INCREF(Py_None); resultobj = Py_None;
12741 return resultobj;
12742 fail:
12743 return NULL;
12744}
12745
12746
36ed4f51 12747static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12748 PyObject *resultobj;
12749 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12750 PyObject * obj0 = 0 ;
12751 char *kwnames[] = {
12752 (char *) "self", NULL
12753 };
12754
36ed4f51
RD
12755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
12756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12757 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12758 {
12759 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12760 (arg1)->WordPartRightExtend();
4276dc52
RD
12761
12762 wxPyEndAllowThreads(__tstate);
12763 if (PyErr_Occurred()) SWIG_fail;
12764 }
12765 Py_INCREF(Py_None); resultobj = Py_None;
12766 return resultobj;
12767 fail:
12768 return NULL;
12769}
12770
12771
36ed4f51 12772static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12773 PyObject *resultobj;
12774 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
12775 int arg2 ;
12776 int arg3 ;
4276dc52 12777 PyObject * obj0 = 0 ;
36ed4f51
RD
12778 PyObject * obj1 = 0 ;
12779 PyObject * obj2 = 0 ;
4276dc52 12780 char *kwnames[] = {
36ed4f51 12781 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
4276dc52
RD
12782 };
12783
36ed4f51
RD
12784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
12785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12786 if (SWIG_arg_fail(1)) SWIG_fail;
12787 {
12788 arg2 = (int)(SWIG_As_int(obj1));
12789 if (SWIG_arg_fail(2)) SWIG_fail;
12790 }
12791 {
12792 arg3 = (int)(SWIG_As_int(obj2));
12793 if (SWIG_arg_fail(3)) SWIG_fail;
12794 }
4276dc52
RD
12795 {
12796 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12797 (arg1)->SetVisiblePolicy(arg2,arg3);
4276dc52
RD
12798
12799 wxPyEndAllowThreads(__tstate);
12800 if (PyErr_Occurred()) SWIG_fail;
12801 }
12802 Py_INCREF(Py_None); resultobj = Py_None;
12803 return resultobj;
12804 fail:
12805 return NULL;
12806}
12807
12808
36ed4f51 12809static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12810 PyObject *resultobj;
12811 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52 12812 PyObject * obj0 = 0 ;
4276dc52 12813 char *kwnames[] = {
36ed4f51 12814 (char *) "self", NULL
4276dc52
RD
12815 };
12816
36ed4f51
RD
12817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
12818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12819 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12820 {
12821 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12822 (arg1)->DelLineLeft();
4276dc52
RD
12823
12824 wxPyEndAllowThreads(__tstate);
12825 if (PyErr_Occurred()) SWIG_fail;
12826 }
36ed4f51 12827 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
12828 return resultobj;
12829 fail:
12830 return NULL;
12831}
12832
12833
36ed4f51 12834static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12835 PyObject *resultobj;
12836 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52 12837 PyObject * obj0 = 0 ;
4276dc52 12838 char *kwnames[] = {
36ed4f51 12839 (char *) "self", NULL
4276dc52
RD
12840 };
12841
36ed4f51
RD
12842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail;
12843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12844 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12845 {
12846 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12847 (arg1)->DelLineRight();
4276dc52
RD
12848
12849 wxPyEndAllowThreads(__tstate);
12850 if (PyErr_Occurred()) SWIG_fail;
12851 }
36ed4f51 12852 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
12853 return resultobj;
12854 fail:
12855 return NULL;
12856}
12857
12858
36ed4f51 12859static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12860 PyObject *resultobj;
12861 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12862 int arg2 ;
4276dc52
RD
12863 PyObject * obj0 = 0 ;
12864 PyObject * obj1 = 0 ;
4276dc52 12865 char *kwnames[] = {
36ed4f51 12866 (char *) "self",(char *) "newOffset", NULL
4276dc52
RD
12867 };
12868
36ed4f51
RD
12869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
12870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12871 if (SWIG_arg_fail(1)) SWIG_fail;
12872 {
12873 arg2 = (int)(SWIG_As_int(obj1));
12874 if (SWIG_arg_fail(2)) SWIG_fail;
12875 }
4276dc52
RD
12876 {
12877 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12878 (arg1)->SetXOffset(arg2);
4276dc52
RD
12879
12880 wxPyEndAllowThreads(__tstate);
12881 if (PyErr_Occurred()) SWIG_fail;
12882 }
12883 Py_INCREF(Py_None); resultobj = Py_None;
12884 return resultobj;
12885 fail:
12886 return NULL;
12887}
12888
12889
36ed4f51 12890static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12891 PyObject *resultobj;
12892 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 12893 int result;
4276dc52 12894 PyObject * obj0 = 0 ;
4276dc52 12895 char *kwnames[] = {
36ed4f51 12896 (char *) "self", NULL
4276dc52
RD
12897 };
12898
36ed4f51
RD
12899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
12900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12901 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12902 {
12903 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12904 result = (int)(arg1)->GetXOffset();
4276dc52
RD
12905
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
4276dc52 12909 {
36ed4f51 12910 resultobj = SWIG_From_int((int)(result));
4276dc52
RD
12911 }
12912 return resultobj;
12913 fail:
4276dc52
RD
12914 return NULL;
12915}
12916
12917
36ed4f51 12918static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12919 PyObject *resultobj;
12920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276dc52 12921 PyObject * obj0 = 0 ;
4276dc52 12922 char *kwnames[] = {
36ed4f51 12923 (char *) "self", NULL
4276dc52
RD
12924 };
12925
36ed4f51
RD
12926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
12927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12928 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
12929 {
12930 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12931 (arg1)->ChooseCaretX();
4276dc52
RD
12932
12933 wxPyEndAllowThreads(__tstate);
12934 if (PyErr_Occurred()) SWIG_fail;
12935 }
12936 Py_INCREF(Py_None); resultobj = Py_None;
12937 return resultobj;
12938 fail:
12939 return NULL;
12940}
12941
12942
36ed4f51 12943static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12944 PyObject *resultobj;
12945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
12946 int arg2 ;
12947 int arg3 ;
4276dc52 12948 PyObject * obj0 = 0 ;
36ed4f51
RD
12949 PyObject * obj1 = 0 ;
12950 PyObject * obj2 = 0 ;
4276dc52 12951 char *kwnames[] = {
36ed4f51 12952 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
4276dc52
RD
12953 };
12954
36ed4f51
RD
12955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
12956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12957 if (SWIG_arg_fail(1)) SWIG_fail;
12958 {
12959 arg2 = (int)(SWIG_As_int(obj1));
12960 if (SWIG_arg_fail(2)) SWIG_fail;
12961 }
12962 {
12963 arg3 = (int)(SWIG_As_int(obj2));
12964 if (SWIG_arg_fail(3)) SWIG_fail;
12965 }
4276dc52
RD
12966 {
12967 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 12968 (arg1)->SetXCaretPolicy(arg2,arg3);
4276dc52
RD
12969
12970 wxPyEndAllowThreads(__tstate);
12971 if (PyErr_Occurred()) SWIG_fail;
12972 }
36ed4f51 12973 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
12974 return resultobj;
12975 fail:
12976 return NULL;
12977}
12978
12979
36ed4f51 12980static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
12981 PyObject *resultobj;
12982 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12983 int arg2 ;
36ed4f51 12984 int arg3 ;
4276dc52
RD
12985 PyObject * obj0 = 0 ;
12986 PyObject * obj1 = 0 ;
36ed4f51 12987 PyObject * obj2 = 0 ;
4276dc52 12988 char *kwnames[] = {
36ed4f51 12989 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
4276dc52
RD
12990 };
12991
36ed4f51
RD
12992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
12993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12994 if (SWIG_arg_fail(1)) SWIG_fail;
12995 {
12996 arg2 = (int)(SWIG_As_int(obj1));
12997 if (SWIG_arg_fail(2)) SWIG_fail;
12998 }
12999 {
13000 arg3 = (int)(SWIG_As_int(obj2));
13001 if (SWIG_arg_fail(3)) SWIG_fail;
13002 }
4276dc52
RD
13003 {
13004 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13005 (arg1)->SetYCaretPolicy(arg2,arg3);
4276dc52
RD
13006
13007 wxPyEndAllowThreads(__tstate);
13008 if (PyErr_Occurred()) SWIG_fail;
13009 }
36ed4f51 13010 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
13011 return resultobj;
13012 fail:
13013 return NULL;
13014}
13015
13016
36ed4f51 13017static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
13018 PyObject *resultobj;
13019 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13020 int arg2 ;
4276dc52
RD
13021 PyObject * obj0 = 0 ;
13022 PyObject * obj1 = 0 ;
13023 char *kwnames[] = {
36ed4f51 13024 (char *) "self",(char *) "mode", NULL
4276dc52
RD
13025 };
13026
36ed4f51
RD
13027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail;
13028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13029 if (SWIG_arg_fail(1)) SWIG_fail;
13030 {
13031 arg2 = (int)(SWIG_As_int(obj1));
13032 if (SWIG_arg_fail(2)) SWIG_fail;
13033 }
4276dc52
RD
13034 {
13035 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13036 (arg1)->SetPrintWrapMode(arg2);
4276dc52
RD
13037
13038 wxPyEndAllowThreads(__tstate);
13039 if (PyErr_Occurred()) SWIG_fail;
13040 }
36ed4f51 13041 Py_INCREF(Py_None); resultobj = Py_None;
4276dc52
RD
13042 return resultobj;
13043 fail:
13044 return NULL;
13045}
13046
13047
36ed4f51 13048static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
13049 PyObject *resultobj;
13050 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 13051 int result;
4276dc52
RD
13052 PyObject * obj0 = 0 ;
13053 char *kwnames[] = {
13054 (char *) "self", NULL
13055 };
13056
36ed4f51
RD
13057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
13058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13059 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
13060 {
13061 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13062 result = (int)(arg1)->GetPrintWrapMode();
4276dc52
RD
13063
13064 wxPyEndAllowThreads(__tstate);
13065 if (PyErr_Occurred()) SWIG_fail;
13066 }
36ed4f51
RD
13067 {
13068 resultobj = SWIG_From_int((int)(result));
13069 }
4276dc52
RD
13070 return resultobj;
13071 fail:
13072 return NULL;
13073}
13074
13075
36ed4f51 13076static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
13077 PyObject *resultobj;
13078 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
13079 bool arg2 ;
13080 wxColour *arg3 = 0 ;
13081 wxColour temp3 ;
4276dc52 13082 PyObject * obj0 = 0 ;
36ed4f51
RD
13083 PyObject * obj1 = 0 ;
13084 PyObject * obj2 = 0 ;
4276dc52 13085 char *kwnames[] = {
36ed4f51 13086 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
4276dc52
RD
13087 };
13088
36ed4f51
RD
13089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
13090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13091 if (SWIG_arg_fail(1)) SWIG_fail;
13092 {
13093 arg2 = (bool)(SWIG_As_bool(obj1));
13094 if (SWIG_arg_fail(2)) SWIG_fail;
13095 }
13096 {
13097 arg3 = &temp3;
13098 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13099 }
4276dc52
RD
13100 {
13101 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13102 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
4276dc52
RD
13103
13104 wxPyEndAllowThreads(__tstate);
13105 if (PyErr_Occurred()) SWIG_fail;
13106 }
13107 Py_INCREF(Py_None); resultobj = Py_None;
13108 return resultobj;
13109 fail:
13110 return NULL;
13111}
13112
13113
36ed4f51 13114static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
13115 PyObject *resultobj;
13116 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
13117 bool arg2 ;
13118 wxColour *arg3 = 0 ;
13119 wxColour temp3 ;
4276dc52 13120 PyObject * obj0 = 0 ;
36ed4f51
RD
13121 PyObject * obj1 = 0 ;
13122 PyObject * obj2 = 0 ;
4276dc52 13123 char *kwnames[] = {
36ed4f51 13124 (char *) "self",(char *) "useSetting",(char *) "back", NULL
4276dc52
RD
13125 };
13126
36ed4f51
RD
13127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
13128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13129 if (SWIG_arg_fail(1)) SWIG_fail;
13130 {
13131 arg2 = (bool)(SWIG_As_bool(obj1));
13132 if (SWIG_arg_fail(2)) SWIG_fail;
13133 }
13134 {
13135 arg3 = &temp3;
13136 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13137 }
4276dc52
RD
13138 {
13139 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13140 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
4276dc52
RD
13141
13142 wxPyEndAllowThreads(__tstate);
13143 if (PyErr_Occurred()) SWIG_fail;
13144 }
13145 Py_INCREF(Py_None); resultobj = Py_None;
13146 return resultobj;
13147 fail:
13148 return NULL;
13149}
13150
13151
36ed4f51 13152static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
13153 PyObject *resultobj;
13154 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 13155 bool arg2 ;
4276dc52 13156 PyObject * obj0 = 0 ;
36ed4f51 13157 PyObject * obj1 = 0 ;
4276dc52 13158 char *kwnames[] = {
36ed4f51 13159 (char *) "self",(char *) "underline", NULL
4276dc52
RD
13160 };
13161
36ed4f51
RD
13162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
13163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13164 if (SWIG_arg_fail(1)) SWIG_fail;
13165 {
13166 arg2 = (bool)(SWIG_As_bool(obj1));
13167 if (SWIG_arg_fail(2)) SWIG_fail;
13168 }
4276dc52
RD
13169 {
13170 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13171 (arg1)->SetHotspotActiveUnderline(arg2);
4276dc52
RD
13172
13173 wxPyEndAllowThreads(__tstate);
13174 if (PyErr_Occurred()) SWIG_fail;
13175 }
13176 Py_INCREF(Py_None); resultobj = Py_None;
13177 return resultobj;
13178 fail:
13179 return NULL;
13180}
13181
13182
36ed4f51 13183static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
13184 PyObject *resultobj;
13185 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 13186 bool arg2 ;
4276dc52 13187 PyObject * obj0 = 0 ;
36ed4f51 13188 PyObject * obj1 = 0 ;
4276dc52 13189 char *kwnames[] = {
36ed4f51 13190 (char *) "self",(char *) "singleLine", NULL
4276dc52
RD
13191 };
13192
36ed4f51
RD
13193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail;
13194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13195 if (SWIG_arg_fail(1)) SWIG_fail;
13196 {
13197 arg2 = (bool)(SWIG_As_bool(obj1));
13198 if (SWIG_arg_fail(2)) SWIG_fail;
13199 }
4276dc52
RD
13200 {
13201 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13202 (arg1)->SetHotspotSingleLine(arg2);
4276dc52
RD
13203
13204 wxPyEndAllowThreads(__tstate);
13205 if (PyErr_Occurred()) SWIG_fail;
13206 }
13207 Py_INCREF(Py_None); resultobj = Py_None;
13208 return resultobj;
13209 fail:
13210 return NULL;
13211}
13212
13213
36ed4f51 13214static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
13215 PyObject *resultobj;
13216 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13217 PyObject * obj0 = 0 ;
13218 char *kwnames[] = {
13219 (char *) "self", NULL
13220 };
13221
36ed4f51
RD
13222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail;
13223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13224 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
13225 {
13226 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13227 (arg1)->ParaDown();
4276dc52
RD
13228
13229 wxPyEndAllowThreads(__tstate);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
13232 Py_INCREF(Py_None); resultobj = Py_None;
13233 return resultobj;
13234 fail:
13235 return NULL;
13236}
13237
13238
36ed4f51 13239static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
13240 PyObject *resultobj;
13241 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13242 PyObject * obj0 = 0 ;
13243 char *kwnames[] = {
13244 (char *) "self", NULL
13245 };
13246
36ed4f51
RD
13247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail;
13248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13249 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
13250 {
13251 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13252 (arg1)->ParaDownExtend();
4276dc52
RD
13253
13254 wxPyEndAllowThreads(__tstate);
13255 if (PyErr_Occurred()) SWIG_fail;
13256 }
13257 Py_INCREF(Py_None); resultobj = Py_None;
13258 return resultobj;
13259 fail:
13260 return NULL;
13261}
13262
13263
36ed4f51 13264static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
13265 PyObject *resultobj;
13266 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13267 PyObject * obj0 = 0 ;
13268 char *kwnames[] = {
13269 (char *) "self", NULL
13270 };
13271
36ed4f51
RD
13272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail;
13273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13274 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
13275 {
13276 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13277 (arg1)->ParaUp();
4276dc52
RD
13278
13279 wxPyEndAllowThreads(__tstate);
13280 if (PyErr_Occurred()) SWIG_fail;
13281 }
13282 Py_INCREF(Py_None); resultobj = Py_None;
13283 return resultobj;
13284 fail:
13285 return NULL;
13286}
13287
13288
36ed4f51 13289static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
13290 PyObject *resultobj;
13291 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13292 PyObject * obj0 = 0 ;
13293 char *kwnames[] = {
13294 (char *) "self", NULL
13295 };
13296
36ed4f51
RD
13297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail;
13298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13299 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
13300 {
13301 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13302 (arg1)->ParaUpExtend();
4276dc52
RD
13303
13304 wxPyEndAllowThreads(__tstate);
13305 if (PyErr_Occurred()) SWIG_fail;
13306 }
13307 Py_INCREF(Py_None); resultobj = Py_None;
13308 return resultobj;
13309 fail:
13310 return NULL;
13311}
13312
13313
36ed4f51 13314static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
13315 PyObject *resultobj;
13316 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
13317 int arg2 ;
13318 int result;
4276dc52 13319 PyObject * obj0 = 0 ;
36ed4f51 13320 PyObject * obj1 = 0 ;
4276dc52 13321 char *kwnames[] = {
36ed4f51 13322 (char *) "self",(char *) "pos", NULL
4276dc52
RD
13323 };
13324
36ed4f51
RD
13325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail;
13326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13327 if (SWIG_arg_fail(1)) SWIG_fail;
13328 {
13329 arg2 = (int)(SWIG_As_int(obj1));
13330 if (SWIG_arg_fail(2)) SWIG_fail;
13331 }
4276dc52
RD
13332 {
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13334 result = (int)(arg1)->PositionBefore(arg2);
4276dc52
RD
13335
13336 wxPyEndAllowThreads(__tstate);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 }
36ed4f51
RD
13339 {
13340 resultobj = SWIG_From_int((int)(result));
13341 }
4276dc52
RD
13342 return resultobj;
13343 fail:
13344 return NULL;
13345}
13346
13347
36ed4f51 13348static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
13349 PyObject *resultobj;
13350 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
13351 int arg2 ;
13352 int result;
4276dc52 13353 PyObject * obj0 = 0 ;
36ed4f51 13354 PyObject * obj1 = 0 ;
4276dc52 13355 char *kwnames[] = {
36ed4f51 13356 (char *) "self",(char *) "pos", NULL
4276dc52
RD
13357 };
13358
36ed4f51
RD
13359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail;
13360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13361 if (SWIG_arg_fail(1)) SWIG_fail;
13362 {
13363 arg2 = (int)(SWIG_As_int(obj1));
13364 if (SWIG_arg_fail(2)) SWIG_fail;
13365 }
4276dc52
RD
13366 {
13367 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13368 result = (int)(arg1)->PositionAfter(arg2);
4276dc52
RD
13369
13370 wxPyEndAllowThreads(__tstate);
13371 if (PyErr_Occurred()) SWIG_fail;
13372 }
36ed4f51
RD
13373 {
13374 resultobj = SWIG_From_int((int)(result));
13375 }
4276dc52
RD
13376 return resultobj;
13377 fail:
13378 return NULL;
13379}
13380
13381
36ed4f51 13382static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
13383 PyObject *resultobj;
13384 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
13385 int arg2 ;
13386 int arg3 ;
4276dc52 13387 PyObject * obj0 = 0 ;
36ed4f51
RD
13388 PyObject * obj1 = 0 ;
13389 PyObject * obj2 = 0 ;
4276dc52 13390 char *kwnames[] = {
36ed4f51 13391 (char *) "self",(char *) "start",(char *) "end", NULL
4276dc52
RD
13392 };
13393
36ed4f51
RD
13394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13396 if (SWIG_arg_fail(1)) SWIG_fail;
13397 {
13398 arg2 = (int)(SWIG_As_int(obj1));
13399 if (SWIG_arg_fail(2)) SWIG_fail;
13400 }
13401 {
13402 arg3 = (int)(SWIG_As_int(obj2));
13403 if (SWIG_arg_fail(3)) SWIG_fail;
13404 }
4276dc52
RD
13405 {
13406 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13407 (arg1)->CopyRange(arg2,arg3);
4276dc52
RD
13408
13409 wxPyEndAllowThreads(__tstate);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 }
13412 Py_INCREF(Py_None); resultobj = Py_None;
13413 return resultobj;
13414 fail:
13415 return NULL;
13416}
13417
13418
36ed4f51 13419static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
13420 PyObject *resultobj;
13421 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
13422 int arg2 ;
13423 wxString *arg3 = 0 ;
13424 bool temp3 = false ;
4276dc52 13425 PyObject * obj0 = 0 ;
36ed4f51
RD
13426 PyObject * obj1 = 0 ;
13427 PyObject * obj2 = 0 ;
4276dc52 13428 char *kwnames[] = {
36ed4f51 13429 (char *) "self",(char *) "length",(char *) "text", NULL
4276dc52
RD
13430 };
13431
36ed4f51
RD
13432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13434 if (SWIG_arg_fail(1)) SWIG_fail;
13435 {
13436 arg2 = (int)(SWIG_As_int(obj1));
13437 if (SWIG_arg_fail(2)) SWIG_fail;
13438 }
13439 {
13440 arg3 = wxString_in_helper(obj2);
13441 if (arg3 == NULL) SWIG_fail;
13442 temp3 = true;
13443 }
4276dc52
RD
13444 {
13445 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13446 (arg1)->CopyText(arg2,(wxString const &)*arg3);
4276dc52
RD
13447
13448 wxPyEndAllowThreads(__tstate);
13449 if (PyErr_Occurred()) SWIG_fail;
13450 }
13451 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51
RD
13452 {
13453 if (temp3)
13454 delete arg3;
13455 }
4276dc52
RD
13456 return resultobj;
13457 fail:
36ed4f51
RD
13458 {
13459 if (temp3)
13460 delete arg3;
13461 }
4276dc52
RD
13462 return NULL;
13463}
13464
13465
36ed4f51 13466static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
13467 PyObject *resultobj;
13468 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 13469 int arg2 ;
4276dc52 13470 PyObject * obj0 = 0 ;
36ed4f51 13471 PyObject * obj1 = 0 ;
4276dc52 13472 char *kwnames[] = {
36ed4f51 13473 (char *) "self",(char *) "mode", NULL
4276dc52
RD
13474 };
13475
36ed4f51
RD
13476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
13477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13478 if (SWIG_arg_fail(1)) SWIG_fail;
13479 {
13480 arg2 = (int)(SWIG_As_int(obj1));
13481 if (SWIG_arg_fail(2)) SWIG_fail;
13482 }
4276dc52
RD
13483 {
13484 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13485 (arg1)->SetSelectionMode(arg2);
4276dc52
RD
13486
13487 wxPyEndAllowThreads(__tstate);
13488 if (PyErr_Occurred()) SWIG_fail;
13489 }
13490 Py_INCREF(Py_None); resultobj = Py_None;
13491 return resultobj;
13492 fail:
13493 return NULL;
13494}
13495
13496
36ed4f51 13497static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
13498 PyObject *resultobj;
13499 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 13500 int result;
4276dc52
RD
13501 PyObject * obj0 = 0 ;
13502 char *kwnames[] = {
13503 (char *) "self", NULL
13504 };
13505
36ed4f51
RD
13506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail;
13507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13508 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
13509 {
13510 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13511 result = (int)(arg1)->GetSelectionMode();
4276dc52
RD
13512
13513 wxPyEndAllowThreads(__tstate);
13514 if (PyErr_Occurred()) SWIG_fail;
13515 }
36ed4f51
RD
13516 {
13517 resultobj = SWIG_From_int((int)(result));
13518 }
4276dc52
RD
13519 return resultobj;
13520 fail:
13521 return NULL;
13522}
13523
13524
36ed4f51 13525static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
13526 PyObject *resultobj;
13527 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
13528 int arg2 ;
13529 int result;
4276dc52 13530 PyObject * obj0 = 0 ;
36ed4f51 13531 PyObject * obj1 = 0 ;
4276dc52 13532 char *kwnames[] = {
36ed4f51 13533 (char *) "self",(char *) "line", NULL
4276dc52
RD
13534 };
13535
36ed4f51
RD
13536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail;
13537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13538 if (SWIG_arg_fail(1)) SWIG_fail;
13539 {
13540 arg2 = (int)(SWIG_As_int(obj1));
13541 if (SWIG_arg_fail(2)) SWIG_fail;
13542 }
4276dc52
RD
13543 {
13544 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13545 result = (int)(arg1)->GetLineSelStartPosition(arg2);
4276dc52
RD
13546
13547 wxPyEndAllowThreads(__tstate);
13548 if (PyErr_Occurred()) SWIG_fail;
13549 }
36ed4f51
RD
13550 {
13551 resultobj = SWIG_From_int((int)(result));
13552 }
4276dc52
RD
13553 return resultobj;
13554 fail:
13555 return NULL;
13556}
13557
13558
36ed4f51 13559static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
13560 PyObject *resultobj;
13561 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
13562 int arg2 ;
13563 int result;
4276dc52 13564 PyObject * obj0 = 0 ;
36ed4f51 13565 PyObject * obj1 = 0 ;
4276dc52 13566 char *kwnames[] = {
36ed4f51 13567 (char *) "self",(char *) "line", NULL
4276dc52
RD
13568 };
13569
36ed4f51
RD
13570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail;
13571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13572 if (SWIG_arg_fail(1)) SWIG_fail;
13573 {
13574 arg2 = (int)(SWIG_As_int(obj1));
13575 if (SWIG_arg_fail(2)) SWIG_fail;
13576 }
4276dc52
RD
13577 {
13578 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13579 result = (int)(arg1)->GetLineSelEndPosition(arg2);
4276dc52
RD
13580
13581 wxPyEndAllowThreads(__tstate);
13582 if (PyErr_Occurred()) SWIG_fail;
13583 }
36ed4f51
RD
13584 {
13585 resultobj = SWIG_From_int((int)(result));
13586 }
96b3fa7c
RD
13587 return resultobj;
13588 fail:
13589 return NULL;
13590}
13591
13592
36ed4f51 13593static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
13594 PyObject *resultobj;
13595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
96b3fa7c 13596 PyObject * obj0 = 0 ;
96b3fa7c 13597 char *kwnames[] = {
36ed4f51 13598 (char *) "self", NULL
96b3fa7c
RD
13599 };
13600
36ed4f51
RD
13601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail;
13602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13603 if (SWIG_arg_fail(1)) SWIG_fail;
96b3fa7c
RD
13604 {
13605 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13606 (arg1)->LineDownRectExtend();
96b3fa7c
RD
13607
13608 wxPyEndAllowThreads(__tstate);
13609 if (PyErr_Occurred()) SWIG_fail;
13610 }
13611 Py_INCREF(Py_None); resultobj = Py_None;
96b3fa7c
RD
13612 return resultobj;
13613 fail:
96b3fa7c
RD
13614 return NULL;
13615}
13616
13617
36ed4f51 13618static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
13619 PyObject *resultobj;
13620 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13621 PyObject * obj0 = 0 ;
13622 char *kwnames[] = {
13623 (char *) "self", NULL
13624 };
13625
36ed4f51
RD
13626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail;
13627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13628 if (SWIG_arg_fail(1)) SWIG_fail;
96b3fa7c
RD
13629 {
13630 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13631 (arg1)->LineUpRectExtend();
96b3fa7c
RD
13632
13633 wxPyEndAllowThreads(__tstate);
13634 if (PyErr_Occurred()) SWIG_fail;
13635 }
13636 Py_INCREF(Py_None); resultobj = Py_None;
13637 return resultobj;
13638 fail:
13639 return NULL;
13640}
13641
13642
36ed4f51 13643static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
96b3fa7c
RD
13644 PyObject *resultobj;
13645 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
96b3fa7c
RD
13646 PyObject * obj0 = 0 ;
13647 char *kwnames[] = {
13648 (char *) "self", NULL
13649 };
13650
36ed4f51
RD
13651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail;
13652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13653 if (SWIG_arg_fail(1)) SWIG_fail;
96b3fa7c
RD
13654 {
13655 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13656 (arg1)->CharLeftRectExtend();
96b3fa7c
RD
13657
13658 wxPyEndAllowThreads(__tstate);
13659 if (PyErr_Occurred()) SWIG_fail;
13660 }
36ed4f51 13661 Py_INCREF(Py_None); resultobj = Py_None;
96b3fa7c
RD
13662 return resultobj;
13663 fail:
13664 return NULL;
13665}
13666
13667
36ed4f51 13668static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
5e483524
RD
13669 PyObject *resultobj;
13670 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5e483524 13671 PyObject * obj0 = 0 ;
5e483524 13672 char *kwnames[] = {
36ed4f51 13673 (char *) "self", NULL
5e483524
RD
13674 };
13675
36ed4f51
RD
13676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail;
13677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13678 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
13679 {
13680 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13681 (arg1)->CharRightRectExtend();
5e483524
RD
13682
13683 wxPyEndAllowThreads(__tstate);
13684 if (PyErr_Occurred()) SWIG_fail;
13685 }
13686 Py_INCREF(Py_None); resultobj = Py_None;
13687 return resultobj;
13688 fail:
13689 return NULL;
13690}
13691
13692
36ed4f51 13693static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13694 PyObject *resultobj;
13695 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13696 PyObject * obj0 = 0 ;
13697 char *kwnames[] = {
13698 (char *) "self", NULL
13699 };
13700
36ed4f51
RD
13701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail;
13702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13703 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13704 {
13705 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13706 (arg1)->HomeRectExtend();
d14a1e28
RD
13707
13708 wxPyEndAllowThreads(__tstate);
13709 if (PyErr_Occurred()) SWIG_fail;
13710 }
13711 Py_INCREF(Py_None); resultobj = Py_None;
13712 return resultobj;
13713 fail:
13714 return NULL;
13715}
13716
13717
36ed4f51 13718static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13719 PyObject *resultobj;
13720 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13721 PyObject * obj0 = 0 ;
13722 char *kwnames[] = {
13723 (char *) "self", NULL
13724 };
13725
36ed4f51
RD
13726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail;
13727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13728 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13729 {
13730 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13731 (arg1)->VCHomeRectExtend();
d14a1e28
RD
13732
13733 wxPyEndAllowThreads(__tstate);
13734 if (PyErr_Occurred()) SWIG_fail;
13735 }
13736 Py_INCREF(Py_None); resultobj = Py_None;
13737 return resultobj;
13738 fail:
13739 return NULL;
13740}
13741
13742
36ed4f51 13743static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13744 PyObject *resultobj;
13745 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
13746 PyObject * obj0 = 0 ;
13747 char *kwnames[] = {
36ed4f51 13748 (char *) "self", NULL
d14a1e28
RD
13749 };
13750
36ed4f51
RD
13751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail;
13752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13753 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13754 {
13755 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13756 (arg1)->LineEndRectExtend();
d14a1e28
RD
13757
13758 wxPyEndAllowThreads(__tstate);
13759 if (PyErr_Occurred()) SWIG_fail;
13760 }
13761 Py_INCREF(Py_None); resultobj = Py_None;
13762 return resultobj;
13763 fail:
13764 return NULL;
13765}
13766
13767
36ed4f51 13768static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13769 PyObject *resultobj;
13770 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
13771 PyObject * obj0 = 0 ;
13772 char *kwnames[] = {
13773 (char *) "self", NULL
13774 };
13775
36ed4f51
RD
13776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail;
13777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13778 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13779 {
13780 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13781 (arg1)->PageUpRectExtend();
d14a1e28
RD
13782
13783 wxPyEndAllowThreads(__tstate);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
36ed4f51 13786 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
13787 return resultobj;
13788 fail:
13789 return NULL;
13790}
13791
13792
36ed4f51 13793static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13794 PyObject *resultobj;
13795 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
13796 PyObject * obj0 = 0 ;
13797 char *kwnames[] = {
36ed4f51 13798 (char *) "self", NULL
d14a1e28
RD
13799 };
13800
36ed4f51
RD
13801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail;
13802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13803 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13804 {
13805 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13806 (arg1)->PageDownRectExtend();
d14a1e28
RD
13807
13808 wxPyEndAllowThreads(__tstate);
13809 if (PyErr_Occurred()) SWIG_fail;
13810 }
13811 Py_INCREF(Py_None); resultobj = Py_None;
13812 return resultobj;
13813 fail:
13814 return NULL;
13815}
13816
13817
36ed4f51 13818static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13819 PyObject *resultobj;
13820 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 13821 PyObject * obj0 = 0 ;
d14a1e28 13822 char *kwnames[] = {
36ed4f51 13823 (char *) "self", NULL
d14a1e28
RD
13824 };
13825
36ed4f51
RD
13826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail;
13827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13828 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13829 {
13830 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13831 (arg1)->StutteredPageUp();
d14a1e28
RD
13832
13833 wxPyEndAllowThreads(__tstate);
13834 if (PyErr_Occurred()) SWIG_fail;
13835 }
13836 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
13837 return resultobj;
13838 fail:
d14a1e28
RD
13839 return NULL;
13840}
13841
13842
36ed4f51 13843static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13844 PyObject *resultobj;
13845 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 13846 PyObject * obj0 = 0 ;
d14a1e28 13847 char *kwnames[] = {
36ed4f51 13848 (char *) "self", NULL
d14a1e28
RD
13849 };
13850
36ed4f51
RD
13851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail;
13852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13853 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13854 {
13855 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13856 (arg1)->StutteredPageUpExtend();
d14a1e28
RD
13857
13858 wxPyEndAllowThreads(__tstate);
13859 if (PyErr_Occurred()) SWIG_fail;
13860 }
13861 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
13862 return resultobj;
13863 fail:
d14a1e28
RD
13864 return NULL;
13865}
13866
13867
36ed4f51 13868static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13869 PyObject *resultobj;
13870 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 13871 PyObject * obj0 = 0 ;
d14a1e28 13872 char *kwnames[] = {
36ed4f51 13873 (char *) "self", NULL
d14a1e28
RD
13874 };
13875
36ed4f51
RD
13876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail;
13877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13878 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13879 {
13880 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13881 (arg1)->StutteredPageDown();
d14a1e28
RD
13882
13883 wxPyEndAllowThreads(__tstate);
13884 if (PyErr_Occurred()) SWIG_fail;
13885 }
13886 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
13887 return resultobj;
13888 fail:
d14a1e28
RD
13889 return NULL;
13890}
13891
13892
36ed4f51 13893static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13894 PyObject *resultobj;
13895 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
13896 PyObject * obj0 = 0 ;
13897 char *kwnames[] = {
13898 (char *) "self", NULL
13899 };
13900
36ed4f51
RD
13901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail;
13902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13903 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13904 {
13905 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13906 (arg1)->StutteredPageDownExtend();
d14a1e28
RD
13907
13908 wxPyEndAllowThreads(__tstate);
13909 if (PyErr_Occurred()) SWIG_fail;
13910 }
36ed4f51 13911 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
13912 return resultobj;
13913 fail:
13914 return NULL;
13915}
13916
13917
36ed4f51 13918static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13919 PyObject *resultobj;
13920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 13921 PyObject * obj0 = 0 ;
d14a1e28 13922 char *kwnames[] = {
36ed4f51 13923 (char *) "self", NULL
d14a1e28
RD
13924 };
13925
36ed4f51
RD
13926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail;
13927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13928 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13929 {
13930 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13931 (arg1)->WordLeftEnd();
d14a1e28
RD
13932
13933 wxPyEndAllowThreads(__tstate);
13934 if (PyErr_Occurred()) SWIG_fail;
13935 }
13936 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
13937 return resultobj;
13938 fail:
d14a1e28
RD
13939 return NULL;
13940}
13941
13942
36ed4f51 13943static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13944 PyObject *resultobj;
13945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 13946 PyObject * obj0 = 0 ;
d14a1e28 13947 char *kwnames[] = {
36ed4f51 13948 (char *) "self", NULL
d14a1e28
RD
13949 };
13950
36ed4f51
RD
13951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail;
13952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13953 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13954 {
13955 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13956 (arg1)->WordLeftEndExtend();
d14a1e28
RD
13957
13958 wxPyEndAllowThreads(__tstate);
13959 if (PyErr_Occurred()) SWIG_fail;
13960 }
13961 Py_INCREF(Py_None); resultobj = Py_None;
13962 return resultobj;
13963 fail:
13964 return NULL;
13965}
13966
13967
36ed4f51 13968static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13969 PyObject *resultobj;
13970 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 13971 PyObject * obj0 = 0 ;
d14a1e28 13972 char *kwnames[] = {
36ed4f51 13973 (char *) "self", NULL
d14a1e28
RD
13974 };
13975
36ed4f51
RD
13976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail;
13977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13978 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13979 {
13980 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 13981 (arg1)->WordRightEnd();
d14a1e28
RD
13982
13983 wxPyEndAllowThreads(__tstate);
13984 if (PyErr_Occurred()) SWIG_fail;
13985 }
13986 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
13987 return resultobj;
13988 fail:
d14a1e28
RD
13989 return NULL;
13990}
13991
13992
36ed4f51 13993static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13994 PyObject *resultobj;
13995 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
13996 PyObject * obj0 = 0 ;
13997 char *kwnames[] = {
36ed4f51 13998 (char *) "self", NULL
d14a1e28
RD
13999 };
14000
36ed4f51
RD
14001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail;
14002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14003 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14004 {
14005 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14006 (arg1)->WordRightEndExtend();
d14a1e28
RD
14007
14008 wxPyEndAllowThreads(__tstate);
14009 if (PyErr_Occurred()) SWIG_fail;
14010 }
14011 Py_INCREF(Py_None); resultobj = Py_None;
14012 return resultobj;
14013 fail:
14014 return NULL;
14015}
14016
14017
36ed4f51 14018static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14019 PyObject *resultobj;
14020 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
14021 wxString *arg2 = 0 ;
14022 bool temp2 = false ;
d14a1e28 14023 PyObject * obj0 = 0 ;
994141e6 14024 PyObject * obj1 = 0 ;
d14a1e28 14025 char *kwnames[] = {
36ed4f51 14026 (char *) "self",(char *) "characters", NULL
d14a1e28
RD
14027 };
14028
36ed4f51
RD
14029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail;
14030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14031 if (SWIG_arg_fail(1)) SWIG_fail;
14032 {
14033 arg2 = wxString_in_helper(obj1);
14034 if (arg2 == NULL) SWIG_fail;
14035 temp2 = true;
14036 }
d14a1e28
RD
14037 {
14038 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14039 (arg1)->SetWhitespaceChars((wxString const &)*arg2);
d14a1e28
RD
14040
14041 wxPyEndAllowThreads(__tstate);
14042 if (PyErr_Occurred()) SWIG_fail;
14043 }
14044 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51
RD
14045 {
14046 if (temp2)
14047 delete arg2;
14048 }
d14a1e28
RD
14049 return resultobj;
14050 fail:
36ed4f51
RD
14051 {
14052 if (temp2)
14053 delete arg2;
14054 }
d14a1e28
RD
14055 return NULL;
14056}
14057
14058
36ed4f51 14059static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14060 PyObject *resultobj;
14061 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
14062 PyObject * obj0 = 0 ;
14063 char *kwnames[] = {
14064 (char *) "self", NULL
14065 };
14066
36ed4f51
RD
14067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail;
14068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14069 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14070 {
14071 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14072 (arg1)->SetCharsDefault();
d14a1e28
RD
14073
14074 wxPyEndAllowThreads(__tstate);
14075 if (PyErr_Occurred()) SWIG_fail;
14076 }
14077 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14078 return resultobj;
14079 fail:
14080 return NULL;
14081}
14082
14083
36ed4f51 14084static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14085 PyObject *resultobj;
14086 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 14087 int result;
d14a1e28
RD
14088 PyObject * obj0 = 0 ;
14089 char *kwnames[] = {
36ed4f51 14090 (char *) "self", NULL
d14a1e28
RD
14091 };
14092
36ed4f51
RD
14093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail;
14094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14095 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14096 {
14097 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14098 result = (int)(arg1)->AutoCompGetCurrent();
d14a1e28
RD
14099
14100 wxPyEndAllowThreads(__tstate);
14101 if (PyErr_Occurred()) SWIG_fail;
14102 }
14103 {
36ed4f51 14104 resultobj = SWIG_From_int((int)(result));
d14a1e28
RD
14105 }
14106 return resultobj;
14107 fail:
14108 return NULL;
14109}
14110
14111
36ed4f51 14112static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14113 PyObject *resultobj;
14114 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14115 int arg2 ;
14116 PyObject * obj0 = 0 ;
994141e6 14117 PyObject * obj1 = 0 ;
d14a1e28 14118 char *kwnames[] = {
36ed4f51 14119 (char *) "self",(char *) "bytes", NULL
d14a1e28
RD
14120 };
14121
36ed4f51
RD
14122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) goto fail;
14123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14124 if (SWIG_arg_fail(1)) SWIG_fail;
14125 {
14126 arg2 = (int)(SWIG_As_int(obj1));
14127 if (SWIG_arg_fail(2)) SWIG_fail;
14128 }
d14a1e28
RD
14129 {
14130 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14131 (arg1)->Allocate(arg2);
d14a1e28
RD
14132
14133 wxPyEndAllowThreads(__tstate);
14134 if (PyErr_Occurred()) SWIG_fail;
14135 }
14136 Py_INCREF(Py_None); resultobj = Py_None;
14137 return resultobj;
14138 fail:
14139 return NULL;
14140}
14141
14142
53aa7709
RD
14143static PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *, PyObject *args, PyObject *kwargs) {
14144 PyObject *resultobj;
14145 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14146 int arg2 ;
14147 int arg3 ;
14148 int result;
14149 PyObject * obj0 = 0 ;
14150 PyObject * obj1 = 0 ;
14151 PyObject * obj2 = 0 ;
14152 char *kwnames[] = {
14153 (char *) "self",(char *) "line",(char *) "column", NULL
14154 };
14155
14156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
14157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14158 if (SWIG_arg_fail(1)) SWIG_fail;
14159 {
14160 arg2 = (int)(SWIG_As_int(obj1));
14161 if (SWIG_arg_fail(2)) SWIG_fail;
14162 }
14163 {
14164 arg3 = (int)(SWIG_As_int(obj2));
14165 if (SWIG_arg_fail(3)) SWIG_fail;
14166 }
14167 {
14168 PyThreadState* __tstate = wxPyBeginAllowThreads();
14169 result = (int)(arg1)->FindColumn(arg2,arg3);
14170
14171 wxPyEndAllowThreads(__tstate);
14172 if (PyErr_Occurred()) SWIG_fail;
14173 }
14174 {
14175 resultobj = SWIG_From_int((int)(result));
14176 }
14177 return resultobj;
14178 fail:
14179 return NULL;
14180}
14181
14182
36ed4f51 14183static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14184 PyObject *resultobj;
14185 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
14186 PyObject * obj0 = 0 ;
14187 char *kwnames[] = {
36ed4f51 14188 (char *) "self", NULL
d14a1e28
RD
14189 };
14190
36ed4f51
RD
14191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
14192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14193 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14194 {
14195 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14196 (arg1)->StartRecord();
d14a1e28
RD
14197
14198 wxPyEndAllowThreads(__tstate);
14199 if (PyErr_Occurred()) SWIG_fail;
14200 }
14201 Py_INCREF(Py_None); resultobj = Py_None;
14202 return resultobj;
14203 fail:
14204 return NULL;
14205}
14206
14207
36ed4f51 14208static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14209 PyObject *resultobj;
14210 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
14211 PyObject * obj0 = 0 ;
14212 char *kwnames[] = {
36ed4f51 14213 (char *) "self", NULL
d14a1e28
RD
14214 };
14215
36ed4f51
RD
14216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
14217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14218 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14219 {
14220 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14221 (arg1)->StopRecord();
d14a1e28
RD
14222
14223 wxPyEndAllowThreads(__tstate);
14224 if (PyErr_Occurred()) SWIG_fail;
14225 }
36ed4f51 14226 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14227 return resultobj;
14228 fail:
14229 return NULL;
14230}
14231
14232
36ed4f51 14233static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14234 PyObject *resultobj;
14235 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 14236 int arg2 ;
d14a1e28
RD
14237 PyObject * obj0 = 0 ;
14238 PyObject * obj1 = 0 ;
14239 char *kwnames[] = {
36ed4f51 14240 (char *) "self",(char *) "lexer", NULL
d14a1e28
RD
14241 };
14242
36ed4f51
RD
14243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail;
14244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14245 if (SWIG_arg_fail(1)) SWIG_fail;
14246 {
14247 arg2 = (int)(SWIG_As_int(obj1));
14248 if (SWIG_arg_fail(2)) SWIG_fail;
14249 }
d14a1e28
RD
14250 {
14251 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14252 (arg1)->SetLexer(arg2);
d14a1e28
RD
14253
14254 wxPyEndAllowThreads(__tstate);
14255 if (PyErr_Occurred()) SWIG_fail;
14256 }
14257 Py_INCREF(Py_None); resultobj = Py_None;
14258 return resultobj;
14259 fail:
14260 return NULL;
14261}
14262
14263
36ed4f51 14264static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14265 PyObject *resultobj;
14266 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51 14267 int result;
d14a1e28 14268 PyObject * obj0 = 0 ;
d14a1e28 14269 char *kwnames[] = {
36ed4f51 14270 (char *) "self", NULL
d14a1e28
RD
14271 };
14272
36ed4f51
RD
14273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
14274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14275 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14276 {
14277 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14278 result = (int)(arg1)->GetLexer();
d14a1e28
RD
14279
14280 wxPyEndAllowThreads(__tstate);
14281 if (PyErr_Occurred()) SWIG_fail;
14282 }
36ed4f51
RD
14283 {
14284 resultobj = SWIG_From_int((int)(result));
14285 }
d14a1e28
RD
14286 return resultobj;
14287 fail:
14288 return NULL;
14289}
14290
14291
36ed4f51 14292static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14293 PyObject *resultobj;
14294 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
14295 int arg2 ;
14296 int arg3 ;
d14a1e28 14297 PyObject * obj0 = 0 ;
36ed4f51
RD
14298 PyObject * obj1 = 0 ;
14299 PyObject * obj2 = 0 ;
d14a1e28 14300 char *kwnames[] = {
36ed4f51 14301 (char *) "self",(char *) "start",(char *) "end", NULL
d14a1e28
RD
14302 };
14303
36ed4f51
RD
14304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail;
14305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14306 if (SWIG_arg_fail(1)) SWIG_fail;
14307 {
14308 arg2 = (int)(SWIG_As_int(obj1));
14309 if (SWIG_arg_fail(2)) SWIG_fail;
14310 }
14311 {
14312 arg3 = (int)(SWIG_As_int(obj2));
14313 if (SWIG_arg_fail(3)) SWIG_fail;
14314 }
d14a1e28
RD
14315 {
14316 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14317 (arg1)->Colourise(arg2,arg3);
d14a1e28
RD
14318
14319 wxPyEndAllowThreads(__tstate);
14320 if (PyErr_Occurred()) SWIG_fail;
14321 }
36ed4f51 14322 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14323 return resultobj;
14324 fail:
14325 return NULL;
14326}
14327
14328
36ed4f51 14329static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14330 PyObject *resultobj;
14331 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
14332 wxString *arg2 = 0 ;
14333 wxString *arg3 = 0 ;
14334 bool temp2 = false ;
14335 bool temp3 = false ;
d14a1e28
RD
14336 PyObject * obj0 = 0 ;
14337 PyObject * obj1 = 0 ;
36ed4f51 14338 PyObject * obj2 = 0 ;
d14a1e28 14339 char *kwnames[] = {
36ed4f51 14340 (char *) "self",(char *) "key",(char *) "value", NULL
d14a1e28
RD
14341 };
14342
36ed4f51
RD
14343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",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 = wxString_in_helper(obj1);
14348 if (arg2 == NULL) SWIG_fail;
14349 temp2 = true;
14350 }
14351 {
14352 arg3 = wxString_in_helper(obj2);
14353 if (arg3 == NULL) SWIG_fail;
14354 temp3 = true;
14355 }
d14a1e28
RD
14356 {
14357 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14358 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
d14a1e28
RD
14359
14360 wxPyEndAllowThreads(__tstate);
14361 if (PyErr_Occurred()) SWIG_fail;
14362 }
14363 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51
RD
14364 {
14365 if (temp2)
14366 delete arg2;
14367 }
14368 {
14369 if (temp3)
14370 delete arg3;
14371 }
d14a1e28
RD
14372 return resultobj;
14373 fail:
36ed4f51
RD
14374 {
14375 if (temp2)
14376 delete arg2;
14377 }
14378 {
14379 if (temp3)
14380 delete arg3;
14381 }
d14a1e28
RD
14382 return NULL;
14383}
14384
14385
36ed4f51 14386static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14387 PyObject *resultobj;
14388 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
14389 int arg2 ;
14390 wxString *arg3 = 0 ;
14391 bool temp3 = false ;
d14a1e28
RD
14392 PyObject * obj0 = 0 ;
14393 PyObject * obj1 = 0 ;
36ed4f51 14394 PyObject * obj2 = 0 ;
d14a1e28 14395 char *kwnames[] = {
36ed4f51 14396 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
d14a1e28
RD
14397 };
14398
36ed4f51
RD
14399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail;
14400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14401 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 14402 {
36ed4f51
RD
14403 arg2 = (int)(SWIG_As_int(obj1));
14404 if (SWIG_arg_fail(2)) SWIG_fail;
14405 }
14406 {
14407 arg3 = wxString_in_helper(obj2);
14408 if (arg3 == NULL) SWIG_fail;
14409 temp3 = true;
d14a1e28
RD
14410 }
14411 {
14412 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14413 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
d14a1e28
RD
14414
14415 wxPyEndAllowThreads(__tstate);
14416 if (PyErr_Occurred()) SWIG_fail;
14417 }
36ed4f51 14418 Py_INCREF(Py_None); resultobj = Py_None;
4f89f6a3 14419 {
36ed4f51
RD
14420 if (temp3)
14421 delete arg3;
d14a1e28
RD
14422 }
14423 return resultobj;
14424 fail:
14425 {
36ed4f51
RD
14426 if (temp3)
14427 delete arg3;
d14a1e28
RD
14428 }
14429 return NULL;
14430}
14431
14432
36ed4f51 14433static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14434 PyObject *resultobj;
14435 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14436 wxString *arg2 = 0 ;
b411df4a 14437 bool temp2 = false ;
d14a1e28
RD
14438 PyObject * obj0 = 0 ;
14439 PyObject * obj1 = 0 ;
14440 char *kwnames[] = {
36ed4f51 14441 (char *) "self",(char *) "language", NULL
d14a1e28
RD
14442 };
14443
36ed4f51
RD
14444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
14445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14446 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14447 {
14448 arg2 = wxString_in_helper(obj1);
14449 if (arg2 == NULL) SWIG_fail;
b411df4a 14450 temp2 = true;
d14a1e28
RD
14451 }
14452 {
14453 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14454 (arg1)->SetLexerLanguage((wxString const &)*arg2);
d14a1e28
RD
14455
14456 wxPyEndAllowThreads(__tstate);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
36ed4f51 14459 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14460 {
14461 if (temp2)
14462 delete arg2;
14463 }
14464 return resultobj;
14465 fail:
14466 {
14467 if (temp2)
14468 delete arg2;
14469 }
14470 return NULL;
14471}
14472
14473
36ed4f51 14474static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14475 PyObject *resultobj;
14476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
96b3fa7c 14477 int result;
d14a1e28 14478 PyObject * obj0 = 0 ;
d14a1e28 14479 char *kwnames[] = {
36ed4f51 14480 (char *) "self", NULL
d14a1e28
RD
14481 };
14482
36ed4f51
RD
14483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
14484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14485 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14486 {
14487 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14488 result = (int)(arg1)->GetCurrentLine();
d14a1e28
RD
14489
14490 wxPyEndAllowThreads(__tstate);
14491 if (PyErr_Occurred()) SWIG_fail;
14492 }
36ed4f51
RD
14493 {
14494 resultobj = SWIG_From_int((int)(result));
14495 }
d14a1e28
RD
14496 return resultobj;
14497 fail:
14498 return NULL;
14499}
14500
14501
36ed4f51 14502static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14503 PyObject *resultobj;
14504 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
14505 int arg2 ;
14506 wxString *arg3 = 0 ;
14507 bool temp3 = false ;
d14a1e28 14508 PyObject * obj0 = 0 ;
994141e6
RD
14509 PyObject * obj1 = 0 ;
14510 PyObject * obj2 = 0 ;
d14a1e28 14511 char *kwnames[] = {
36ed4f51 14512 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
d14a1e28
RD
14513 };
14514
36ed4f51
RD
14515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail;
14516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14517 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 14518 {
36ed4f51
RD
14519 arg2 = (int)(SWIG_As_int(obj1));
14520 if (SWIG_arg_fail(2)) SWIG_fail;
14521 }
14522 {
14523 arg3 = wxString_in_helper(obj2);
14524 if (arg3 == NULL) SWIG_fail;
14525 temp3 = true;
d14a1e28
RD
14526 }
14527 {
14528 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14529 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
d14a1e28
RD
14530
14531 wxPyEndAllowThreads(__tstate);
14532 if (PyErr_Occurred()) SWIG_fail;
14533 }
36ed4f51 14534 Py_INCREF(Py_None); resultobj = Py_None;
4f89f6a3 14535 {
36ed4f51
RD
14536 if (temp3)
14537 delete arg3;
d14a1e28
RD
14538 }
14539 return resultobj;
14540 fail:
14541 {
36ed4f51
RD
14542 if (temp3)
14543 delete arg3;
d14a1e28
RD
14544 }
14545 return NULL;
14546}
14547
14548
36ed4f51 14549static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
14550 PyObject *resultobj;
14551 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
14552 int arg2 ;
14553 wxFont *arg3 = 0 ;
db914595
RD
14554 PyObject * obj0 = 0 ;
14555 PyObject * obj1 = 0 ;
36ed4f51 14556 PyObject * obj2 = 0 ;
db914595 14557 char *kwnames[] = {
36ed4f51 14558 (char *) "self",(char *) "styleNum",(char *) "font", NULL
db914595
RD
14559 };
14560
36ed4f51
RD
14561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
14562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14563 if (SWIG_arg_fail(1)) SWIG_fail;
14564 {
14565 arg2 = (int)(SWIG_As_int(obj1));
14566 if (SWIG_arg_fail(2)) SWIG_fail;
14567 }
14568 {
14569 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
14570 if (SWIG_arg_fail(3)) SWIG_fail;
14571 if (arg3 == NULL) {
14572 SWIG_null_ref("wxFont");
14573 }
14574 if (SWIG_arg_fail(3)) SWIG_fail;
14575 }
db914595
RD
14576 {
14577 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14578 (arg1)->StyleSetFont(arg2,*arg3);
db914595
RD
14579
14580 wxPyEndAllowThreads(__tstate);
14581 if (PyErr_Occurred()) SWIG_fail;
14582 }
14583 Py_INCREF(Py_None); resultobj = Py_None;
14584 return resultobj;
14585 fail:
14586 return NULL;
14587}
14588
14589
36ed4f51 14590static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
14591 PyObject *resultobj;
14592 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
36ed4f51
RD
14593 int arg2 ;
14594 int arg3 ;
14595 wxString *arg4 = 0 ;
14596 bool arg5 ;
14597 bool arg6 ;
14598 bool arg7 ;
a1b6e73b 14599 wxFontEncoding arg8 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
36ed4f51
RD
14600 bool temp4 = false ;
14601 PyObject * obj0 = 0 ;
14602 PyObject * obj1 = 0 ;
14603 PyObject * obj2 = 0 ;
14604 PyObject * obj3 = 0 ;
14605 PyObject * obj4 = 0 ;
14606 PyObject * obj5 = 0 ;
14607 PyObject * obj6 = 0 ;
a1b6e73b 14608 PyObject * obj7 = 0 ;
db914595 14609 char *kwnames[] = {
a1b6e73b 14610 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline",(char *) "encoding", NULL
db914595
RD
14611 };
14612
a1b6e73b 14613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
14614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14615 if (SWIG_arg_fail(1)) SWIG_fail;
14616 {
14617 arg2 = (int)(SWIG_As_int(obj1));
14618 if (SWIG_arg_fail(2)) SWIG_fail;
14619 }
14620 {
14621 arg3 = (int)(SWIG_As_int(obj2));
14622 if (SWIG_arg_fail(3)) SWIG_fail;
14623 }
14624 {
14625 arg4 = wxString_in_helper(obj3);
14626 if (arg4 == NULL) SWIG_fail;
14627 temp4 = true;
14628 }
14629 {
14630 arg5 = (bool)(SWIG_As_bool(obj4));
14631 if (SWIG_arg_fail(5)) SWIG_fail;
14632 }
14633 {
14634 arg6 = (bool)(SWIG_As_bool(obj5));
14635 if (SWIG_arg_fail(6)) SWIG_fail;
14636 }
14637 {
14638 arg7 = (bool)(SWIG_As_bool(obj6));
14639 if (SWIG_arg_fail(7)) SWIG_fail;
14640 }
a1b6e73b
RD
14641 if (obj7) {
14642 {
14643 arg8 = (wxFontEncoding)(SWIG_As_int(obj7));
14644 if (SWIG_arg_fail(8)) SWIG_fail;
14645 }
14646 }
db914595
RD
14647 {
14648 PyThreadState* __tstate = wxPyBeginAllowThreads();
a1b6e73b 14649 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxFontEncoding )arg8);
db914595
RD
14650
14651 wxPyEndAllowThreads(__tstate);
14652 if (PyErr_Occurred()) SWIG_fail;
14653 }
36ed4f51 14654 Py_INCREF(Py_None); resultobj = Py_None;
4f89f6a3 14655 {
36ed4f51
RD
14656 if (temp4)
14657 delete arg4;
4f89f6a3 14658 }
db914595
RD
14659 return resultobj;
14660 fail:
36ed4f51
RD
14661 {
14662 if (temp4)
14663 delete arg4;
14664 }
db914595
RD
14665 return NULL;
14666}
14667
14668
a1b6e73b
RD
14669static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject *args, PyObject *kwargs) {
14670 PyObject *resultobj;
14671 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14672 int arg2 ;
14673 int arg3 ;
14674 PyObject * obj0 = 0 ;
14675 PyObject * obj1 = 0 ;
14676 PyObject * obj2 = 0 ;
14677 char *kwnames[] = {
14678 (char *) "self",(char *) "style",(char *) "characterSet", NULL
14679 };
14680
14681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail;
14682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14683 if (SWIG_arg_fail(1)) SWIG_fail;
14684 {
14685 arg2 = (int)(SWIG_As_int(obj1));
14686 if (SWIG_arg_fail(2)) SWIG_fail;
14687 }
14688 {
14689 arg3 = (int)(SWIG_As_int(obj2));
14690 if (SWIG_arg_fail(3)) SWIG_fail;
14691 }
14692 {
14693 PyThreadState* __tstate = wxPyBeginAllowThreads();
14694 (arg1)->StyleSetCharacterSet(arg2,arg3);
14695
14696 wxPyEndAllowThreads(__tstate);
14697 if (PyErr_Occurred()) SWIG_fail;
14698 }
14699 Py_INCREF(Py_None); resultobj = Py_None;
14700 return resultobj;
14701 fail:
14702 return NULL;
14703}
14704
14705
14706static PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
14707 PyObject *resultobj;
14708 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14709 int arg2 ;
14710 wxFontEncoding arg3 ;
14711 PyObject * obj0 = 0 ;
14712 PyObject * obj1 = 0 ;
14713 PyObject * obj2 = 0 ;
14714 char *kwnames[] = {
14715 (char *) "self",(char *) "style",(char *) "encoding", NULL
14716 };
14717
14718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFontEncoding",kwnames,&obj0,&obj1,&obj2)) goto fail;
14719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14720 if (SWIG_arg_fail(1)) SWIG_fail;
14721 {
14722 arg2 = (int)(SWIG_As_int(obj1));
14723 if (SWIG_arg_fail(2)) SWIG_fail;
14724 }
14725 {
14726 arg3 = (wxFontEncoding)(SWIG_As_int(obj2));
14727 if (SWIG_arg_fail(3)) SWIG_fail;
14728 }
14729 {
14730 PyThreadState* __tstate = wxPyBeginAllowThreads();
14731 (arg1)->StyleSetFontEncoding(arg2,(wxFontEncoding )arg3);
14732
14733 wxPyEndAllowThreads(__tstate);
14734 if (PyErr_Occurred()) SWIG_fail;
14735 }
14736 Py_INCREF(Py_None); resultobj = Py_None;
14737 return resultobj;
14738 fail:
14739 return NULL;
14740}
14741
14742
36ed4f51 14743static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 14744 PyObject *resultobj;
36ed4f51
RD
14745 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14746 int arg2 ;
994141e6
RD
14747 PyObject * obj0 = 0 ;
14748 PyObject * obj1 = 0 ;
d14a1e28 14749 char *kwnames[] = {
36ed4f51 14750 (char *) "self",(char *) "cmd", NULL
d14a1e28
RD
14751 };
14752
36ed4f51
RD
14753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail;
14754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14755 if (SWIG_arg_fail(1)) SWIG_fail;
14756 {
14757 arg2 = (int)(SWIG_As_int(obj1));
14758 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 14759 }
d14a1e28
RD
14760 {
14761 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14762 (arg1)->CmdKeyExecute(arg2);
d14a1e28
RD
14763
14764 wxPyEndAllowThreads(__tstate);
14765 if (PyErr_Occurred()) SWIG_fail;
14766 }
36ed4f51 14767 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
14768 return resultobj;
14769 fail:
14770 return NULL;
14771}
14772
14773
36ed4f51 14774static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 14775 PyObject *resultobj;
36ed4f51
RD
14776 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14777 int arg2 ;
14778 int arg3 ;
d14a1e28 14779 PyObject * obj0 = 0 ;
36ed4f51
RD
14780 PyObject * obj1 = 0 ;
14781 PyObject * obj2 = 0 ;
d14a1e28 14782 char *kwnames[] = {
36ed4f51 14783 (char *) "self",(char *) "left",(char *) "right", NULL
d14a1e28
RD
14784 };
14785
36ed4f51
RD
14786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
14787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14788 if (SWIG_arg_fail(1)) SWIG_fail;
14789 {
14790 arg2 = (int)(SWIG_As_int(obj1));
14791 if (SWIG_arg_fail(2)) SWIG_fail;
14792 }
14793 {
14794 arg3 = (int)(SWIG_As_int(obj2));
14795 if (SWIG_arg_fail(3)) SWIG_fail;
14796 }
d14a1e28
RD
14797 {
14798 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14799 (arg1)->SetMargins(arg2,arg3);
d14a1e28
RD
14800
14801 wxPyEndAllowThreads(__tstate);
14802 if (PyErr_Occurred()) SWIG_fail;
14803 }
14804 Py_INCREF(Py_None); resultobj = Py_None;
14805 return resultobj;
14806 fail:
14807 return NULL;
14808}
14809
14810
36ed4f51 14811static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 14812 PyObject *resultobj;
36ed4f51
RD
14813 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14814 int *arg2 = (int *) 0 ;
14815 int *arg3 = (int *) 0 ;
14816 int temp2 ;
14817 int res2 = 0 ;
14818 int temp3 ;
14819 int res3 = 0 ;
d14a1e28
RD
14820 PyObject * obj0 = 0 ;
14821 char *kwnames[] = {
36ed4f51 14822 (char *) "self", NULL
d14a1e28
RD
14823 };
14824
36ed4f51
RD
14825 arg2 = &temp2; res2 = SWIG_NEWOBJ;
14826 arg3 = &temp3; res3 = SWIG_NEWOBJ;
14827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
14828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14829 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14830 {
14831 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14832 (arg1)->GetSelection(arg2,arg3);
d14a1e28
RD
14833
14834 wxPyEndAllowThreads(__tstate);
14835 if (PyErr_Occurred()) SWIG_fail;
14836 }
14837 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51
RD
14838 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
14839 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
14840 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
14841 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
14842 return resultobj;
14843 fail:
14844 return NULL;
14845}
14846
14847
36ed4f51 14848static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 14849 PyObject *resultobj;
36ed4f51 14850 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 14851 int arg2 ;
36ed4f51 14852 wxPoint result;
d14a1e28 14853 PyObject * obj0 = 0 ;
994141e6 14854 PyObject * obj1 = 0 ;
d14a1e28 14855 char *kwnames[] = {
36ed4f51 14856 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
14857 };
14858
36ed4f51
RD
14859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail;
14860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14861 if (SWIG_arg_fail(1)) SWIG_fail;
14862 {
14863 arg2 = (int)(SWIG_As_int(obj1));
14864 if (SWIG_arg_fail(2)) SWIG_fail;
14865 }
d14a1e28
RD
14866 {
14867 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14868 result = (arg1)->PointFromPosition(arg2);
d14a1e28
RD
14869
14870 wxPyEndAllowThreads(__tstate);
14871 if (PyErr_Occurred()) SWIG_fail;
14872 }
36ed4f51
RD
14873 {
14874 wxPoint * resultptr;
14875 resultptr = new wxPoint((wxPoint &)(result));
14876 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
14877 }
d14a1e28
RD
14878 return resultobj;
14879 fail:
14880 return NULL;
14881}
14882
14883
36ed4f51 14884static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 14885 PyObject *resultobj;
36ed4f51 14886 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
14887 int arg2 ;
14888 PyObject * obj0 = 0 ;
994141e6 14889 PyObject * obj1 = 0 ;
d14a1e28 14890 char *kwnames[] = {
36ed4f51 14891 (char *) "self",(char *) "line", NULL
d14a1e28
RD
14892 };
14893
36ed4f51
RD
14894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
14895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14896 if (SWIG_arg_fail(1)) SWIG_fail;
14897 {
14898 arg2 = (int)(SWIG_As_int(obj1));
14899 if (SWIG_arg_fail(2)) SWIG_fail;
14900 }
d14a1e28
RD
14901 {
14902 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14903 (arg1)->ScrollToLine(arg2);
d14a1e28
RD
14904
14905 wxPyEndAllowThreads(__tstate);
14906 if (PyErr_Occurred()) SWIG_fail;
14907 }
14908 Py_INCREF(Py_None); resultobj = Py_None;
14909 return resultobj;
14910 fail:
14911 return NULL;
14912}
14913
14914
36ed4f51 14915static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 14916 PyObject *resultobj;
36ed4f51 14917 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28
RD
14918 int arg2 ;
14919 PyObject * obj0 = 0 ;
994141e6 14920 PyObject * obj1 = 0 ;
d14a1e28 14921 char *kwnames[] = {
36ed4f51 14922 (char *) "self",(char *) "column", NULL
d14a1e28
RD
14923 };
14924
36ed4f51
RD
14925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail;
14926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14927 if (SWIG_arg_fail(1)) SWIG_fail;
14928 {
14929 arg2 = (int)(SWIG_As_int(obj1));
14930 if (SWIG_arg_fail(2)) SWIG_fail;
14931 }
d14a1e28
RD
14932 {
14933 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14934 (arg1)->ScrollToColumn(arg2);
d14a1e28
RD
14935
14936 wxPyEndAllowThreads(__tstate);
14937 if (PyErr_Occurred()) SWIG_fail;
14938 }
14939 Py_INCREF(Py_None); resultobj = Py_None;
14940 return resultobj;
14941 fail:
14942 return NULL;
14943}
14944
14945
36ed4f51 14946static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 14947 PyObject *resultobj;
36ed4f51
RD
14948 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14949 int arg2 ;
14950 long arg3 = (long) 0 ;
14951 long arg4 = (long) 0 ;
14952 long result;
d14a1e28
RD
14953 PyObject * obj0 = 0 ;
14954 PyObject * obj1 = 0 ;
36ed4f51
RD
14955 PyObject * obj2 = 0 ;
14956 PyObject * obj3 = 0 ;
d14a1e28 14957 char *kwnames[] = {
36ed4f51 14958 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
d14a1e28
RD
14959 };
14960
36ed4f51
RD
14961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14963 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 14964 {
36ed4f51
RD
14965 arg2 = (int)(SWIG_As_int(obj1));
14966 if (SWIG_arg_fail(2)) SWIG_fail;
14967 }
14968 if (obj2) {
14969 {
14970 arg3 = (long)(SWIG_As_long(obj2));
14971 if (SWIG_arg_fail(3)) SWIG_fail;
14972 }
14973 }
14974 if (obj3) {
14975 {
14976 arg4 = (long)(SWIG_As_long(obj3));
14977 if (SWIG_arg_fail(4)) SWIG_fail;
14978 }
d14a1e28
RD
14979 }
14980 {
14981 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14982 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
d14a1e28
RD
14983
14984 wxPyEndAllowThreads(__tstate);
14985 if (PyErr_Occurred()) SWIG_fail;
14986 }
d14a1e28 14987 {
36ed4f51 14988 resultobj = SWIG_From_long((long)(result));
d14a1e28
RD
14989 }
14990 return resultobj;
14991 fail:
d14a1e28
RD
14992 return NULL;
14993}
14994
14995
36ed4f51 14996static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 14997 PyObject *resultobj;
36ed4f51
RD
14998 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14999 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
d14a1e28 15000 PyObject * obj0 = 0 ;
994141e6 15001 PyObject * obj1 = 0 ;
d14a1e28 15002 char *kwnames[] = {
36ed4f51 15003 (char *) "self",(char *) "bar", NULL
d14a1e28
RD
15004 };
15005
36ed4f51
RD
15006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
15007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15008 if (SWIG_arg_fail(1)) SWIG_fail;
15009 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
15010 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15011 {
15012 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15013 (arg1)->SetVScrollBar(arg2);
d14a1e28
RD
15014
15015 wxPyEndAllowThreads(__tstate);
15016 if (PyErr_Occurred()) SWIG_fail;
15017 }
15018 Py_INCREF(Py_None); resultobj = Py_None;
15019 return resultobj;
15020 fail:
15021 return NULL;
15022}
15023
15024
36ed4f51 15025static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 15026 PyObject *resultobj;
36ed4f51
RD
15027 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15028 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
d14a1e28 15029 PyObject * obj0 = 0 ;
994141e6 15030 PyObject * obj1 = 0 ;
d14a1e28 15031 char *kwnames[] = {
36ed4f51 15032 (char *) "self",(char *) "bar", NULL
d14a1e28
RD
15033 };
15034
36ed4f51
RD
15035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
15036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15037 if (SWIG_arg_fail(1)) SWIG_fail;
15038 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
15039 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15040 {
15041 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15042 (arg1)->SetHScrollBar(arg2);
d14a1e28
RD
15043
15044 wxPyEndAllowThreads(__tstate);
15045 if (PyErr_Occurred()) SWIG_fail;
15046 }
15047 Py_INCREF(Py_None); resultobj = Py_None;
15048 return resultobj;
15049 fail:
15050 return NULL;
15051}
15052
15053
36ed4f51 15054static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 15055 PyObject *resultobj;
36ed4f51
RD
15056 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15057 bool result;
d14a1e28
RD
15058 PyObject * obj0 = 0 ;
15059 char *kwnames[] = {
36ed4f51 15060 (char *) "self", NULL
d14a1e28
RD
15061 };
15062
36ed4f51
RD
15063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
15064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15065 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15066 {
15067 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15068 result = (bool)(arg1)->GetLastKeydownProcessed();
d14a1e28
RD
15069
15070 wxPyEndAllowThreads(__tstate);
15071 if (PyErr_Occurred()) SWIG_fail;
15072 }
36ed4f51
RD
15073 {
15074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15075 }
d14a1e28
RD
15076 return resultobj;
15077 fail:
15078 return NULL;
15079}
15080
15081
36ed4f51 15082static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 15083 PyObject *resultobj;
36ed4f51
RD
15084 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15085 bool arg2 ;
d14a1e28 15086 PyObject * obj0 = 0 ;
994141e6 15087 PyObject * obj1 = 0 ;
d14a1e28
RD
15088 char *kwnames[] = {
15089 (char *) "self",(char *) "val", NULL
15090 };
15091
36ed4f51
RD
15092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
15093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15094 if (SWIG_arg_fail(1)) SWIG_fail;
15095 {
15096 arg2 = (bool)(SWIG_As_bool(obj1));
15097 if (SWIG_arg_fail(2)) SWIG_fail;
15098 }
d14a1e28
RD
15099 {
15100 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15101 (arg1)->SetLastKeydownProcessed(arg2);
d14a1e28
RD
15102
15103 wxPyEndAllowThreads(__tstate);
15104 if (PyErr_Occurred()) SWIG_fail;
15105 }
15106 Py_INCREF(Py_None); resultobj = Py_None;
15107 return resultobj;
15108 fail:
15109 return NULL;
15110}
15111
15112
36ed4f51 15113static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 15114 PyObject *resultobj;
36ed4f51
RD
15115 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15116 wxString *arg2 = 0 ;
15117 bool result;
15118 bool temp2 = false ;
d14a1e28 15119 PyObject * obj0 = 0 ;
994141e6 15120 PyObject * obj1 = 0 ;
d14a1e28 15121 char *kwnames[] = {
36ed4f51 15122 (char *) "self",(char *) "filename", NULL
d14a1e28
RD
15123 };
15124
36ed4f51
RD
15125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
15126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15127 if (SWIG_arg_fail(1)) SWIG_fail;
15128 {
15129 arg2 = wxString_in_helper(obj1);
15130 if (arg2 == NULL) SWIG_fail;
15131 temp2 = true;
15132 }
d14a1e28
RD
15133 {
15134 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15135 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
d14a1e28
RD
15136
15137 wxPyEndAllowThreads(__tstate);
15138 if (PyErr_Occurred()) SWIG_fail;
15139 }
36ed4f51
RD
15140 {
15141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15142 }
15143 {
15144 if (temp2)
15145 delete arg2;
15146 }
d14a1e28
RD
15147 return resultobj;
15148 fail:
36ed4f51
RD
15149 {
15150 if (temp2)
15151 delete arg2;
15152 }
d14a1e28
RD
15153 return NULL;
15154}
15155
15156
36ed4f51 15157static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 15158 PyObject *resultobj;
36ed4f51
RD
15159 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15160 wxString *arg2 = 0 ;
15161 bool result;
15162 bool temp2 = false ;
d14a1e28 15163 PyObject * obj0 = 0 ;
994141e6 15164 PyObject * obj1 = 0 ;
d14a1e28 15165 char *kwnames[] = {
36ed4f51 15166 (char *) "self",(char *) "filename", NULL
d14a1e28
RD
15167 };
15168
36ed4f51
RD
15169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
15170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15171 if (SWIG_arg_fail(1)) SWIG_fail;
15172 {
15173 arg2 = wxString_in_helper(obj1);
15174 if (arg2 == NULL) SWIG_fail;
15175 temp2 = true;
15176 }
d14a1e28
RD
15177 {
15178 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15179 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
d14a1e28
RD
15180
15181 wxPyEndAllowThreads(__tstate);
15182 if (PyErr_Occurred()) SWIG_fail;
15183 }
36ed4f51
RD
15184 {
15185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15186 }
15187 {
15188 if (temp2)
15189 delete arg2;
15190 }
d14a1e28
RD
15191 return resultobj;
15192 fail:
36ed4f51
RD
15193 {
15194 if (temp2)
15195 delete arg2;
15196 }
d14a1e28
RD
15197 return NULL;
15198}
15199
15200
36ed4f51 15201static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 15202 PyObject *resultobj;
36ed4f51 15203 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
d14a1e28 15204 int arg2 ;
36ed4f51
RD
15205 int arg3 ;
15206 wxDragResult arg4 ;
15207 wxDragResult result;
d14a1e28 15208 PyObject * obj0 = 0 ;
994141e6 15209 PyObject * obj1 = 0 ;
36ed4f51
RD
15210 PyObject * obj2 = 0 ;
15211 PyObject * obj3 = 0 ;
d14a1e28 15212 char *kwnames[] = {
36ed4f51 15213 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
d14a1e28
RD
15214 };
15215
36ed4f51
RD
15216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15218 if (SWIG_arg_fail(1)) SWIG_fail;
15219 {
15220 arg2 = (int)(SWIG_As_int(obj1));
15221 if (SWIG_arg_fail(2)) SWIG_fail;
15222 }
15223 {
15224 arg3 = (int)(SWIG_As_int(obj2));
15225 if (SWIG_arg_fail(3)) SWIG_fail;
15226 }
15227 {
15228 arg4 = (wxDragResult)(SWIG_As_int(obj3));
15229 if (SWIG_arg_fail(4)) SWIG_fail;
15230 }
d14a1e28
RD
15231 {
15232 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15233 result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4);
d14a1e28
RD
15234
15235 wxPyEndAllowThreads(__tstate);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 }
36ed4f51 15238 resultobj = SWIG_From_int((result));
d14a1e28
RD
15239 return resultobj;
15240 fail:
15241 return NULL;
15242}
15243
15244
36ed4f51 15245static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 15246 PyObject *resultobj;
36ed4f51
RD
15247 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15248 long arg2 ;
15249 long arg3 ;
15250 wxString *arg4 = 0 ;
15251 bool result;
15252 bool temp4 = false ;
d14a1e28 15253 PyObject * obj0 = 0 ;
994141e6 15254 PyObject * obj1 = 0 ;
36ed4f51
RD
15255 PyObject * obj2 = 0 ;
15256 PyObject * obj3 = 0 ;
d14a1e28 15257 char *kwnames[] = {
36ed4f51 15258 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
d14a1e28
RD
15259 };
15260
36ed4f51
RD
15261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15263 if (SWIG_arg_fail(1)) SWIG_fail;
15264 {
15265 arg2 = (long)(SWIG_As_long(obj1));
15266 if (SWIG_arg_fail(2)) SWIG_fail;
15267 }
15268 {
15269 arg3 = (long)(SWIG_As_long(obj2));
15270 if (SWIG_arg_fail(3)) SWIG_fail;
15271 }
15272 {
15273 arg4 = wxString_in_helper(obj3);
15274 if (arg4 == NULL) SWIG_fail;
15275 temp4 = true;
15276 }
d14a1e28
RD
15277 {
15278 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15279 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
d14a1e28
RD
15280
15281 wxPyEndAllowThreads(__tstate);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 }
36ed4f51
RD
15284 {
15285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15286 }
15287 {
15288 if (temp4)
15289 delete arg4;
15290 }
d14a1e28
RD
15291 return resultobj;
15292 fail:
36ed4f51
RD
15293 {
15294 if (temp4)
15295 delete arg4;
15296 }
d14a1e28
RD
15297 return NULL;
15298}
15299
15300
36ed4f51 15301static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 15302 PyObject *resultobj;
36ed4f51
RD
15303 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15304 bool arg2 ;
d14a1e28 15305 PyObject * obj0 = 0 ;
994141e6 15306 PyObject * obj1 = 0 ;
d14a1e28 15307 char *kwnames[] = {
36ed4f51 15308 (char *) "self",(char *) "useAA", NULL
d14a1e28
RD
15309 };
15310
36ed4f51
RD
15311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
15312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15313 if (SWIG_arg_fail(1)) SWIG_fail;
15314 {
15315 arg2 = (bool)(SWIG_As_bool(obj1));
15316 if (SWIG_arg_fail(2)) SWIG_fail;
15317 }
d14a1e28
RD
15318 {
15319 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15320 (arg1)->SetUseAntiAliasing(arg2);
d14a1e28
RD
15321
15322 wxPyEndAllowThreads(__tstate);
15323 if (PyErr_Occurred()) SWIG_fail;
15324 }
15325 Py_INCREF(Py_None); resultobj = Py_None;
15326 return resultobj;
15327 fail:
15328 return NULL;
15329}
15330
15331
36ed4f51 15332static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 15333 PyObject *resultobj;
36ed4f51
RD
15334 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15335 bool result;
d14a1e28
RD
15336 PyObject * obj0 = 0 ;
15337 char *kwnames[] = {
36ed4f51 15338 (char *) "self", NULL
d14a1e28
RD
15339 };
15340
36ed4f51
RD
15341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail;
15342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15343 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15344 {
15345 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15346 result = (bool)(arg1)->GetUseAntiAliasing();
d14a1e28
RD
15347
15348 wxPyEndAllowThreads(__tstate);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 }
36ed4f51
RD
15351 {
15352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15353 }
d14a1e28
RD
15354 return resultobj;
15355 fail:
15356 return NULL;
15357}
15358
15359
66af7a75
RD
15360static PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15361 PyObject *resultobj;
15362 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15363 char *arg2 = (char *) 0 ;
15364 PyObject * obj0 = 0 ;
15365 PyObject * obj1 = 0 ;
15366 char *kwnames[] = {
15367 (char *) "self",(char *) "text", NULL
15368 };
15369
15370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddTextRaw",kwnames,&obj0,&obj1)) goto fail;
15371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15372 if (SWIG_arg_fail(1)) SWIG_fail;
15373 if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) {
15374 SWIG_arg_fail(2);SWIG_fail;
15375 }
15376 {
15377 PyThreadState* __tstate = wxPyBeginAllowThreads();
15378 (arg1)->AddTextRaw((char const *)arg2);
15379
15380 wxPyEndAllowThreads(__tstate);
15381 if (PyErr_Occurred()) SWIG_fail;
15382 }
15383 Py_INCREF(Py_None); resultobj = Py_None;
15384 return resultobj;
15385 fail:
15386 return NULL;
15387}
15388
15389
15390static PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15391 PyObject *resultobj;
15392 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15393 int arg2 ;
15394 char *arg3 = (char *) 0 ;
15395 PyObject * obj0 = 0 ;
15396 PyObject * obj1 = 0 ;
15397 PyObject * obj2 = 0 ;
15398 char *kwnames[] = {
15399 (char *) "self",(char *) "pos",(char *) "text", NULL
15400 };
15401
15402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertTextRaw",kwnames,&obj0,&obj1,&obj2)) goto fail;
15403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15404 if (SWIG_arg_fail(1)) SWIG_fail;
15405 {
15406 arg2 = (int)(SWIG_As_int(obj1));
15407 if (SWIG_arg_fail(2)) SWIG_fail;
15408 }
15409 if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) {
15410 SWIG_arg_fail(3);SWIG_fail;
15411 }
15412 {
15413 PyThreadState* __tstate = wxPyBeginAllowThreads();
15414 (arg1)->InsertTextRaw(arg2,(char const *)arg3);
15415
15416 wxPyEndAllowThreads(__tstate);
15417 if (PyErr_Occurred()) SWIG_fail;
15418 }
15419 Py_INCREF(Py_None); resultobj = Py_None;
15420 return resultobj;
15421 fail:
15422 return NULL;
15423}
15424
15425
15426static PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15427 PyObject *resultobj;
15428 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15429 int *arg2 = (int *) 0 ;
15430 wxCharBuffer result;
15431 int temp2 ;
15432 int res2 = 0 ;
15433 PyObject * obj0 = 0 ;
15434 char *kwnames[] = {
15435 (char *) "self", NULL
15436 };
15437
15438 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLineRaw",kwnames,&obj0)) goto fail;
15440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15441 if (SWIG_arg_fail(1)) SWIG_fail;
15442 {
15443 PyThreadState* __tstate = wxPyBeginAllowThreads();
15444 result = (arg1)->GetCurLineRaw(arg2);
15445
15446 wxPyEndAllowThreads(__tstate);
15447 if (PyErr_Occurred()) SWIG_fail;
15448 }
15449 {
15450 resultobj = PyString_FromString((char*)(&result)->data());
15451 }
15452 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15453 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15454 return resultobj;
15455 fail:
15456 return NULL;
15457}
15458
15459
15460static PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15461 PyObject *resultobj;
15462 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15463 int arg2 ;
15464 wxCharBuffer result;
15465 PyObject * obj0 = 0 ;
15466 PyObject * obj1 = 0 ;
15467 char *kwnames[] = {
15468 (char *) "self",(char *) "line", NULL
15469 };
15470
15471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineRaw",kwnames,&obj0,&obj1)) goto fail;
15472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15473 if (SWIG_arg_fail(1)) SWIG_fail;
15474 {
15475 arg2 = (int)(SWIG_As_int(obj1));
15476 if (SWIG_arg_fail(2)) SWIG_fail;
15477 }
15478 {
15479 PyThreadState* __tstate = wxPyBeginAllowThreads();
15480 result = (arg1)->GetLineRaw(arg2);
15481
15482 wxPyEndAllowThreads(__tstate);
15483 if (PyErr_Occurred()) SWIG_fail;
15484 }
15485 {
15486 resultobj = PyString_FromString((char*)(&result)->data());
15487 }
15488 return resultobj;
15489 fail:
15490 return NULL;
15491}
15492
15493
15494static PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15495 PyObject *resultobj;
15496 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15497 wxCharBuffer result;
15498 PyObject * obj0 = 0 ;
15499 char *kwnames[] = {
15500 (char *) "self", NULL
15501 };
15502
15503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedTextRaw",kwnames,&obj0)) goto fail;
15504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15505 if (SWIG_arg_fail(1)) SWIG_fail;
15506 {
15507 PyThreadState* __tstate = wxPyBeginAllowThreads();
15508 result = (arg1)->GetSelectedTextRaw();
15509
15510 wxPyEndAllowThreads(__tstate);
15511 if (PyErr_Occurred()) SWIG_fail;
15512 }
15513 {
15514 resultobj = PyString_FromString((char*)(&result)->data());
15515 }
15516 return resultobj;
15517 fail:
15518 return NULL;
15519}
15520
15521
15522static PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15523 PyObject *resultobj;
15524 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15525 int arg2 ;
15526 int arg3 ;
15527 wxCharBuffer result;
15528 PyObject * obj0 = 0 ;
15529 PyObject * obj1 = 0 ;
15530 PyObject * obj2 = 0 ;
15531 char *kwnames[] = {
15532 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
15533 };
15534
15535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRangeRaw",kwnames,&obj0,&obj1,&obj2)) goto fail;
15536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15537 if (SWIG_arg_fail(1)) SWIG_fail;
15538 {
15539 arg2 = (int)(SWIG_As_int(obj1));
15540 if (SWIG_arg_fail(2)) SWIG_fail;
15541 }
15542 {
15543 arg3 = (int)(SWIG_As_int(obj2));
15544 if (SWIG_arg_fail(3)) SWIG_fail;
15545 }
15546 {
15547 PyThreadState* __tstate = wxPyBeginAllowThreads();
15548 result = (arg1)->GetTextRangeRaw(arg2,arg3);
15549
15550 wxPyEndAllowThreads(__tstate);
15551 if (PyErr_Occurred()) SWIG_fail;
15552 }
15553 {
15554 resultobj = PyString_FromString((char*)(&result)->data());
15555 }
15556 return resultobj;
15557 fail:
15558 return NULL;
15559}
15560
15561
15562static PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15563 PyObject *resultobj;
15564 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15565 char *arg2 = (char *) 0 ;
15566 PyObject * obj0 = 0 ;
15567 PyObject * obj1 = 0 ;
15568 char *kwnames[] = {
15569 (char *) "self",(char *) "text", NULL
15570 };
15571
15572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTextRaw",kwnames,&obj0,&obj1)) goto fail;
15573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15574 if (SWIG_arg_fail(1)) SWIG_fail;
15575 if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) {
15576 SWIG_arg_fail(2);SWIG_fail;
15577 }
15578 {
15579 PyThreadState* __tstate = wxPyBeginAllowThreads();
15580 (arg1)->SetTextRaw((char const *)arg2);
15581
15582 wxPyEndAllowThreads(__tstate);
15583 if (PyErr_Occurred()) SWIG_fail;
15584 }
15585 Py_INCREF(Py_None); resultobj = Py_None;
15586 return resultobj;
15587 fail:
15588 return NULL;
15589}
15590
15591
15592static PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15593 PyObject *resultobj;
15594 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15595 wxCharBuffer result;
15596 PyObject * obj0 = 0 ;
15597 char *kwnames[] = {
15598 (char *) "self", NULL
15599 };
15600
15601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextRaw",kwnames,&obj0)) goto fail;
15602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15603 if (SWIG_arg_fail(1)) SWIG_fail;
15604 {
15605 PyThreadState* __tstate = wxPyBeginAllowThreads();
15606 result = (arg1)->GetTextRaw();
15607
15608 wxPyEndAllowThreads(__tstate);
15609 if (PyErr_Occurred()) SWIG_fail;
15610 }
15611 {
15612 resultobj = PyString_FromString((char*)(&result)->data());
15613 }
15614 return resultobj;
15615 fail:
15616 return NULL;
15617}
15618
15619
15620static PyObject *_wrap_StyledTextCtrl_AppendTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
15621 PyObject *resultobj;
15622 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15623 char *arg2 = (char *) 0 ;
15624 PyObject * obj0 = 0 ;
15625 PyObject * obj1 = 0 ;
15626 char *kwnames[] = {
15627 (char *) "self",(char *) "text", NULL
15628 };
15629
15630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendTextRaw",kwnames,&obj0,&obj1)) goto fail;
15631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15632 if (SWIG_arg_fail(1)) SWIG_fail;
15633 if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) {
15634 SWIG_arg_fail(2);SWIG_fail;
15635 }
15636 {
15637 PyThreadState* __tstate = wxPyBeginAllowThreads();
15638 (arg1)->AppendTextRaw((char const *)arg2);
15639
15640 wxPyEndAllowThreads(__tstate);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 }
15643 Py_INCREF(Py_None); resultobj = Py_None;
15644 return resultobj;
15645 fail:
15646 return NULL;
15647}
15648
15649
36ed4f51
RD
15650static PyObject * StyledTextCtrl_swigregister(PyObject *, PyObject *args) {
15651 PyObject *obj;
15652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15653 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
15654 Py_INCREF(obj);
15655 return Py_BuildValue((char *)"");
15656}
15657static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 15658 PyObject *resultobj;
36ed4f51
RD
15659 wxEventType arg1 = (wxEventType) 0 ;
15660 int arg2 = (int) 0 ;
15661 wxStyledTextEvent *result;
d14a1e28 15662 PyObject * obj0 = 0 ;
994141e6 15663 PyObject * obj1 = 0 ;
d14a1e28 15664 char *kwnames[] = {
36ed4f51 15665 (char *) "commandType",(char *) "id", NULL
d14a1e28
RD
15666 };
15667
36ed4f51
RD
15668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail;
15669 if (obj0) {
15670 {
15671 arg1 = (wxEventType)(SWIG_As_int(obj0));
15672 if (SWIG_arg_fail(1)) SWIG_fail;
15673 }
15674 }
15675 if (obj1) {
15676 {
15677 arg2 = (int)(SWIG_As_int(obj1));
15678 if (SWIG_arg_fail(2)) SWIG_fail;
15679 }
15680 }
d14a1e28
RD
15681 {
15682 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15683 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
d14a1e28
RD
15684
15685 wxPyEndAllowThreads(__tstate);
15686 if (PyErr_Occurred()) SWIG_fail;
15687 }
36ed4f51 15688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1);
d14a1e28
RD
15689 return resultobj;
15690 fail:
15691 return NULL;
15692}
15693
15694
36ed4f51 15695static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15696 PyObject *resultobj;
15697 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
d14a1e28
RD
15698 PyObject * obj0 = 0 ;
15699 char *kwnames[] = {
36ed4f51 15700 (char *) "self", NULL
d14a1e28
RD
15701 };
15702
36ed4f51
RD
15703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
15704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15705 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15706 {
15707 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15708 delete arg1;
d14a1e28
RD
15709
15710 wxPyEndAllowThreads(__tstate);
15711 if (PyErr_Occurred()) SWIG_fail;
15712 }
15713 Py_INCREF(Py_None); resultobj = Py_None;
15714 return resultobj;
15715 fail:
15716 return NULL;
15717}
15718
15719
36ed4f51 15720static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15721 PyObject *resultobj;
15722 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 15723 int arg2 ;
d14a1e28
RD
15724 PyObject * obj0 = 0 ;
15725 PyObject * obj1 = 0 ;
15726 char *kwnames[] = {
36ed4f51 15727 (char *) "self",(char *) "pos", NULL
d14a1e28
RD
15728 };
15729
36ed4f51
RD
15730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15732 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 15733 {
36ed4f51
RD
15734 arg2 = (int)(SWIG_As_int(obj1));
15735 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15736 }
15737 {
15738 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15739 (arg1)->SetPosition(arg2);
d14a1e28
RD
15740
15741 wxPyEndAllowThreads(__tstate);
15742 if (PyErr_Occurred()) SWIG_fail;
15743 }
15744 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
15745 return resultobj;
15746 fail:
d14a1e28
RD
15747 return NULL;
15748}
15749
15750
36ed4f51 15751static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15752 PyObject *resultobj;
15753 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 15754 int arg2 ;
d14a1e28
RD
15755 PyObject * obj0 = 0 ;
15756 PyObject * obj1 = 0 ;
15757 char *kwnames[] = {
36ed4f51 15758 (char *) "self",(char *) "k", NULL
d14a1e28
RD
15759 };
15760
36ed4f51
RD
15761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail;
15762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15763 if (SWIG_arg_fail(1)) SWIG_fail;
15764 {
15765 arg2 = (int)(SWIG_As_int(obj1));
15766 if (SWIG_arg_fail(2)) SWIG_fail;
15767 }
d14a1e28
RD
15768 {
15769 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15770 (arg1)->SetKey(arg2);
d14a1e28
RD
15771
15772 wxPyEndAllowThreads(__tstate);
15773 if (PyErr_Occurred()) SWIG_fail;
15774 }
15775 Py_INCREF(Py_None); resultobj = Py_None;
15776 return resultobj;
15777 fail:
15778 return NULL;
15779}
15780
15781
36ed4f51 15782static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15783 PyObject *resultobj;
15784 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
96b3fa7c 15785 int arg2 ;
d14a1e28
RD
15786 PyObject * obj0 = 0 ;
15787 PyObject * obj1 = 0 ;
15788 char *kwnames[] = {
36ed4f51 15789 (char *) "self",(char *) "m", NULL
d14a1e28
RD
15790 };
15791
36ed4f51
RD
15792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail;
15793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15794 if (SWIG_arg_fail(1)) SWIG_fail;
15795 {
15796 arg2 = (int)(SWIG_As_int(obj1));
15797 if (SWIG_arg_fail(2)) SWIG_fail;
15798 }
d14a1e28
RD
15799 {
15800 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15801 (arg1)->SetModifiers(arg2);
d14a1e28
RD
15802
15803 wxPyEndAllowThreads(__tstate);
15804 if (PyErr_Occurred()) SWIG_fail;
15805 }
15806 Py_INCREF(Py_None); resultobj = Py_None;
15807 return resultobj;
15808 fail:
15809 return NULL;
15810}
15811
15812
36ed4f51 15813static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15814 PyObject *resultobj;
15815 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 15816 int arg2 ;
d14a1e28 15817 PyObject * obj0 = 0 ;
36ed4f51 15818 PyObject * obj1 = 0 ;
d14a1e28 15819 char *kwnames[] = {
36ed4f51 15820 (char *) "self",(char *) "t", NULL
d14a1e28
RD
15821 };
15822
36ed4f51
RD
15823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail;
15824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15825 if (SWIG_arg_fail(1)) SWIG_fail;
15826 {
15827 arg2 = (int)(SWIG_As_int(obj1));
15828 if (SWIG_arg_fail(2)) SWIG_fail;
15829 }
d14a1e28
RD
15830 {
15831 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15832 (arg1)->SetModificationType(arg2);
d14a1e28
RD
15833
15834 wxPyEndAllowThreads(__tstate);
15835 if (PyErr_Occurred()) SWIG_fail;
15836 }
36ed4f51 15837 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
15838 return resultobj;
15839 fail:
15840 return NULL;
15841}
15842
15843
36ed4f51 15844static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15845 PyObject *resultobj;
15846 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51
RD
15847 wxString *arg2 = 0 ;
15848 bool temp2 = false ;
d14a1e28 15849 PyObject * obj0 = 0 ;
36ed4f51 15850 PyObject * obj1 = 0 ;
d14a1e28 15851 char *kwnames[] = {
36ed4f51 15852 (char *) "self",(char *) "t", NULL
d14a1e28
RD
15853 };
15854
36ed4f51
RD
15855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
15856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15857 if (SWIG_arg_fail(1)) SWIG_fail;
15858 {
15859 arg2 = wxString_in_helper(obj1);
15860 if (arg2 == NULL) SWIG_fail;
15861 temp2 = true;
15862 }
d14a1e28
RD
15863 {
15864 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15865 (arg1)->SetText((wxString const &)*arg2);
d14a1e28
RD
15866
15867 wxPyEndAllowThreads(__tstate);
15868 if (PyErr_Occurred()) SWIG_fail;
15869 }
36ed4f51
RD
15870 Py_INCREF(Py_None); resultobj = Py_None;
15871 {
15872 if (temp2)
15873 delete arg2;
15874 }
15875 return resultobj;
15876 fail:
15877 {
15878 if (temp2)
15879 delete arg2;
15880 }
d14a1e28
RD
15881 return NULL;
15882}
15883
15884
36ed4f51 15885static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15886 PyObject *resultobj;
15887 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 15888 int arg2 ;
d14a1e28 15889 PyObject * obj0 = 0 ;
36ed4f51 15890 PyObject * obj1 = 0 ;
d14a1e28 15891 char *kwnames[] = {
36ed4f51 15892 (char *) "self",(char *) "len", NULL
d14a1e28
RD
15893 };
15894
36ed4f51
RD
15895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail;
15896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15897 if (SWIG_arg_fail(1)) SWIG_fail;
15898 {
15899 arg2 = (int)(SWIG_As_int(obj1));
15900 if (SWIG_arg_fail(2)) SWIG_fail;
15901 }
d14a1e28
RD
15902 {
15903 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15904 (arg1)->SetLength(arg2);
d14a1e28
RD
15905
15906 wxPyEndAllowThreads(__tstate);
15907 if (PyErr_Occurred()) SWIG_fail;
15908 }
36ed4f51 15909 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
15910 return resultobj;
15911 fail:
15912 return NULL;
15913}
15914
15915
36ed4f51 15916static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15917 PyObject *resultobj;
15918 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 15919 int arg2 ;
d14a1e28 15920 PyObject * obj0 = 0 ;
36ed4f51 15921 PyObject * obj1 = 0 ;
d14a1e28 15922 char *kwnames[] = {
36ed4f51 15923 (char *) "self",(char *) "num", NULL
d14a1e28
RD
15924 };
15925
36ed4f51
RD
15926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail;
15927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15928 if (SWIG_arg_fail(1)) SWIG_fail;
15929 {
15930 arg2 = (int)(SWIG_As_int(obj1));
15931 if (SWIG_arg_fail(2)) SWIG_fail;
15932 }
d14a1e28
RD
15933 {
15934 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15935 (arg1)->SetLinesAdded(arg2);
d14a1e28
RD
15936
15937 wxPyEndAllowThreads(__tstate);
15938 if (PyErr_Occurred()) SWIG_fail;
15939 }
36ed4f51 15940 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
15941 return resultobj;
15942 fail:
15943 return NULL;
15944}
15945
15946
36ed4f51 15947static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15948 PyObject *resultobj;
15949 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 15950 int arg2 ;
d14a1e28 15951 PyObject * obj0 = 0 ;
36ed4f51 15952 PyObject * obj1 = 0 ;
d14a1e28 15953 char *kwnames[] = {
36ed4f51 15954 (char *) "self",(char *) "val", NULL
d14a1e28
RD
15955 };
15956
36ed4f51
RD
15957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail;
15958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15959 if (SWIG_arg_fail(1)) SWIG_fail;
15960 {
15961 arg2 = (int)(SWIG_As_int(obj1));
15962 if (SWIG_arg_fail(2)) SWIG_fail;
15963 }
d14a1e28
RD
15964 {
15965 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15966 (arg1)->SetLine(arg2);
d14a1e28
RD
15967
15968 wxPyEndAllowThreads(__tstate);
15969 if (PyErr_Occurred()) SWIG_fail;
15970 }
36ed4f51 15971 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
15972 return resultobj;
15973 fail:
15974 return NULL;
15975}
15976
15977
36ed4f51 15978static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15979 PyObject *resultobj;
15980 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 15981 int arg2 ;
d14a1e28 15982 PyObject * obj0 = 0 ;
36ed4f51 15983 PyObject * obj1 = 0 ;
d14a1e28 15984 char *kwnames[] = {
36ed4f51 15985 (char *) "self",(char *) "val", NULL
d14a1e28
RD
15986 };
15987
36ed4f51
RD
15988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail;
15989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15990 if (SWIG_arg_fail(1)) SWIG_fail;
15991 {
15992 arg2 = (int)(SWIG_As_int(obj1));
15993 if (SWIG_arg_fail(2)) SWIG_fail;
15994 }
d14a1e28
RD
15995 {
15996 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15997 (arg1)->SetFoldLevelNow(arg2);
d14a1e28
RD
15998
15999 wxPyEndAllowThreads(__tstate);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 }
36ed4f51 16002 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16003 return resultobj;
16004 fail:
16005 return NULL;
16006}
16007
16008
36ed4f51 16009static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16010 PyObject *resultobj;
16011 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16012 int arg2 ;
d14a1e28 16013 PyObject * obj0 = 0 ;
36ed4f51 16014 PyObject * obj1 = 0 ;
d14a1e28 16015 char *kwnames[] = {
36ed4f51 16016 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16017 };
16018
36ed4f51
RD
16019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail;
16020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16021 if (SWIG_arg_fail(1)) SWIG_fail;
16022 {
16023 arg2 = (int)(SWIG_As_int(obj1));
16024 if (SWIG_arg_fail(2)) SWIG_fail;
16025 }
d14a1e28
RD
16026 {
16027 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16028 (arg1)->SetFoldLevelPrev(arg2);
d14a1e28
RD
16029
16030 wxPyEndAllowThreads(__tstate);
16031 if (PyErr_Occurred()) SWIG_fail;
16032 }
36ed4f51 16033 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16034 return resultobj;
16035 fail:
16036 return NULL;
16037}
16038
16039
36ed4f51 16040static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16041 PyObject *resultobj;
16042 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16043 int arg2 ;
d14a1e28 16044 PyObject * obj0 = 0 ;
36ed4f51 16045 PyObject * obj1 = 0 ;
d14a1e28 16046 char *kwnames[] = {
36ed4f51 16047 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16048 };
16049
36ed4f51
RD
16050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail;
16051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16052 if (SWIG_arg_fail(1)) SWIG_fail;
16053 {
16054 arg2 = (int)(SWIG_As_int(obj1));
16055 if (SWIG_arg_fail(2)) SWIG_fail;
16056 }
d14a1e28
RD
16057 {
16058 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16059 (arg1)->SetMargin(arg2);
d14a1e28
RD
16060
16061 wxPyEndAllowThreads(__tstate);
16062 if (PyErr_Occurred()) SWIG_fail;
16063 }
36ed4f51 16064 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16065 return resultobj;
16066 fail:
16067 return NULL;
16068}
16069
16070
36ed4f51 16071static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16072 PyObject *resultobj;
16073 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16074 int arg2 ;
d14a1e28 16075 PyObject * obj0 = 0 ;
36ed4f51 16076 PyObject * obj1 = 0 ;
d14a1e28 16077 char *kwnames[] = {
36ed4f51 16078 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16079 };
16080
36ed4f51
RD
16081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail;
16082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16083 if (SWIG_arg_fail(1)) SWIG_fail;
16084 {
16085 arg2 = (int)(SWIG_As_int(obj1));
16086 if (SWIG_arg_fail(2)) SWIG_fail;
16087 }
d14a1e28
RD
16088 {
16089 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16090 (arg1)->SetMessage(arg2);
d14a1e28
RD
16091
16092 wxPyEndAllowThreads(__tstate);
16093 if (PyErr_Occurred()) SWIG_fail;
16094 }
36ed4f51 16095 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16096 return resultobj;
16097 fail:
16098 return NULL;
16099}
16100
16101
36ed4f51 16102static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16103 PyObject *resultobj;
16104 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16105 int arg2 ;
d14a1e28 16106 PyObject * obj0 = 0 ;
36ed4f51 16107 PyObject * obj1 = 0 ;
d14a1e28 16108 char *kwnames[] = {
36ed4f51 16109 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16110 };
16111
36ed4f51
RD
16112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail;
16113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16114 if (SWIG_arg_fail(1)) SWIG_fail;
16115 {
16116 arg2 = (int)(SWIG_As_int(obj1));
16117 if (SWIG_arg_fail(2)) SWIG_fail;
16118 }
d14a1e28
RD
16119 {
16120 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16121 (arg1)->SetWParam(arg2);
d14a1e28
RD
16122
16123 wxPyEndAllowThreads(__tstate);
16124 if (PyErr_Occurred()) SWIG_fail;
16125 }
36ed4f51 16126 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16127 return resultobj;
16128 fail:
16129 return NULL;
16130}
16131
16132
36ed4f51 16133static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16134 PyObject *resultobj;
16135 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16136 int arg2 ;
d14a1e28 16137 PyObject * obj0 = 0 ;
36ed4f51 16138 PyObject * obj1 = 0 ;
d14a1e28 16139 char *kwnames[] = {
36ed4f51 16140 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16141 };
16142
36ed4f51
RD
16143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail;
16144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16145 if (SWIG_arg_fail(1)) SWIG_fail;
16146 {
16147 arg2 = (int)(SWIG_As_int(obj1));
16148 if (SWIG_arg_fail(2)) SWIG_fail;
16149 }
d14a1e28
RD
16150 {
16151 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16152 (arg1)->SetLParam(arg2);
d14a1e28
RD
16153
16154 wxPyEndAllowThreads(__tstate);
16155 if (PyErr_Occurred()) SWIG_fail;
16156 }
36ed4f51 16157 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16158 return resultobj;
16159 fail:
16160 return NULL;
16161}
16162
16163
36ed4f51 16164static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16165 PyObject *resultobj;
16166 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16167 int arg2 ;
d14a1e28 16168 PyObject * obj0 = 0 ;
36ed4f51 16169 PyObject * obj1 = 0 ;
d14a1e28 16170 char *kwnames[] = {
36ed4f51 16171 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16172 };
16173
36ed4f51
RD
16174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail;
16175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16176 if (SWIG_arg_fail(1)) SWIG_fail;
16177 {
16178 arg2 = (int)(SWIG_As_int(obj1));
16179 if (SWIG_arg_fail(2)) SWIG_fail;
16180 }
d14a1e28
RD
16181 {
16182 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16183 (arg1)->SetListType(arg2);
d14a1e28
RD
16184
16185 wxPyEndAllowThreads(__tstate);
16186 if (PyErr_Occurred()) SWIG_fail;
16187 }
36ed4f51 16188 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16189 return resultobj;
16190 fail:
16191 return NULL;
16192}
16193
16194
36ed4f51 16195static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16196 PyObject *resultobj;
16197 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16198 int arg2 ;
d14a1e28 16199 PyObject * obj0 = 0 ;
36ed4f51 16200 PyObject * obj1 = 0 ;
d14a1e28 16201 char *kwnames[] = {
36ed4f51 16202 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16203 };
16204
36ed4f51
RD
16205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail;
16206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16207 if (SWIG_arg_fail(1)) SWIG_fail;
16208 {
16209 arg2 = (int)(SWIG_As_int(obj1));
16210 if (SWIG_arg_fail(2)) SWIG_fail;
16211 }
d14a1e28
RD
16212 {
16213 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16214 (arg1)->SetX(arg2);
d14a1e28
RD
16215
16216 wxPyEndAllowThreads(__tstate);
16217 if (PyErr_Occurred()) SWIG_fail;
16218 }
36ed4f51 16219 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16220 return resultobj;
16221 fail:
16222 return NULL;
16223}
16224
16225
36ed4f51 16226static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16227 PyObject *resultobj;
16228 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16229 int arg2 ;
d14a1e28 16230 PyObject * obj0 = 0 ;
36ed4f51 16231 PyObject * obj1 = 0 ;
d14a1e28 16232 char *kwnames[] = {
36ed4f51 16233 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16234 };
16235
36ed4f51
RD
16236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) 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 arg2 = (int)(SWIG_As_int(obj1));
16241 if (SWIG_arg_fail(2)) SWIG_fail;
16242 }
d14a1e28
RD
16243 {
16244 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16245 (arg1)->SetY(arg2);
d14a1e28
RD
16246
16247 wxPyEndAllowThreads(__tstate);
16248 if (PyErr_Occurred()) SWIG_fail;
16249 }
36ed4f51 16250 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16251 return resultobj;
16252 fail:
16253 return NULL;
16254}
16255
16256
36ed4f51 16257static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16258 PyObject *resultobj;
16259 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51
RD
16260 wxString *arg2 = 0 ;
16261 bool temp2 = false ;
d14a1e28 16262 PyObject * obj0 = 0 ;
36ed4f51 16263 PyObject * obj1 = 0 ;
d14a1e28 16264 char *kwnames[] = {
36ed4f51 16265 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16266 };
16267
36ed4f51
RD
16268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail;
16269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16270 if (SWIG_arg_fail(1)) SWIG_fail;
16271 {
16272 arg2 = wxString_in_helper(obj1);
16273 if (arg2 == NULL) SWIG_fail;
16274 temp2 = true;
16275 }
d14a1e28
RD
16276 {
16277 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16278 (arg1)->SetDragText((wxString const &)*arg2);
d14a1e28
RD
16279
16280 wxPyEndAllowThreads(__tstate);
16281 if (PyErr_Occurred()) SWIG_fail;
16282 }
36ed4f51
RD
16283 Py_INCREF(Py_None); resultobj = Py_None;
16284 {
16285 if (temp2)
16286 delete arg2;
16287 }
d14a1e28
RD
16288 return resultobj;
16289 fail:
36ed4f51
RD
16290 {
16291 if (temp2)
16292 delete arg2;
16293 }
d14a1e28
RD
16294 return NULL;
16295}
16296
16297
36ed4f51 16298static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16299 PyObject *resultobj;
16300 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16301 bool arg2 ;
d14a1e28 16302 PyObject * obj0 = 0 ;
36ed4f51 16303 PyObject * obj1 = 0 ;
d14a1e28 16304 char *kwnames[] = {
36ed4f51 16305 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16306 };
16307
36ed4f51
RD
16308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
16309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16310 if (SWIG_arg_fail(1)) SWIG_fail;
16311 {
16312 arg2 = (bool)(SWIG_As_bool(obj1));
16313 if (SWIG_arg_fail(2)) SWIG_fail;
16314 }
d14a1e28
RD
16315 {
16316 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16317 (arg1)->SetDragAllowMove(arg2);
d14a1e28
RD
16318
16319 wxPyEndAllowThreads(__tstate);
16320 if (PyErr_Occurred()) SWIG_fail;
16321 }
36ed4f51 16322 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16323 return resultobj;
16324 fail:
16325 return NULL;
16326}
16327
16328
36ed4f51 16329static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16330 PyObject *resultobj;
16331 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16332 wxDragResult arg2 ;
d14a1e28 16333 PyObject * obj0 = 0 ;
36ed4f51 16334 PyObject * obj1 = 0 ;
d14a1e28 16335 char *kwnames[] = {
36ed4f51 16336 (char *) "self",(char *) "val", NULL
d14a1e28
RD
16337 };
16338
36ed4f51
RD
16339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
16340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16341 if (SWIG_arg_fail(1)) SWIG_fail;
16342 {
16343 arg2 = (wxDragResult)(SWIG_As_int(obj1));
16344 if (SWIG_arg_fail(2)) SWIG_fail;
16345 }
d14a1e28
RD
16346 {
16347 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16348 (arg1)->SetDragResult((wxDragResult )arg2);
d14a1e28
RD
16349
16350 wxPyEndAllowThreads(__tstate);
16351 if (PyErr_Occurred()) SWIG_fail;
16352 }
36ed4f51 16353 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
16354 return resultobj;
16355 fail:
16356 return NULL;
16357}
16358
16359
36ed4f51 16360static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16361 PyObject *resultobj;
16362 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16363 int result;
d14a1e28
RD
16364 PyObject * obj0 = 0 ;
16365 char *kwnames[] = {
16366 (char *) "self", NULL
16367 };
16368
36ed4f51
RD
16369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
16370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16371 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16372 {
16373 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16374 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
d14a1e28
RD
16375
16376 wxPyEndAllowThreads(__tstate);
16377 if (PyErr_Occurred()) SWIG_fail;
16378 }
16379 {
36ed4f51 16380 resultobj = SWIG_From_int((int)(result));
d14a1e28
RD
16381 }
16382 return resultobj;
16383 fail:
16384 return NULL;
16385}
16386
16387
36ed4f51 16388static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16389 PyObject *resultobj;
16390 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16391 int result;
d14a1e28
RD
16392 PyObject * obj0 = 0 ;
16393 char *kwnames[] = {
16394 (char *) "self", NULL
16395 };
16396
36ed4f51
RD
16397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
16398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16399 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16400 {
16401 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16402 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
d14a1e28
RD
16403
16404 wxPyEndAllowThreads(__tstate);
16405 if (PyErr_Occurred()) SWIG_fail;
16406 }
4f89f6a3 16407 {
36ed4f51 16408 resultobj = SWIG_From_int((int)(result));
4f89f6a3 16409 }
d14a1e28
RD
16410 return resultobj;
16411 fail:
16412 return NULL;
16413}
16414
16415
36ed4f51 16416static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16417 PyObject *resultobj;
16418 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
96b3fa7c 16419 int result;
d14a1e28
RD
16420 PyObject * obj0 = 0 ;
16421 char *kwnames[] = {
16422 (char *) "self", NULL
16423 };
16424
36ed4f51
RD
16425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
16426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16427 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16428 {
16429 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16430 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
d14a1e28
RD
16431
16432 wxPyEndAllowThreads(__tstate);
16433 if (PyErr_Occurred()) SWIG_fail;
16434 }
36ed4f51
RD
16435 {
16436 resultobj = SWIG_From_int((int)(result));
16437 }
d14a1e28
RD
16438 return resultobj;
16439 fail:
16440 return NULL;
16441}
16442
16443
36ed4f51 16444static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16445 PyObject *resultobj;
16446 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16447 int result;
d14a1e28
RD
16448 PyObject * obj0 = 0 ;
16449 char *kwnames[] = {
16450 (char *) "self", NULL
16451 };
16452
36ed4f51
RD
16453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
16454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16455 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16456 {
16457 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16458 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
d14a1e28
RD
16459
16460 wxPyEndAllowThreads(__tstate);
16461 if (PyErr_Occurred()) SWIG_fail;
16462 }
4f89f6a3 16463 {
36ed4f51 16464 resultobj = SWIG_From_int((int)(result));
4f89f6a3 16465 }
d14a1e28
RD
16466 return resultobj;
16467 fail:
16468 return NULL;
16469}
16470
16471
36ed4f51 16472static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16473 PyObject *resultobj;
16474 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16475 wxString result;
d14a1e28
RD
16476 PyObject * obj0 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "self", NULL
16479 };
16480
36ed4f51
RD
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
16482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16483 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16484 {
16485 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16486 result = ((wxStyledTextEvent const *)arg1)->GetText();
d14a1e28
RD
16487
16488 wxPyEndAllowThreads(__tstate);
16489 if (PyErr_Occurred()) SWIG_fail;
16490 }
4f89f6a3 16491 {
36ed4f51
RD
16492#if wxUSE_UNICODE
16493 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16494#else
16495 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16496#endif
4f89f6a3 16497 }
d14a1e28
RD
16498 return resultobj;
16499 fail:
16500 return NULL;
16501}
16502
16503
36ed4f51 16504static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16505 PyObject *resultobj;
16506 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16507 int result;
d14a1e28
RD
16508 PyObject * obj0 = 0 ;
16509 char *kwnames[] = {
16510 (char *) "self", NULL
16511 };
16512
36ed4f51
RD
16513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
16514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16515 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16516 {
16517 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16518 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
d14a1e28
RD
16519
16520 wxPyEndAllowThreads(__tstate);
16521 if (PyErr_Occurred()) SWIG_fail;
16522 }
4f89f6a3 16523 {
36ed4f51 16524 resultobj = SWIG_From_int((int)(result));
4f89f6a3 16525 }
d14a1e28
RD
16526 return resultobj;
16527 fail:
16528 return NULL;
16529}
16530
16531
36ed4f51 16532static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16533 PyObject *resultobj;
16534 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
36ed4f51 16535 int result;
d14a1e28
RD
16536 PyObject * obj0 = 0 ;
16537 char *kwnames[] = {
16538 (char *) "self", NULL
16539 };
16540
36ed4f51
RD
16541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
16542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16543 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16544 {
16545 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 16546 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
d14a1e28
RD
16547
16548 wxPyEndAllowThreads(__tstate);
16549 if (PyErr_Occurred()) SWIG_fail;
16550 }
36ed4f51
RD
16551 {
16552 resultobj = SWIG_From_int((int)(result));
16553 }
d14a1e28
RD
16554 return resultobj;
16555 fail:
16556 return NULL;
16557}
16558
16559
36ed4f51
RD
16560static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObject *kwargs) {
16561 PyObject *resultobj;
16562 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16563 int result;
16564 PyObject * obj0 = 0 ;
16565 char *kwnames[] = {
16566 (char *) "self", NULL
16567 };
16568
16569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
16570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16571 if (SWIG_arg_fail(1)) SWIG_fail;
16572 {
16573 PyThreadState* __tstate = wxPyBeginAllowThreads();
16574 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
16575
16576 wxPyEndAllowThreads(__tstate);
16577 if (PyErr_Occurred()) SWIG_fail;
16578 }
16579 {
16580 resultobj = SWIG_From_int((int)(result));
16581 }
16582 return resultobj;
16583 fail:
16584 return NULL;
d14a1e28 16585}
d14a1e28
RD
16586
16587
36ed4f51
RD
16588static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) {
16589 PyObject *resultobj;
16590 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16591 int result;
16592 PyObject * obj0 = 0 ;
16593 char *kwnames[] = {
16594 (char *) "self", NULL
16595 };
16596
16597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
16598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16599 if (SWIG_arg_fail(1)) SWIG_fail;
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
16603
16604 wxPyEndAllowThreads(__tstate);
16605 if (PyErr_Occurred()) SWIG_fail;
16606 }
16607 {
16608 resultobj = SWIG_From_int((int)(result));
16609 }
16610 return resultobj;
16611 fail:
16612 return NULL;
d14a1e28 16613}
36ed4f51
RD
16614
16615
16616static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) {
16617 PyObject *resultobj;
16618 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16619 int result;
16620 PyObject * obj0 = 0 ;
16621 char *kwnames[] = {
16622 (char *) "self", NULL
16623 };
16624
16625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
16626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16627 if (SWIG_arg_fail(1)) SWIG_fail;
16628 {
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
16631
16632 wxPyEndAllowThreads(__tstate);
16633 if (PyErr_Occurred()) SWIG_fail;
16634 }
16635 {
16636 resultobj = SWIG_From_int((int)(result));
16637 }
16638 return resultobj;
16639 fail:
16640 return NULL;
d14a1e28 16641}
36ed4f51
RD
16642
16643
16644static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
16645 PyObject *resultobj;
16646 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16647 int result;
16648 PyObject * obj0 = 0 ;
16649 char *kwnames[] = {
16650 (char *) "self", NULL
16651 };
16652
16653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
16654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16655 if (SWIG_arg_fail(1)) SWIG_fail;
16656 {
16657 PyThreadState* __tstate = wxPyBeginAllowThreads();
16658 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
16659
16660 wxPyEndAllowThreads(__tstate);
16661 if (PyErr_Occurred()) SWIG_fail;
16662 }
16663 {
16664 resultobj = SWIG_From_int((int)(result));
16665 }
16666 return resultobj;
16667 fail:
16668 return NULL;
d14a1e28 16669}
36ed4f51
RD
16670
16671
16672static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
16673 PyObject *resultobj;
16674 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16675 int result;
16676 PyObject * obj0 = 0 ;
16677 char *kwnames[] = {
16678 (char *) "self", NULL
16679 };
16680
16681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail;
16682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16683 if (SWIG_arg_fail(1)) SWIG_fail;
16684 {
16685 PyThreadState* __tstate = wxPyBeginAllowThreads();
16686 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
16687
16688 wxPyEndAllowThreads(__tstate);
16689 if (PyErr_Occurred()) SWIG_fail;
16690 }
16691 {
16692 resultobj = SWIG_From_int((int)(result));
16693 }
16694 return resultobj;
16695 fail:
16696 return NULL;
d14a1e28 16697}
36ed4f51
RD
16698
16699
16700static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyObject *kwargs) {
16701 PyObject *resultobj;
16702 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16703 int result;
16704 PyObject * obj0 = 0 ;
16705 char *kwnames[] = {
16706 (char *) "self", NULL
16707 };
16708
16709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
16710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16711 if (SWIG_arg_fail(1)) SWIG_fail;
16712 {
16713 PyThreadState* __tstate = wxPyBeginAllowThreads();
16714 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
16715
16716 wxPyEndAllowThreads(__tstate);
16717 if (PyErr_Occurred()) SWIG_fail;
16718 }
16719 {
16720 resultobj = SWIG_From_int((int)(result));
16721 }
16722 return resultobj;
16723 fail:
16724 return NULL;
d14a1e28 16725}
36ed4f51
RD
16726
16727
16728static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyObject *kwargs) {
16729 PyObject *resultobj;
16730 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16731 int result;
16732 PyObject * obj0 = 0 ;
16733 char *kwnames[] = {
16734 (char *) "self", NULL
16735 };
16736
16737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
16738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16739 if (SWIG_arg_fail(1)) SWIG_fail;
16740 {
16741 PyThreadState* __tstate = wxPyBeginAllowThreads();
16742 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
16743
16744 wxPyEndAllowThreads(__tstate);
16745 if (PyErr_Occurred()) SWIG_fail;
16746 }
16747 {
16748 resultobj = SWIG_From_int((int)(result));
16749 }
16750 return resultobj;
16751 fail:
16752 return NULL;
96b3fa7c 16753}
36ed4f51
RD
16754
16755
16756static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, PyObject *kwargs) {
16757 PyObject *resultobj;
16758 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16759 int result;
16760 PyObject * obj0 = 0 ;
16761 char *kwnames[] = {
16762 (char *) "self", NULL
16763 };
16764
16765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
16766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16767 if (SWIG_arg_fail(1)) SWIG_fail;
16768 {
16769 PyThreadState* __tstate = wxPyBeginAllowThreads();
16770 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
16771
16772 wxPyEndAllowThreads(__tstate);
16773 if (PyErr_Occurred()) SWIG_fail;
16774 }
16775 {
16776 resultobj = SWIG_From_int((int)(result));
16777 }
16778 return resultobj;
16779 fail:
16780 return NULL;
d14a1e28 16781}
36ed4f51
RD
16782
16783
16784static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
16785 PyObject *resultobj;
16786 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16787 int result;
16788 PyObject * obj0 = 0 ;
16789 char *kwnames[] = {
16790 (char *) "self", NULL
16791 };
16792
16793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
16794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16795 if (SWIG_arg_fail(1)) SWIG_fail;
16796 {
16797 PyThreadState* __tstate = wxPyBeginAllowThreads();
16798 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
16799
16800 wxPyEndAllowThreads(__tstate);
16801 if (PyErr_Occurred()) SWIG_fail;
16802 }
16803 {
16804 resultobj = SWIG_From_int((int)(result));
16805 }
16806 return resultobj;
16807 fail:
16808 return NULL;
0df68c9f 16809}
36ed4f51
RD
16810
16811
16812static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
16813 PyObject *resultobj;
16814 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16815 int result;
16816 PyObject * obj0 = 0 ;
16817 char *kwnames[] = {
16818 (char *) "self", NULL
16819 };
16820
16821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
16822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16823 if (SWIG_arg_fail(1)) SWIG_fail;
16824 {
16825 PyThreadState* __tstate = wxPyBeginAllowThreads();
16826 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
16827
16828 wxPyEndAllowThreads(__tstate);
16829 if (PyErr_Occurred()) SWIG_fail;
16830 }
16831 {
16832 resultobj = SWIG_From_int((int)(result));
16833 }
16834 return resultobj;
16835 fail:
16836 return NULL;
d14a1e28 16837}
36ed4f51
RD
16838
16839
16840static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, PyObject *kwargs) {
16841 PyObject *resultobj;
16842 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16843 wxString result;
16844 PyObject * obj0 = 0 ;
16845 char *kwnames[] = {
16846 (char *) "self", NULL
16847 };
16848
16849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
16850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16851 if (SWIG_arg_fail(1)) SWIG_fail;
16852 {
16853 PyThreadState* __tstate = wxPyBeginAllowThreads();
16854 result = (arg1)->GetDragText();
16855
16856 wxPyEndAllowThreads(__tstate);
16857 if (PyErr_Occurred()) SWIG_fail;
16858 }
16859 {
16860#if wxUSE_UNICODE
16861 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16862#else
16863 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16864#endif
16865 }
16866 return resultobj;
16867 fail:
16868 return NULL;
d14a1e28 16869}
36ed4f51
RD
16870
16871
16872static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) {
16873 PyObject *resultobj;
16874 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16875 bool result;
16876 PyObject * obj0 = 0 ;
16877 char *kwnames[] = {
16878 (char *) "self", NULL
16879 };
16880
16881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
16882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16883 if (SWIG_arg_fail(1)) SWIG_fail;
16884 {
16885 PyThreadState* __tstate = wxPyBeginAllowThreads();
16886 result = (bool)(arg1)->GetDragAllowMove();
16887
16888 wxPyEndAllowThreads(__tstate);
16889 if (PyErr_Occurred()) SWIG_fail;
16890 }
16891 {
16892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16893 }
16894 return resultobj;
16895 fail:
16896 return NULL;
d14a1e28 16897}
36ed4f51
RD
16898
16899
16900static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, PyObject *kwargs) {
16901 PyObject *resultobj;
16902 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16903 wxDragResult result;
16904 PyObject * obj0 = 0 ;
16905 char *kwnames[] = {
16906 (char *) "self", NULL
16907 };
16908
16909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
16910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16911 if (SWIG_arg_fail(1)) SWIG_fail;
16912 {
16913 PyThreadState* __tstate = wxPyBeginAllowThreads();
16914 result = (wxDragResult)(arg1)->GetDragResult();
16915
16916 wxPyEndAllowThreads(__tstate);
16917 if (PyErr_Occurred()) SWIG_fail;
16918 }
16919 resultobj = SWIG_From_int((result));
16920 return resultobj;
16921 fail:
16922 return NULL;
d14a1e28 16923}
36ed4f51
RD
16924
16925
16926static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyObject *kwargs) {
16927 PyObject *resultobj;
16928 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16929 bool result;
16930 PyObject * obj0 = 0 ;
16931 char *kwnames[] = {
16932 (char *) "self", NULL
16933 };
16934
16935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
16936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16937 if (SWIG_arg_fail(1)) SWIG_fail;
16938 {
16939 PyThreadState* __tstate = wxPyBeginAllowThreads();
16940 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
16941
16942 wxPyEndAllowThreads(__tstate);
16943 if (PyErr_Occurred()) SWIG_fail;
16944 }
16945 {
16946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16947 }
16948 return resultobj;
16949 fail:
16950 return NULL;
d14a1e28 16951}
36ed4f51
RD
16952
16953
16954static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
16955 PyObject *resultobj;
16956 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16957 bool result;
16958 PyObject * obj0 = 0 ;
16959 char *kwnames[] = {
16960 (char *) "self", NULL
16961 };
16962
16963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
16964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16965 if (SWIG_arg_fail(1)) SWIG_fail;
16966 {
16967 PyThreadState* __tstate = wxPyBeginAllowThreads();
16968 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
16969
16970 wxPyEndAllowThreads(__tstate);
16971 if (PyErr_Occurred()) SWIG_fail;
16972 }
16973 {
16974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16975 }
16976 return resultobj;
16977 fail:
16978 return NULL;
d14a1e28 16979}
36ed4f51
RD
16980
16981
16982static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObject *kwargs) {
16983 PyObject *resultobj;
16984 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16985 bool result;
16986 PyObject * obj0 = 0 ;
16987 char *kwnames[] = {
16988 (char *) "self", NULL
16989 };
16990
16991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
16992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16993 if (SWIG_arg_fail(1)) SWIG_fail;
16994 {
16995 PyThreadState* __tstate = wxPyBeginAllowThreads();
16996 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
16997
16998 wxPyEndAllowThreads(__tstate);
16999 if (PyErr_Occurred()) SWIG_fail;
17000 }
17001 {
17002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17003 }
17004 return resultobj;
17005 fail:
17006 return NULL;
96b3fa7c 17007}
36ed4f51
RD
17008
17009
17010static PyObject *_wrap_StyledTextEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
17011 PyObject *resultobj;
17012 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
17013 wxEvent *result;
17014 PyObject * obj0 = 0 ;
17015 char *kwnames[] = {
17016 (char *) "self", NULL
17017 };
17018
17019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
17020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
17021 if (SWIG_arg_fail(1)) SWIG_fail;
17022 {
17023 PyThreadState* __tstate = wxPyBeginAllowThreads();
17024 result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
17025
17026 wxPyEndAllowThreads(__tstate);
17027 if (PyErr_Occurred()) SWIG_fail;
17028 }
17029 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
17030 return resultobj;
17031 fail:
17032 return NULL;
17033}
17034
17035
17036static PyObject * StyledTextEvent_swigregister(PyObject *, PyObject *args) {
17037 PyObject *obj;
17038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17039 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
17040 Py_INCREF(obj);
17041 return Py_BuildValue((char *)"");
17042}
17043static PyMethodDef SwigMethods[] = {
17044 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
17045 { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
17046 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17047 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL},
17048 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
17049 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL},
17050 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
17051 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS, NULL},
17052 { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS, NULL},
17053 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL},
17054 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
17055 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17056 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL},
17057 { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
17058 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
17059 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
17060 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS, NULL},
17061 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
17062 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
17063 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL},
17064 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL},
17065 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
17066 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
17067 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
17068 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
17069 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL},
17070 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL},
17071 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL},
17072 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17073 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS, NULL},
17074 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS, NULL},
17075 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL},
17076 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
17077 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
17078 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL},
17079 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL},
17080 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
17081 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
17082 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17083 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17084 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
17085 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL},
17086 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17087 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17088 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL},
17089 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL},
17090 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
17091 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL},
17092 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL},
17093 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
17094 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
17095 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
17096 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
17097 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17098 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17099 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
17100 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
17101 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
17102 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
17103 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
17104 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17105 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17106 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL},
17107 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL},
17108 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
17109 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
17110 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL},
17111 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
17112 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
17113 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
17114 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL},
17115 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17116 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17117 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17118 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL},
17119 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL},
17120 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
17121 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL},
17122 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17123 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
17124 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
17125 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL},
17126 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS, NULL},
17127 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS, NULL},
17128 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
17129 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
17130 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17131 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17132 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17133 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17134 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
17135 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
17136 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
17137 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
17138 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS, NULL},
17139 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17140 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17141 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL},
17142 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL},
17143 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL},
17144 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL},
17145 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS, NULL},
17146 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS, NULL},
17147 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS, NULL},
17148 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS, NULL},
17149 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL},
17150 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
17151 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
17152 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL},
17153 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
17154 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
17155 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL},
17156 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
17157 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
17158 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
17159 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
17160 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL},
17161 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
17162 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
17163 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
17164 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
17165 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL},
17166 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS, NULL},
17167 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
17168 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
17169 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17170 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17171 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
17172 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
17173 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
17174 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
17175 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17176 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17177 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17178 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17179 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
17180 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
17181 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
17182 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
17183 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17184 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
17185 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17186 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
17187 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
17188 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
17189 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
17190 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17191 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17192 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
17193 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
17194 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
17195 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
17196 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL},
17197 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL},
17198 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
17199 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
17200 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
17201 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17202 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17203 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
17204 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
17205 { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS, NULL},
17206 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17207 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS, NULL},
17208 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL},
17209 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17210 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17211 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL},
17212 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL},
17213 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17214 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17215 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
17216 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
17217 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
17218 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
17219 { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
17220 { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
17221 { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
17222 { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
17223 { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
17224 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
17225 { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
17226 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL},
17227 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
17228 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
17229 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17230 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17231 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
17232 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
17233 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17234 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17235 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL},
17236 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL},
17237 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL},
17238 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17239 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17240 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL},
17241 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS, NULL},
17242 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS, NULL},
17243 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
17244 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
17245 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17246 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17247 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
17248 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL},
17249 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17250 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
17251 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
17252 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
17253 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL},
17254 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL},
17255 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL},
17256 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17257 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
17258 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
17259 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL},
17260 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
17261 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17262 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17263 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
17264 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
17265 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
17266 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
17267 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
17268 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
17269 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17270 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17271 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17272 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17273 { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17274 { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
17275 { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
17276 { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
17277 { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17278 { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_GetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17279 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
17280 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
17281 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17282 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17283 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL},
17284 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
17285 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
17286 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL},
17287 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17288 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17289 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
17290 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
17291 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
17292 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17293 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS, NULL},
17294 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL},
17295 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL},
17296 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL},
17297 { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS, NULL},
17298 { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17299 { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS, NULL},
17300 { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17301 { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17302 { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17303 { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS, NULL},
17304 { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17305 { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17306 { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17307 { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL},
17308 { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17309 { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS, NULL},
17310 { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17311 { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17312 { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17313 { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS, NULL},
17314 { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17315 { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17316 { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17317 { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL},
17318 { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17319 { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL},
17320 { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17321 { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
17322 { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS, NULL},
17323 { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS, NULL},
17324 { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS, NULL},
17325 { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS, NULL},
17326 { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS, NULL},
17327 { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS, NULL},
17328 { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS, NULL},
17329 { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17330 { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS, NULL},
17331 { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS, NULL},
17332 { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17333 { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS, NULL},
17334 { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS, NULL},
17335 { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS, NULL},
17336 { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS, NULL},
17337 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS, NULL},
17338 { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS, NULL},
17339 { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS, NULL},
17340 { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS, NULL},
17341 { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS, NULL},
17342 { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS, NULL},
17343 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
17344 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17345 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
17346 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17347 { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS, NULL},
17348 { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17349 { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS, NULL},
17350 { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17351 { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS, NULL},
17352 { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17353 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS, NULL},
17354 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS, NULL},
17355 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL},
17356 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
17357 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL},
17358 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL},
17359 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
17360 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
17361 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
17362 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
17363 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
17364 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17365 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17366 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
17367 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
17368 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
17369 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
17370 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17371 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL},
17372 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL},
17373 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
17374 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL},
17375 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS, NULL},
17376 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
17377 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
17378 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS, NULL},
17379 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL},
17380 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL},
17381 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
17382 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
17383 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
17384 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
17385 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
17386 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
17387 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
17388 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17389 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17390 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
17391 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
17392 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17393 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17394 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS, NULL},
17395 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17396 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17397 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17398 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS, NULL},
17399 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
17400 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
17401 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS, NULL},
17402 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17403 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17404 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17405 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17406 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17407 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17408 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
17409 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
17410 { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS, NULL},
17411 { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17412 { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS, NULL},
17413 { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17414 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL},
17415 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL},
17416 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL},
17417 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL},
17418 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
17419 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
17420 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17421 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17422 { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17423 { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17424 { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17425 { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17426 { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17427 { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17428 { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17429 { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17430 { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17431 { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS, NULL},
17432 { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17433 { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS, NULL},
17434 { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17435 { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17436 { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17437 { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17438 { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17439 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL},
17440 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
17441 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
17442 { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709 17443 { (char *)"StyledTextCtrl_FindColumn", (PyCFunction) _wrap_StyledTextCtrl_FindColumn, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
17444 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS, NULL},
17445 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS, NULL},
17446 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
17447 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
17448 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL},
17449 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
17450 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL},
17451 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
17452 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS, NULL},
17453 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL},
17454 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL},
17455 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL},
a1b6e73b
RD
17456 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL},
17457 { (char *)"StyledTextCtrl_StyleSetFontEncoding", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
17458 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL},
17459 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
17460 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17461 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17462 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
17463 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17464 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL},
17465 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17466 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17467 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
17468 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
17469 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
17470 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
17471 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
17472 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL},
17473 { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
17474 { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
66af7a75
RD
17475 { (char *)"StyledTextCtrl_AddTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AddTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17476 { (char *)"StyledTextCtrl_InsertTextRaw", (PyCFunction) _wrap_StyledTextCtrl_InsertTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17477 { (char *)"StyledTextCtrl_GetCurLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetCurLineRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17478 { (char *)"StyledTextCtrl_GetLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetLineRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17479 { (char *)"StyledTextCtrl_GetSelectedTextRaw", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17480 { (char *)"StyledTextCtrl_GetTextRangeRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRangeRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17481 { (char *)"StyledTextCtrl_SetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_SetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17482 { (char *)"StyledTextCtrl_GetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
17483 { (char *)"StyledTextCtrl_AppendTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AppendTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
17484 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL},
17485 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17486 { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17487 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17488 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL},
17489 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
17490 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
17491 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
17492 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL},
17493 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
17494 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL},
17495 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
17496 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
17497 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
17498 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
17499 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
17500 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
17501 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL},
17502 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
17503 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
17504 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
17505 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
17506 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
17507 { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17508 { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS, NULL},
17509 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
17510 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
17511 { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
17512 { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS, NULL},
17513 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
17514 { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
17515 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
17516 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
17517 { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
17518 { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
17519 { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
17520 { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
17521 { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS, NULL},
17522 { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
17523 { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
17524 { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
17525 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
17526 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
17527 { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS, NULL},
17528 { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
17529 { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS, NULL},
17530 { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL},
17531 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL},
17532 { NULL, NULL, 0, NULL }
17533};
17534
17535
17536/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17537
17538static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
17539 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
17540}
17541static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
17542 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
17543}
17544static void *_p_wxSizerItemTo_p_wxObject(void *x) {
17545 return (void *)((wxObject *) ((wxSizerItem *) x));
17546}
17547static void *_p_wxScrollEventTo_p_wxObject(void *x) {
17548 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
17549}
17550static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
17551 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
17552}
17553static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
17554 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
17555}
17556static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
17557 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
17558}
17559static void *_p_wxSizerTo_p_wxObject(void *x) {
17560 return (void *)((wxObject *) ((wxSizer *) x));
17561}
17562static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
17563 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
17564}
17565static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
17566 return (void *)((wxObject *) ((wxFileHistory *) x));
17567}
17568static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
17569 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
17570}
17571static void *_p_wxEventTo_p_wxObject(void *x) {
17572 return (void *)((wxObject *) ((wxEvent *) x));
17573}
17574static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
17575 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
17576}
17577static void *_p_wxGridSizerTo_p_wxObject(void *x) {
17578 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
17579}
17580static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
17581 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
17582}
17583static void *_p_wxPaintEventTo_p_wxObject(void *x) {
17584 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
17585}
17586static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
17587 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
17588}
17589static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
17590 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
17591}
17592static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
17593 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
17594}
17595static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
17596 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
17597}
17598static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
17599 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
17600}
17601static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
17602 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
17603}
17604static void *_p_wxControlTo_p_wxObject(void *x) {
17605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
17606}
17607static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
17608 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
17609}
17610static void *_p_wxTimerEventTo_p_wxObject(void *x) {
17611 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
17612}
17613static void *_p_wxFSFileTo_p_wxObject(void *x) {
d14a1e28
RD
17614 return (void *)((wxObject *) ((wxFSFile *) x));
17615}
96b3fa7c
RD
17616static void *_p_wxClipboardTo_p_wxObject(void *x) {
17617 return (void *)((wxObject *) ((wxClipboard *) x));
17618}
d14a1e28
RD
17619static void *_p_wxPySizerTo_p_wxObject(void *x) {
17620 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
17621}
17622static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
17623 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
17624}
17625static void *_p_wxPyEventTo_p_wxObject(void *x) {
17626 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
17627}
17628static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
17629 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
17630}
17631static void *_p_wxShowEventTo_p_wxObject(void *x) {
17632 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
17633}
96b3fa7c
RD
17634static void *_p_wxToolTipTo_p_wxObject(void *x) {
17635 return (void *)((wxObject *) ((wxToolTip *) x));
17636}
d14a1e28
RD
17637static void *_p_wxMenuItemTo_p_wxObject(void *x) {
17638 return (void *)((wxObject *) ((wxMenuItem *) x));
17639}
53aa7709
RD
17640static void *_p_wxDateEventTo_p_wxObject(void *x) {
17641 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
17642}
d14a1e28
RD
17643static void *_p_wxIdleEventTo_p_wxObject(void *x) {
17644 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
17645}
17646static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
17647 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
17648}
17649static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
17650 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
17651}
17652static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
17653 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
17654}
17655static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
17656 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
17657}
17658static void *_p_wxSizeEventTo_p_wxObject(void *x) {
17659 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
17660}
17661static void *_p_wxMoveEventTo_p_wxObject(void *x) {
17662 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
17663}
17664static void *_p_wxActivateEventTo_p_wxObject(void *x) {
17665 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
17666}
17667static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
17668 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
17669}
17670static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
17671 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
17672}
17673static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
17674 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
17675}
17676static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
17677 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
17678}
17679static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
17680 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
17681}
17682static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
17683 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
17684}
17685static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
17686 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
17687}
17688static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
17689 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
17690}
17691static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
17692 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
17693}
17694static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
17695 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
17696}
17697static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
17698 return (void *)((wxObject *) ((wxImageHandler *) x));
17699}
17700static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
17701 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
17702}
17703static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
17704 return (void *)((wxObject *) ((wxEvtHandler *) x));
17705}
51b83b37
RD
17706static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
17707 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
17708}
0df68c9f
RD
17709static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
17710 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
17711}
d14a1e28
RD
17712static void *_p_wxImageTo_p_wxObject(void *x) {
17713 return (void *)((wxObject *) ((wxImage *) x));
17714}
17715static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
17716 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
17717}
96b3fa7c
RD
17718static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
17719 return (void *)((wxObject *) ((wxSystemOptions *) x));
17720}
17721static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
17722 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
17723}
d14a1e28
RD
17724static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
17725 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17726}
17727static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
17728 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
17729}
17730static void *_p_wxKeyEventTo_p_wxObject(void *x) {
17731 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
17732}
17733static void *_p_wxWindowTo_p_wxObject(void *x) {
17734 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
17735}
17736static void *_p_wxMenuTo_p_wxObject(void *x) {
17737 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
17738}
17739static void *_p_wxMenuBarTo_p_wxObject(void *x) {
17740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
17741}
96b3fa7c
RD
17742static void *_p_wxPyProcessTo_p_wxObject(void *x) {
17743 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
17744}
d14a1e28
RD
17745static void *_p_wxFileSystemTo_p_wxObject(void *x) {
17746 return (void *)((wxObject *) ((wxFileSystem *) x));
17747}
17748static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
17749 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
17750}
17751static void *_p_wxMenuEventTo_p_wxObject(void *x) {
17752 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
17753}
17754static void *_p_wxPyAppTo_p_wxObject(void *x) {
17755 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
17756}
17757static void *_p_wxCloseEventTo_p_wxObject(void *x) {
17758 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
17759}
17760static void *_p_wxMouseEventTo_p_wxObject(void *x) {
17761 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
17762}
17763static void *_p_wxEraseEventTo_p_wxObject(void *x) {
17764 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
17765}
96b3fa7c
RD
17766static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
17767 return (void *)((wxObject *) ((wxBusyInfo *) x));
17768}
d14a1e28
RD
17769static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
17770 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
17771}
17772static void *_p_wxCommandEventTo_p_wxObject(void *x) {
17773 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
17774}
17775static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
17776 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
17777}
17778static void *_p_wxFocusEventTo_p_wxObject(void *x) {
17779 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
17780}
17781static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
17782 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
17783}
96b3fa7c
RD
17784static void *_p_wxProcessEventTo_p_wxObject(void *x) {
17785 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
17786}
d14a1e28
RD
17787static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
17788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
17789}
17790static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
17791 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
17792}
17793static void *_p_wxValidatorTo_p_wxObject(void *x) {
17794 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
17795}
96b3fa7c
RD
17796static void *_p_wxPyTimerTo_p_wxObject(void *x) {
17797 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
17798}
d14a1e28
RD
17799static void *_p_wxControlTo_p_wxWindow(void *x) {
17800 return (void *)((wxWindow *) ((wxControl *) x));
17801}
17802static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
17803 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
17804}
17805static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
17806 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
17807}
17808static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
17809 return (void *)((wxWindow *) ((wxMenuBar *) x));
17810}
17811static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
17812 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
17813}
17814static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
17815 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
17816}
17817static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
17818 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
17819}
53aa7709
RD
17820static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
17821 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
17822}
d14a1e28
RD
17823static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
17824 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
17825}
17826static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
17827 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
17828}
17829static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
17830 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17831}
17832static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
17833 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
17834}
17835static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
17836 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
17837}
17838static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
17839 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
17840}
17841static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
17842 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
17843}
17844static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
17845 return (void *)((wxEvtHandler *) ((wxWindow *) x));
17846}
17847static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
17848 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
17849}
17850static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
17851 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
17852}
96b3fa7c
RD
17853static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
17854 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
17855}
d14a1e28
RD
17856static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
17857 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
17858}
17859static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
17860 return (void *)((wxEvtHandler *) ((wxValidator *) x));
17861}
17862static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
17863 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
17864}
17865static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
17866 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
17867}
17868static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
17869 return (void *)((wxEvtHandler *) ((wxMenu *) x));
17870}
96b3fa7c
RD
17871static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
17872 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
17873}
d14a1e28
RD
17874static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
17875 return (void *)((wxControl *) ((wxControlWithItems *) x));
17876}
17877static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
17878 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
17879}
17880static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
17881 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
17882}
17883static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
17884 return (void *)((wxEvent *) ((wxMenuEvent *) x));
17885}
17886static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
17887 return (void *)((wxEvent *) ((wxCloseEvent *) x));
17888}
17889static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
17890 return (void *)((wxEvent *) ((wxMouseEvent *) x));
17891}
17892static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
17893 return (void *)((wxEvent *) ((wxEraseEvent *) x));
17894}
17895static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
17896 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
17897}
96b3fa7c
RD
17898static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
17899 return (void *)((wxEvent *) ((wxTimerEvent *) x));
17900}
d14a1e28
RD
17901static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
17902 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
17903}
17904static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
17905 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
17906}
17907static void *_p_wxPyEventTo_p_wxEvent(void *x) {
17908 return (void *)((wxEvent *) ((wxPyEvent *) x));
17909}
17910static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
17911 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
17912}
96b3fa7c
RD
17913static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
17914 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
17915}
d14a1e28
RD
17916static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
17917 return (void *)((wxEvent *) ((wxIdleEvent *) x));
17918}
17919static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
17920 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
17921}
17922static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
17923 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
17924}
17925static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
17926 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
17927}
17928static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
17929 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
17930}
17931static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
17932 return (void *)((wxEvent *) ((wxActivateEvent *) x));
17933}
17934static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
17935 return (void *)((wxEvent *) ((wxSizeEvent *) x));
17936}
17937static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
17938 return (void *)((wxEvent *) ((wxMoveEvent *) x));
17939}
53aa7709
RD
17940static void *_p_wxDateEventTo_p_wxEvent(void *x) {
17941 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
17942}
d14a1e28
RD
17943static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
17944 return (void *)((wxEvent *) ((wxPaintEvent *) x));
17945}
17946static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
17947 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
17948}
17949static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
17950 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
17951}
17952static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
17953 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
17954}
17955static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
17956 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
17957}
17958static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
17959 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
17960}
17961static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
17962 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
17963}
17964static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
17965 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
17966}
17967static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
17968 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
17969}
17970static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
17971 return (void *)((wxEvent *) ((wxFocusEvent *) x));
17972}
17973static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
17974 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
17975}
96b3fa7c
RD
17976static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
17977 return (void *)((wxEvent *) ((wxProcessEvent *) x));
17978}
d14a1e28
RD
17979static void *_p_wxShowEventTo_p_wxEvent(void *x) {
17980 return (void *)((wxEvent *) ((wxShowEvent *) x));
17981}
17982static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
17983 return (void *)((wxEvent *) ((wxCommandEvent *) x));
17984}
17985static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
17986 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
17987}
17988static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
17989 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17990}
17991static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
17992 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
17993}
17994static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
17995 return (void *)((wxEvent *) ((wxKeyEvent *) x));
17996}
17997static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
17998 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
17999}
15afbcd0 18000static 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}};
53aa7709 18001static 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}};
36ed4f51
RD
18002static 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}};
18003static 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}};
15afbcd0
RD
18004static 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}};
18005static 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}};
18006static 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}};
53aa7709 18007static 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}};
36ed4f51 18008static 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}};
15afbcd0 18009static 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}};
36ed4f51
RD
18010static 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}};
18011static 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}};
18012static 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}};
18013static 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}};
15afbcd0 18014static 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}};
36ed4f51 18015static 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}};
15afbcd0
RD
18016static 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}};
18017static 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}};
15afbcd0 18018static 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}};
36ed4f51
RD
18019static 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}};
18020static 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}};
15afbcd0
RD
18021static 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}};
18022static 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}};
18023static 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}};
53aa7709 18024static 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}};
36ed4f51 18025static 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}};
15afbcd0
RD
18026static 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}};
18027static 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}};
d14a1e28
RD
18028
18029static swig_type_info *swig_types_initial[] = {
18030_swigt__p_wxRect,
d14a1e28 18031_swigt__p_wxObject,
36ed4f51
RD
18032_swigt__p_unsigned_char,
18033_swigt__p_wxColour,
d14a1e28
RD
18034_swigt__p_wxScrollBar,
18035_swigt__p_wxStyledTextEvent,
18036_swigt__p_wxWindow,
18037_swigt__p_wxCommandEvent,
36ed4f51 18038_swigt__p_unsigned_long,
d14a1e28 18039_swigt__p_wxBitmap,
36ed4f51
RD
18040_swigt__p_unsigned_int,
18041_swigt__unsigned_int,
18042_swigt__p_form_ops_t,
18043_swigt__p_wxDuplexMode,
d14a1e28 18044_swigt__p_void,
36ed4f51 18045_swigt__p_char,
d14a1e28
RD
18046_swigt__p_wxPoint,
18047_swigt__p_wxDC,
d14a1e28 18048_swigt__p_wxEvtHandler,
36ed4f51
RD
18049_swigt__std__ptrdiff_t,
18050_swigt__ptrdiff_t,
d14a1e28
RD
18051_swigt__p_wxStyledTextCtrl,
18052_swigt__p_wxFont,
18053_swigt__p_wxControl,
18054_swigt__p_wxEvent,
36ed4f51 18055_swigt__p_wxPaperSize,
d14a1e28
RD
18056_swigt__p_int,
18057_swigt__p_wxMemoryBuffer,
180580
18059};
18060
18061
18062/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
18063
18064static swig_const_info swig_const_table[] = {
c370783e 18065{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
18066
18067#ifdef __cplusplus
18068}
18069#endif
18070
36ed4f51
RD
18071
18072#ifdef __cplusplus
18073extern "C" {
18074#endif
18075
18076 /* Python-specific SWIG API */
18077#define SWIG_newvarlink() SWIG_Python_newvarlink()
18078#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
18079#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
18080
18081 /* -----------------------------------------------------------------------------
18082 * global variable support code.
18083 * ----------------------------------------------------------------------------- */
18084
18085 typedef struct swig_globalvar {
18086 char *name; /* Name of global variable */
18087 PyObject *(*get_attr)(); /* Return the current value */
18088 int (*set_attr)(PyObject *); /* Set the value */
18089 struct swig_globalvar *next;
18090 } swig_globalvar;
18091
18092 typedef struct swig_varlinkobject {
18093 PyObject_HEAD
18094 swig_globalvar *vars;
18095 } swig_varlinkobject;
18096
18097 static PyObject *
18098 swig_varlink_repr(swig_varlinkobject *v) {
18099 v = v;
18100 return PyString_FromString("<Swig global variables>");
18101 }
18102
18103 static int
18104 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
18105 swig_globalvar *var;
18106 flags = flags;
18107 fprintf(fp,"Swig global variables { ");
18108 for (var = v->vars; var; var=var->next) {
18109 fprintf(fp,"%s", var->name);
18110 if (var->next) fprintf(fp,", ");
18111 }
18112 fprintf(fp," }\n");
18113 return 0;
18114 }
18115
18116 static PyObject *
18117 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
18118 swig_globalvar *var = v->vars;
18119 while (var) {
18120 if (strcmp(var->name,n) == 0) {
18121 return (*var->get_attr)();
18122 }
18123 var = var->next;
18124 }
18125 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
18126 return NULL;
18127 }
18128
18129 static int
18130 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
18131 swig_globalvar *var = v->vars;
18132 while (var) {
18133 if (strcmp(var->name,n) == 0) {
18134 return (*var->set_attr)(p);
18135 }
18136 var = var->next;
18137 }
18138 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
18139 return 1;
18140 }
18141
18142 static PyTypeObject varlinktype = {
18143 PyObject_HEAD_INIT(0)
18144 0, /* Number of items in variable part (ob_size) */
18145 (char *)"swigvarlink", /* Type name (tp_name) */
18146 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
18147 0, /* Itemsize (tp_itemsize) */
18148 0, /* Deallocator (tp_dealloc) */
18149 (printfunc) swig_varlink_print, /* Print (tp_print) */
18150 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
18151 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
18152 0, /* tp_compare */
18153 (reprfunc) swig_varlink_repr, /* tp_repr */
18154 0, /* tp_as_number */
18155 0, /* tp_as_sequence */
18156 0, /* tp_as_mapping */
18157 0, /* tp_hash */
18158 0, /* tp_call */
18159 0, /* tp_str */
18160 0, /* tp_getattro */
18161 0, /* tp_setattro */
18162 0, /* tp_as_buffer */
18163 0, /* tp_flags */
18164 0, /* tp_doc */
18165#if PY_VERSION_HEX >= 0x02000000
18166 0, /* tp_traverse */
18167 0, /* tp_clear */
18168#endif
18169#if PY_VERSION_HEX >= 0x02010000
18170 0, /* tp_richcompare */
18171 0, /* tp_weaklistoffset */
18172#endif
18173#if PY_VERSION_HEX >= 0x02020000
18174 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
18175#endif
18176#if PY_VERSION_HEX >= 0x02030000
18177 0, /* tp_del */
18178#endif
18179#ifdef COUNT_ALLOCS
18180 0,0,0,0 /* tp_alloc -> tp_next */
18181#endif
18182 };
18183
18184 /* Create a variable linking object for use later */
18185 static PyObject *
18186 SWIG_Python_newvarlink(void) {
18187 swig_varlinkobject *result = 0;
18188 result = PyMem_NEW(swig_varlinkobject,1);
18189 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
18190 result->ob_type = &varlinktype;
18191 result->vars = 0;
18192 result->ob_refcnt = 0;
18193 Py_XINCREF((PyObject *) result);
18194 return ((PyObject*) result);
18195 }
18196
18197 static void
18198 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
18199 swig_varlinkobject *v;
18200 swig_globalvar *gv;
18201 v= (swig_varlinkobject *) p;
18202 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
18203 gv->name = (char *) malloc(strlen(name)+1);
18204 strcpy(gv->name,name);
18205 gv->get_attr = get_attr;
18206 gv->set_attr = set_attr;
18207 gv->next = v->vars;
18208 v->vars = gv;
18209 }
18210
18211 /* -----------------------------------------------------------------------------
18212 * constants/methods manipulation
18213 * ----------------------------------------------------------------------------- */
18214
18215 /* Install Constants */
18216 static void
18217 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
18218 PyObject *obj = 0;
18219 size_t i;
18220 for (i = 0; constants[i].type; i++) {
18221 switch(constants[i].type) {
18222 case SWIG_PY_INT:
18223 obj = PyInt_FromLong(constants[i].lvalue);
18224 break;
18225 case SWIG_PY_FLOAT:
18226 obj = PyFloat_FromDouble(constants[i].dvalue);
18227 break;
18228 case SWIG_PY_STRING:
18229 if (constants[i].pvalue) {
18230 obj = PyString_FromString((char *) constants[i].pvalue);
18231 } else {
18232 Py_INCREF(Py_None);
18233 obj = Py_None;
18234 }
18235 break;
18236 case SWIG_PY_POINTER:
18237 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
18238 break;
18239 case SWIG_PY_BINARY:
18240 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
18241 break;
18242 default:
18243 obj = 0;
18244 break;
18245 }
18246 if (obj) {
18247 PyDict_SetItemString(d,constants[i].name,obj);
18248 Py_DECREF(obj);
18249 }
18250 }
18251 }
18252
18253 /* -----------------------------------------------------------------------------*/
18254 /* Fix SwigMethods to carry the callback ptrs when needed */
18255 /* -----------------------------------------------------------------------------*/
18256
18257 static void
18258 SWIG_Python_FixMethods(PyMethodDef *methods,
18259 swig_const_info *const_table,
18260 swig_type_info **types,
18261 swig_type_info **types_initial) {
18262 size_t i;
18263 for (i = 0; methods[i].ml_name; ++i) {
18264 char *c = methods[i].ml_doc;
18265 if (c && (c = strstr(c, "swig_ptr: "))) {
18266 int j;
18267 swig_const_info *ci = 0;
18268 char *name = c + 10;
18269 for (j = 0; const_table[j].type; j++) {
18270 if (strncmp(const_table[j].name, name,
18271 strlen(const_table[j].name)) == 0) {
18272 ci = &(const_table[j]);
18273 break;
18274 }
18275 }
18276 if (ci) {
18277 size_t shift = (ci->ptype) - types;
18278 swig_type_info *ty = types_initial[shift];
18279 size_t ldoc = (c - methods[i].ml_doc);
18280 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
18281 char *ndoc = (char*)malloc(ldoc + lptr + 10);
18282 char *buff = ndoc;
18283 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
18284 strncpy(buff, methods[i].ml_doc, ldoc);
18285 buff += ldoc;
18286 strncpy(buff, "swig_ptr: ", 10);
18287 buff += 10;
18288 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
18289 methods[i].ml_doc = ndoc;
18290 }
18291 }
18292 }
18293 }
18294
18295 /* -----------------------------------------------------------------------------*
18296 * Initialize type list
18297 * -----------------------------------------------------------------------------*/
18298
18299#if PY_MAJOR_VERSION < 2
18300 /* PyModule_AddObject function was introduced in Python 2.0. The following function
18301 is copied out of Python/modsupport.c in python version 2.3.4 */
18302 static int
18303 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
18304 {
18305 PyObject *dict;
18306 if (!PyModule_Check(m)) {
18307 PyErr_SetString(PyExc_TypeError,
18308 "PyModule_AddObject() needs module as first arg");
18309 return -1;
18310 }
18311 if (!o) {
18312 PyErr_SetString(PyExc_TypeError,
18313 "PyModule_AddObject() needs non-NULL value");
18314 return -1;
18315 }
18316
18317 dict = PyModule_GetDict(m);
18318 if (dict == NULL) {
18319 /* Internal error -- modules must have a dict! */
18320 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
18321 PyModule_GetName(m));
18322 return -1;
18323 }
18324 if (PyDict_SetItemString(dict, name, o))
18325 return -1;
18326 Py_DECREF(o);
18327 return 0;
18328 }
18329#endif
18330
18331 static swig_type_info **
18332 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
18333 static PyMethodDef swig_empty_runtime_method_table[] = {
18334 {
18335 NULL, NULL, 0, NULL
18336 }
18337 };/* Sentinel */
18338
18339 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
18340 swig_empty_runtime_method_table);
18341 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
18342 if (pointer && module) {
18343 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
18344 }
18345 return type_list_handle;
18346 }
18347
18348 static swig_type_info **
18349 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
18350 swig_type_info **type_pointer;
18351
18352 /* first check if module already created */
18353 type_pointer = SWIG_Python_GetTypeListHandle();
18354 if (type_pointer) {
18355 return type_pointer;
18356 } else {
18357 /* create a new module and variable */
18358 return SWIG_Python_SetTypeListHandle(type_list_handle);
18359 }
18360 }
18361
18362#ifdef __cplusplus
18363}
18364#endif
18365
18366/* -----------------------------------------------------------------------------*
18367 * Partial Init method
18368 * -----------------------------------------------------------------------------*/
18369
18370#ifdef SWIG_LINK_RUNTIME
18371#ifdef __cplusplus
18372extern "C"
18373#endif
18374SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
18375#endif
18376
d14a1e28
RD
18377#ifdef __cplusplus
18378extern "C"
18379#endif
18380SWIGEXPORT(void) SWIG_init(void) {
18381 static PyObject *SWIG_globals = 0;
18382 static int typeinit = 0;
18383 PyObject *m, *d;
18384 int i;
18385 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
18386
18387 /* Fix SwigMethods to carry the callback ptrs when needed */
18388 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
18389
d14a1e28
RD
18390 m = Py_InitModule((char *) SWIG_name, SwigMethods);
18391 d = PyModule_GetDict(m);
18392
18393 if (!typeinit) {
36ed4f51
RD
18394#ifdef SWIG_LINK_RUNTIME
18395 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
18396#else
18397# ifndef SWIG_STATIC_RUNTIME
18398 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
18399# endif
18400#endif
d14a1e28
RD
18401 for (i = 0; swig_types_initial[i]; i++) {
18402 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
18403 }
18404 typeinit = 1;
18405 }
18406 SWIG_InstallConstants(d,swig_const_table);
18407
b2dc1044
RD
18408 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
18409 SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set);
36ed4f51
RD
18410 {
18411 PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int((int)(1)));
18412 }
18413 {
18414 PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int((int)(1)));
18415 }
18416 {
18417 PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int((int)(-1)));
18418 }
18419 {
18420 PyDict_SetItemString(d,"STC_START", SWIG_From_int((int)(2000)));
18421 }
18422 {
18423 PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int((int)(3000)));
18424 }
18425 {
18426 PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int((int)(4000)));
18427 }
18428 {
18429 PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int((int)(0)));
18430 }
18431 {
18432 PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int((int)(1)));
18433 }
18434 {
18435 PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int((int)(2)));
18436 }
18437 {
18438 PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int((int)(0)));
18439 }
18440 {
18441 PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int((int)(1)));
18442 }
18443 {
18444 PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int((int)(2)));
18445 }
18446 {
18447 PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int((int)(65001)));
18448 }
18449 {
18450 PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int((int)(1)));
18451 }
18452 {
18453 PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int((int)(31)));
18454 }
18455 {
18456 PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int((int)(0)));
18457 }
18458 {
18459 PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int((int)(1)));
18460 }
18461 {
18462 PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int((int)(2)));
18463 }
18464 {
18465 PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int((int)(3)));
18466 }
18467 {
18468 PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int((int)(4)));
18469 }
18470 {
18471 PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int((int)(5)));
18472 }
18473 {
18474 PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int((int)(6)));
18475 }
18476 {
18477 PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int((int)(7)));
18478 }
18479 {
18480 PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int((int)(8)));
18481 }
18482 {
18483 PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int((int)(9)));
18484 }
18485 {
18486 PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int((int)(10)));
18487 }
18488 {
18489 PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int((int)(11)));
18490 }
18491 {
18492 PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int((int)(12)));
18493 }
18494 {
18495 PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int((int)(13)));
18496 }
18497 {
18498 PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int((int)(14)));
18499 }
18500 {
18501 PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int((int)(15)));
18502 }
18503 {
18504 PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int((int)(16)));
18505 }
18506 {
18507 PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int((int)(17)));
18508 }
18509 {
18510 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int((int)(18)));
18511 }
18512 {
18513 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int((int)(19)));
18514 }
18515 {
18516 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int((int)(20)));
18517 }
18518 {
18519 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int((int)(21)));
18520 }
18521 {
18522 PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int((int)(22)));
18523 }
18524 {
18525 PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int((int)(23)));
18526 }
18527 {
18528 PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int((int)(24)));
18529 }
18530 {
18531 PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int((int)(25)));
18532 }
18533 {
18534 PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int((int)(10000)));
18535 }
18536 {
18537 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int((int)(25)));
18538 }
18539 {
18540 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int((int)(26)));
18541 }
18542 {
18543 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int((int)(27)));
18544 }
18545 {
18546 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int((int)(28)));
18547 }
18548 {
18549 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int((int)(29)));
18550 }
18551 {
18552 PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int((int)(30)));
18553 }
18554 {
18555 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int((int)(31)));
18556 }
18557 {
18558 PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int((int)(0xFE000000)));
18559 }
18560 {
18561 PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int((int)(0)));
18562 }
18563 {
18564 PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int((int)(1)));
18565 }
18566 {
18567 PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int((int)(32)));
18568 }
18569 {
18570 PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int((int)(33)));
18571 }
18572 {
18573 PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int((int)(34)));
18574 }
18575 {
18576 PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int((int)(35)));
18577 }
18578 {
18579 PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int((int)(36)));
18580 }
18581 {
18582 PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int((int)(37)));
18583 }
18584 {
18585 PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int((int)(39)));
18586 }
18587 {
18588 PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int((int)(127)));
18589 }
18590 {
18591 PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int((int)(0)));
18592 }
18593 {
18594 PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int((int)(1)));
18595 }
18596 {
18597 PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int((int)(186)));
18598 }
18599 {
18600 PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int((int)(136)));
18601 }
18602 {
18603 PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int((int)(238)));
18604 }
18605 {
18606 PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int((int)(134)));
18607 }
18608 {
18609 PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int((int)(161)));
18610 }
18611 {
18612 PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int((int)(129)));
18613 }
18614 {
18615 PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int((int)(77)));
18616 }
18617 {
18618 PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int((int)(255)));
18619 }
18620 {
18621 PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int((int)(204)));
18622 }
18623 {
18624 PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int((int)(128)));
18625 }
18626 {
18627 PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int((int)(2)));
18628 }
18629 {
18630 PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int((int)(162)));
18631 }
18632 {
18633 PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int((int)(130)));
18634 }
18635 {
18636 PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int((int)(177)));
18637 }
18638 {
18639 PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int((int)(178)));
18640 }
18641 {
18642 PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int((int)(163)));
18643 }
18644 {
18645 PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int((int)(222)));
18646 }
18647 {
18648 PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int((int)(0)));
18649 }
18650 {
18651 PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int((int)(1)));
18652 }
18653 {
18654 PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int((int)(2)));
18655 }
18656 {
18657 PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int((int)(7)));
18658 }
18659 {
18660 PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int((int)(0)));
18661 }
18662 {
18663 PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int((int)(1)));
18664 }
18665 {
18666 PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int((int)(2)));
18667 }
18668 {
18669 PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int((int)(3)));
18670 }
18671 {
18672 PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int((int)(4)));
18673 }
18674 {
18675 PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int((int)(5)));
18676 }
18677 {
18678 PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int((int)(6)));
18679 }
18680 {
18681 PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int((int)(0x20)));
18682 }
18683 {
18684 PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int((int)(0x40)));
18685 }
18686 {
18687 PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int((int)(0x80)));
18688 }
18689 {
18690 PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int((int)(0xE0)));
18691 }
18692 {
18693 PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int((int)(0)));
18694 }
18695 {
18696 PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int((int)(1)));
18697 }
18698 {
18699 PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int((int)(2)));
18700 }
18701 {
18702 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int((int)(3)));
18703 }
18704 {
18705 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int((int)(4)));
18706 }
18707 {
18708 PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int((int)(2)));
18709 }
18710 {
18711 PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int((int)(4)));
18712 }
18713 {
18714 PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int((int)(0x00100000)));
18715 }
18716 {
18717 PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int((int)(0x00200000)));
18718 }
18719 {
18720 PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int((int)(0x00400000)));
18721 }
18722 {
18723 PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int((int)(0x400)));
18724 }
18725 {
18726 PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int((int)(0x1000)));
18727 }
18728 {
18729 PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int((int)(0x2000)));
18730 }
18731 {
18732 PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int((int)(0x4000)));
18733 }
18734 {
18735 PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int((int)(0x8000)));
18736 }
18737 {
18738 PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int((int)(0x10000)));
18739 }
18740 {
18741 PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int((int)(0x20000)));
18742 }
18743 {
18744 PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int((int)(0x0FFF)));
18745 }
18746 {
18747 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int((int)(0x0002)));
18748 }
18749 {
18750 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int((int)(0x0004)));
18751 }
18752 {
18753 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int((int)(0x0008)));
18754 }
18755 {
18756 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int((int)(0x0010)));
18757 }
18758 {
18759 PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int((int)(0x0040)));
18760 }
18761 {
18762 PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int((int)(0x0001)));
18763 }
18764 {
18765 PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int((int)(10000000)));
18766 }
18767 {
18768 PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int((int)(0)));
18769 }
18770 {
18771 PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int((int)(1)));
18772 }
18773 {
18774 PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int((int)(0x0000)));
18775 }
18776 {
18777 PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int((int)(0x0001)));
18778 }
18779 {
18780 PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int((int)(0x0002)));
18781 }
18782 {
18783 PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int((int)(0x0000)));
18784 }
18785 {
18786 PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int((int)(0x0001)));
18787 }
18788 {
18789 PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int((int)(0x0002)));
18790 }
18791 {
18792 PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int((int)(0)));
18793 }
18794 {
18795 PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int((int)(1)));
18796 }
18797 {
18798 PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int((int)(2)));
18799 }
18800 {
18801 PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int((int)(3)));
18802 }
18803 {
18804 PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int((int)(0)));
18805 }
18806 {
18807 PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int((int)(1)));
18808 }
18809 {
18810 PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int((int)(2)));
18811 }
18812 {
18813 PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int((int)(-1)));
18814 }
18815 {
18816 PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int((int)(4)));
18817 }
18818 {
18819 PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int((int)(0x01)));
18820 }
18821 {
18822 PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int((int)(0x04)));
18823 }
18824 {
18825 PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int((int)(0x01)));
18826 }
18827 {
18828 PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int((int)(0x04)));
18829 }
18830 {
18831 PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int((int)(0x10)));
18832 }
18833 {
18834 PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int((int)(0x08)));
18835 }
18836 {
18837 PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int((int)(0)));
18838 }
18839 {
18840 PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int((int)(1)));
18841 }
18842 {
18843 PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int((int)(2)));
18844 }
18845 {
18846 PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int((int)(8)));
18847 }
18848 {
18849 PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int((int)(0x1)));
18850 }
18851 {
18852 PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int((int)(0x2)));
18853 }
18854 {
18855 PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int((int)(0x4)));
18856 }
18857 {
18858 PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int((int)(0x8)));
18859 }
18860 {
18861 PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int((int)(0x10)));
18862 }
18863 {
18864 PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int((int)(0x20)));
18865 }
18866 {
18867 PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int((int)(0x40)));
18868 }
18869 {
18870 PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int((int)(0x100)));
18871 }
18872 {
18873 PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int((int)(0x200)));
18874 }
18875 {
18876 PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int((int)(0x400)));
18877 }
18878 {
18879 PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int((int)(0x800)));
18880 }
18881 {
18882 PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int((int)(0xF77)));
18883 }
18884 {
18885 PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int((int)(300)));
18886 }
18887 {
18888 PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int((int)(301)));
18889 }
18890 {
18891 PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int((int)(302)));
18892 }
18893 {
18894 PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int((int)(303)));
18895 }
18896 {
18897 PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int((int)(304)));
18898 }
18899 {
18900 PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int((int)(305)));
18901 }
18902 {
18903 PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int((int)(306)));
18904 }
18905 {
18906 PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int((int)(307)));
18907 }
18908 {
18909 PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int((int)(308)));
18910 }
18911 {
18912 PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int((int)(309)));
18913 }
18914 {
18915 PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int((int)(7)));
18916 }
18917 {
18918 PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int((int)(8)));
18919 }
18920 {
18921 PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int((int)(9)));
18922 }
18923 {
18924 PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int((int)(13)));
18925 }
18926 {
18927 PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int((int)(310)));
18928 }
18929 {
18930 PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int((int)(311)));
18931 }
18932 {
18933 PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int((int)(312)));
18934 }
18935 {
18936 PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int((int)(1)));
18937 }
18938 {
18939 PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int((int)(2)));
18940 }
18941 {
18942 PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int((int)(4)));
18943 }
18944 {
18945 PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int((int)(0)));
18946 }
18947 {
18948 PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int((int)(1)));
18949 }
18950 {
18951 PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int((int)(2)));
18952 }
18953 {
18954 PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int((int)(3)));
18955 }
18956 {
18957 PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int((int)(4)));
18958 }
18959 {
18960 PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int((int)(5)));
18961 }
18962 {
18963 PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int((int)(6)));
18964 }
18965 {
18966 PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int((int)(7)));
18967 }
18968 {
18969 PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int((int)(8)));
18970 }
18971 {
18972 PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int((int)(9)));
18973 }
18974 {
18975 PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int((int)(10)));
18976 }
18977 {
18978 PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int((int)(11)));
18979 }
18980 {
18981 PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int((int)(12)));
18982 }
18983 {
18984 PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int((int)(13)));
18985 }
18986 {
18987 PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int((int)(14)));
18988 }
18989 {
18990 PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int((int)(15)));
18991 }
18992 {
18993 PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int((int)(16)));
18994 }
18995 {
18996 PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int((int)(17)));
18997 }
18998 {
18999 PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int((int)(18)));
19000 }
19001 {
19002 PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int((int)(19)));
19003 }
19004 {
19005 PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int((int)(20)));
19006 }
19007 {
19008 PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int((int)(21)));
19009 }
19010 {
19011 PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int((int)(22)));
19012 }
19013 {
19014 PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int((int)(23)));
19015 }
19016 {
19017 PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int((int)(24)));
19018 }
19019 {
19020 PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int((int)(25)));
19021 }
19022 {
19023 PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int((int)(26)));
19024 }
19025 {
19026 PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int((int)(27)));
19027 }
19028 {
19029 PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int((int)(28)));
19030 }
19031 {
19032 PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int((int)(29)));
19033 }
19034 {
19035 PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int((int)(30)));
19036 }
19037 {
19038 PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int((int)(31)));
19039 }
19040 {
19041 PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int((int)(32)));
19042 }
19043 {
19044 PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int((int)(33)));
19045 }
19046 {
19047 PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int((int)(34)));
19048 }
19049 {
19050 PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int((int)(35)));
19051 }
19052 {
19053 PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int((int)(36)));
19054 }
19055 {
19056 PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int((int)(37)));
19057 }
19058 {
19059 PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int((int)(38)));
19060 }
19061 {
19062 PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int((int)(39)));
19063 }
19064 {
19065 PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int((int)(40)));
19066 }
19067 {
19068 PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int((int)(41)));
19069 }
19070 {
19071 PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int((int)(42)));
19072 }
19073 {
19074 PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int((int)(43)));
19075 }
19076 {
19077 PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int((int)(44)));
19078 }
19079 {
19080 PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int((int)(45)));
19081 }
19082 {
19083 PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int((int)(46)));
19084 }
19085 {
19086 PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int((int)(47)));
19087 }
19088 {
19089 PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int((int)(48)));
19090 }
19091 {
19092 PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int((int)(49)));
19093 }
19094 {
19095 PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int((int)(50)));
19096 }
19097 {
19098 PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int((int)(51)));
19099 }
19100 {
19101 PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int((int)(52)));
19102 }
19103 {
19104 PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int((int)(53)));
19105 }
19106 {
19107 PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int((int)(54)));
19108 }
19109 {
19110 PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int((int)(55)));
19111 }
19112 {
19113 PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int((int)(56)));
19114 }
19115 {
19116 PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int((int)(57)));
19117 }
19118 {
19119 PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int((int)(58)));
19120 }
19121 {
19122 PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int((int)(59)));
19123 }
19124 {
19125 PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int((int)(60)));
19126 }
19127 {
19128 PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int((int)(61)));
19129 }
19130 {
19131 PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int((int)(62)));
19132 }
53aa7709
RD
19133 {
19134 PyDict_SetItemString(d,"STC_LEX_ASN1", SWIG_From_int((int)(63)));
19135 }
19136 {
19137 PyDict_SetItemString(d,"STC_LEX_VHDL", SWIG_From_int((int)(64)));
19138 }
36ed4f51
RD
19139 {
19140 PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int((int)(1000)));
19141 }
19142 {
19143 PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int((int)(0)));
19144 }
19145 {
19146 PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int((int)(1)));
19147 }
19148 {
19149 PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int((int)(2)));
19150 }
19151 {
19152 PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int((int)(3)));
19153 }
19154 {
19155 PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int((int)(4)));
19156 }
19157 {
19158 PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int((int)(5)));
19159 }
19160 {
19161 PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int((int)(6)));
19162 }
19163 {
19164 PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int((int)(7)));
19165 }
19166 {
19167 PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int((int)(8)));
19168 }
19169 {
19170 PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int((int)(9)));
19171 }
19172 {
19173 PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int((int)(10)));
19174 }
19175 {
19176 PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int((int)(11)));
19177 }
19178 {
19179 PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int((int)(12)));
19180 }
19181 {
19182 PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int((int)(13)));
19183 }
19184 {
19185 PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int((int)(0)));
19186 }
19187 {
19188 PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int((int)(1)));
19189 }
19190 {
19191 PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int((int)(2)));
19192 }
19193 {
19194 PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int((int)(3)));
19195 }
19196 {
19197 PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int((int)(4)));
19198 }
19199 {
19200 PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int((int)(5)));
19201 }
19202 {
19203 PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int((int)(6)));
19204 }
19205 {
19206 PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int((int)(7)));
19207 }
19208 {
19209 PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int((int)(8)));
19210 }
19211 {
19212 PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int((int)(9)));
19213 }
19214 {
19215 PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int((int)(10)));
19216 }
19217 {
19218 PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int((int)(11)));
19219 }
19220 {
19221 PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int((int)(12)));
19222 }
19223 {
19224 PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int((int)(13)));
19225 }
19226 {
19227 PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int((int)(14)));
19228 }
19229 {
19230 PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int((int)(15)));
19231 }
19232 {
19233 PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int((int)(16)));
19234 }
19235 {
19236 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int((int)(17)));
19237 }
19238 {
19239 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int((int)(18)));
19240 }
19241 {
19242 PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int((int)(19)));
19243 }
19244 {
19245 PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int((int)(0)));
19246 }
19247 {
19248 PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int((int)(1)));
19249 }
19250 {
19251 PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int((int)(2)));
19252 }
19253 {
19254 PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int((int)(3)));
19255 }
19256 {
19257 PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int((int)(4)));
19258 }
19259 {
19260 PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int((int)(5)));
19261 }
19262 {
19263 PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int((int)(6)));
19264 }
19265 {
19266 PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int((int)(7)));
19267 }
19268 {
19269 PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int((int)(8)));
19270 }
19271 {
19272 PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int((int)(9)));
19273 }
19274 {
19275 PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int((int)(10)));
19276 }
19277 {
19278 PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int((int)(11)));
19279 }
19280 {
19281 PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int((int)(12)));
19282 }
19283 {
19284 PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int((int)(13)));
19285 }
19286 {
19287 PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int((int)(14)));
19288 }
19289 {
19290 PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int((int)(15)));
19291 }
19292 {
19293 PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int((int)(16)));
19294 }
19295 {
19296 PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int((int)(17)));
19297 }
19298 {
19299 PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int((int)(18)));
19300 }
19301 {
19302 PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int((int)(19)));
19303 }
19304 {
19305 PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int((int)(20)));
19306 }
19307 {
19308 PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int((int)(21)));
19309 }
19310 {
19311 PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int((int)(22)));
19312 }
19313 {
19314 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int((int)(23)));
19315 }
19316 {
19317 PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int((int)(24)));
19318 }
19319 {
19320 PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int((int)(25)));
19321 }
19322 {
19323 PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int((int)(26)));
19324 }
19325 {
19326 PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int((int)(27)));
19327 }
19328 {
19329 PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int((int)(28)));
19330 }
19331 {
19332 PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int((int)(29)));
19333 }
19334 {
19335 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int((int)(30)));
19336 }
19337 {
19338 PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int((int)(31)));
19339 }
19340 {
19341 PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int((int)(40)));
19342 }
19343 {
19344 PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int((int)(41)));
19345 }
19346 {
19347 PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int((int)(42)));
19348 }
19349 {
19350 PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int((int)(43)));
19351 }
19352 {
19353 PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int((int)(44)));
19354 }
19355 {
19356 PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int((int)(45)));
19357 }
19358 {
19359 PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int((int)(46)));
19360 }
19361 {
19362 PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int((int)(47)));
19363 }
19364 {
19365 PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int((int)(48)));
19366 }
19367 {
19368 PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int((int)(49)));
19369 }
19370 {
19371 PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int((int)(50)));
19372 }
19373 {
19374 PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int((int)(51)));
19375 }
19376 {
19377 PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int((int)(52)));
19378 }
19379 {
19380 PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int((int)(55)));
19381 }
19382 {
19383 PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int((int)(56)));
19384 }
19385 {
19386 PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int((int)(57)));
19387 }
19388 {
19389 PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int((int)(58)));
19390 }
19391 {
19392 PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int((int)(59)));
19393 }
19394 {
19395 PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int((int)(60)));
19396 }
19397 {
19398 PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int((int)(61)));
19399 }
19400 {
19401 PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int((int)(62)));
19402 }
19403 {
19404 PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int((int)(63)));
19405 }
19406 {
19407 PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int((int)(64)));
19408 }
19409 {
19410 PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int((int)(65)));
19411 }
19412 {
19413 PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int((int)(66)));
19414 }
19415 {
19416 PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int((int)(67)));
19417 }
19418 {
19419 PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int((int)(70)));
19420 }
19421 {
19422 PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int((int)(71)));
19423 }
19424 {
19425 PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int((int)(72)));
19426 }
19427 {
19428 PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int((int)(73)));
19429 }
19430 {
19431 PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int((int)(74)));
19432 }
19433 {
19434 PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int((int)(75)));
19435 }
19436 {
19437 PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int((int)(76)));
19438 }
19439 {
19440 PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int((int)(77)));
19441 }
19442 {
19443 PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int((int)(80)));
19444 }
19445 {
19446 PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int((int)(81)));
19447 }
19448 {
19449 PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int((int)(82)));
19450 }
19451 {
19452 PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int((int)(83)));
19453 }
19454 {
19455 PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int((int)(84)));
19456 }
19457 {
19458 PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int((int)(85)));
19459 }
19460 {
19461 PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int((int)(86)));
19462 }
19463 {
19464 PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int((int)(87)));
19465 }
19466 {
19467 PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int((int)(90)));
19468 }
19469 {
19470 PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int((int)(91)));
19471 }
19472 {
19473 PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int((int)(92)));
19474 }
19475 {
19476 PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int((int)(93)));
19477 }
19478 {
19479 PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int((int)(94)));
19480 }
19481 {
19482 PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int((int)(95)));
19483 }
19484 {
19485 PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int((int)(96)));
19486 }
19487 {
19488 PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int((int)(97)));
19489 }
19490 {
19491 PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int((int)(98)));
19492 }
19493 {
19494 PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int((int)(99)));
19495 }
19496 {
19497 PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int((int)(100)));
19498 }
19499 {
19500 PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int((int)(101)));
19501 }
19502 {
19503 PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int((int)(102)));
19504 }
19505 {
19506 PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int((int)(104)));
19507 }
19508 {
19509 PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int((int)(105)));
19510 }
19511 {
19512 PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int((int)(106)));
19513 }
19514 {
19515 PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int((int)(107)));
19516 }
19517 {
19518 PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int((int)(108)));
19519 }
19520 {
19521 PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int((int)(109)));
19522 }
19523 {
19524 PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int((int)(110)));
19525 }
19526 {
19527 PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int((int)(111)));
19528 }
19529 {
19530 PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int((int)(112)));
19531 }
19532 {
19533 PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int((int)(113)));
19534 }
19535 {
19536 PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int((int)(114)));
19537 }
19538 {
19539 PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int((int)(115)));
19540 }
19541 {
19542 PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int((int)(116)));
19543 }
19544 {
19545 PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int((int)(117)));
19546 }
19547 {
19548 PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int((int)(118)));
19549 }
19550 {
19551 PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int((int)(119)));
19552 }
19553 {
19554 PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int((int)(120)));
19555 }
19556 {
19557 PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int((int)(121)));
19558 }
19559 {
19560 PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int((int)(122)));
19561 }
19562 {
19563 PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int((int)(123)));
19564 }
19565 {
19566 PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int((int)(124)));
19567 }
19568 {
19569 PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int((int)(125)));
19570 }
19571 {
19572 PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int((int)(126)));
19573 }
19574 {
19575 PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int((int)(127)));
19576 }
19577 {
19578 PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int((int)(0)));
19579 }
19580 {
19581 PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int((int)(1)));
19582 }
19583 {
19584 PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int((int)(2)));
19585 }
19586 {
19587 PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int((int)(3)));
19588 }
19589 {
19590 PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int((int)(4)));
19591 }
19592 {
19593 PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int((int)(5)));
19594 }
19595 {
19596 PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int((int)(6)));
19597 }
19598 {
19599 PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int((int)(7)));
19600 }
19601 {
19602 PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int((int)(8)));
19603 }
19604 {
19605 PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int((int)(9)));
19606 }
19607 {
19608 PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int((int)(10)));
19609 }
19610 {
19611 PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int((int)(11)));
19612 }
19613 {
19614 PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int((int)(12)));
19615 }
19616 {
19617 PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int((int)(13)));
19618 }
19619 {
19620 PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int((int)(14)));
19621 }
19622 {
19623 PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int((int)(15)));
19624 }
19625 {
19626 PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int((int)(17)));
19627 }
19628 {
19629 PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int((int)(18)));
19630 }
19631 {
19632 PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int((int)(19)));
19633 }
19634 {
19635 PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int((int)(20)));
19636 }
19637 {
19638 PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int((int)(21)));
19639 }
19640 {
19641 PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int((int)(22)));
19642 }
19643 {
19644 PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int((int)(23)));
19645 }
19646 {
19647 PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int((int)(24)));
19648 }
19649 {
19650 PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int((int)(25)));
19651 }
19652 {
19653 PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int((int)(26)));
19654 }
19655 {
19656 PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int((int)(27)));
19657 }
19658 {
19659 PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int((int)(28)));
19660 }
19661 {
19662 PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int((int)(29)));
19663 }
19664 {
19665 PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int((int)(30)));
19666 }
19667 {
19668 PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int((int)(0)));
19669 }
19670 {
19671 PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int((int)(1)));
19672 }
19673 {
19674 PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int((int)(2)));
19675 }
19676 {
19677 PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int((int)(3)));
19678 }
19679 {
19680 PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int((int)(4)));
19681 }
19682 {
19683 PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int((int)(5)));
19684 }
19685 {
19686 PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int((int)(6)));
19687 }
19688 {
19689 PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int((int)(7)));
19690 }
19691 {
19692 PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int((int)(8)));
19693 }
19694 {
19695 PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int((int)(9)));
19696 }
19697 {
19698 PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int((int)(10)));
19699 }
19700 {
19701 PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int((int)(11)));
19702 }
19703 {
19704 PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int((int)(12)));
19705 }
19706 {
19707 PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int((int)(13)));
19708 }
19709 {
19710 PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int((int)(14)));
19711 }
19712 {
19713 PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int((int)(0)));
19714 }
19715 {
19716 PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int((int)(1)));
19717 }
19718 {
19719 PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int((int)(2)));
19720 }
19721 {
19722 PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int((int)(3)));
19723 }
19724 {
19725 PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int((int)(4)));
19726 }
19727 {
19728 PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int((int)(0)));
19729 }
19730 {
19731 PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int((int)(1)));
19732 }
19733 {
19734 PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int((int)(2)));
19735 }
19736 {
19737 PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int((int)(3)));
19738 }
19739 {
19740 PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int((int)(4)));
19741 }
19742 {
19743 PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int((int)(0)));
19744 }
19745 {
19746 PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int((int)(1)));
19747 }
19748 {
19749 PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int((int)(2)));
19750 }
19751 {
19752 PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int((int)(3)));
19753 }
19754 {
19755 PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int((int)(4)));
19756 }
19757 {
19758 PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int((int)(5)));
19759 }
19760 {
19761 PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int((int)(6)));
19762 }
19763 {
19764 PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int((int)(7)));
19765 }
19766 {
19767 PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int((int)(8)));
19768 }
19769 {
19770 PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int((int)(9)));
19771 }
19772 {
19773 PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int((int)(10)));
19774 }
19775 {
19776 PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int((int)(11)));
19777 }
19778 {
19779 PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int((int)(12)));
19780 }
19781 {
19782 PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int((int)(13)));
19783 }
19784 {
19785 PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int((int)(14)));
19786 }
19787 {
19788 PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int((int)(15)));
19789 }
19790 {
19791 PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int((int)(16)));
19792 }
19793 {
19794 PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int((int)(17)));
19795 }
19796 {
19797 PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int((int)(18)));
19798 }
19799 {
19800 PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int((int)(19)));
19801 }
19802 {
19803 PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int((int)(0)));
19804 }
19805 {
19806 PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int((int)(1)));
19807 }
19808 {
19809 PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int((int)(2)));
19810 }
19811 {
19812 PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int((int)(3)));
19813 }
19814 {
19815 PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int((int)(4)));
19816 }
19817 {
19818 PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int((int)(5)));
19819 }
19820 {
19821 PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int((int)(6)));
19822 }
19823 {
19824 PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int((int)(7)));
19825 }
19826 {
19827 PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int((int)(8)));
19828 }
19829 {
19830 PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int((int)(9)));
19831 }
19832 {
19833 PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int((int)(10)));
19834 }
19835 {
19836 PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int((int)(11)));
19837 }
19838 {
19839 PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int((int)(12)));
19840 }
19841 {
19842 PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int((int)(13)));
19843 }
19844 {
19845 PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int((int)(14)));
19846 }
19847 {
19848 PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int((int)(15)));
19849 }
19850 {
19851 PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int((int)(16)));
19852 }
19853 {
19854 PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int((int)(17)));
19855 }
19856 {
19857 PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int((int)(18)));
19858 }
19859 {
19860 PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int((int)(19)));
19861 }
53aa7709
RD
19862 {
19863 PyDict_SetItemString(d,"STC_ERR_JAVA_STACK", SWIG_From_int((int)(20)));
19864 }
36ed4f51
RD
19865 {
19866 PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int((int)(0)));
19867 }
19868 {
19869 PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int((int)(1)));
19870 }
19871 {
19872 PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int((int)(2)));
19873 }
19874 {
19875 PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int((int)(3)));
19876 }
19877 {
19878 PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int((int)(4)));
19879 }
19880 {
19881 PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int((int)(5)));
19882 }
19883 {
19884 PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int((int)(6)));
19885 }
19886 {
19887 PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int((int)(7)));
19888 }
19889 {
19890 PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int((int)(0)));
19891 }
19892 {
19893 PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int((int)(1)));
19894 }
19895 {
19896 PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int((int)(2)));
19897 }
19898 {
19899 PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int((int)(3)));
19900 }
19901 {
19902 PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int((int)(4)));
19903 }
19904 {
19905 PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int((int)(5)));
19906 }
19907 {
19908 PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int((int)(9)));
19909 }
19910 {
19911 PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int((int)(0)));
19912 }
19913 {
19914 PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int((int)(1)));
19915 }
19916 {
19917 PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int((int)(2)));
19918 }
19919 {
19920 PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int((int)(3)));
19921 }
19922 {
19923 PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int((int)(4)));
19924 }
19925 {
19926 PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int((int)(5)));
19927 }
19928 {
19929 PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int((int)(6)));
19930 }
19931 {
19932 PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int((int)(0)));
19933 }
19934 {
19935 PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int((int)(1)));
19936 }
19937 {
19938 PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int((int)(2)));
19939 }
19940 {
19941 PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int((int)(3)));
19942 }
19943 {
19944 PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int((int)(4)));
19945 }
19946 {
19947 PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int((int)(5)));
19948 }
19949 {
19950 PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int((int)(6)));
19951 }
19952 {
19953 PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int((int)(7)));
19954 }
19955 {
19956 PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int((int)(8)));
19957 }
19958 {
19959 PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int((int)(9)));
19960 }
19961 {
19962 PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int((int)(0)));
19963 }
19964 {
19965 PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int((int)(1)));
19966 }
19967 {
19968 PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int((int)(2)));
19969 }
19970 {
19971 PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int((int)(3)));
19972 }
19973 {
19974 PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int((int)(6)));
19975 }
19976 {
19977 PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int((int)(7)));
19978 }
19979 {
19980 PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int((int)(8)));
19981 }
19982 {
19983 PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int((int)(9)));
19984 }
19985 {
19986 PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int((int)(10)));
19987 }
19988 {
19989 PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int((int)(11)));
19990 }
19991 {
19992 PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int((int)(12)));
19993 }
19994 {
19995 PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int((int)(13)));
19996 }
19997 {
19998 PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int((int)(14)));
19999 }
20000 {
20001 PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int((int)(15)));
20002 }
20003 {
20004 PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int((int)(16)));
20005 }
20006 {
20007 PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int((int)(0)));
20008 }
20009 {
20010 PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int((int)(1)));
20011 }
20012 {
20013 PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int((int)(2)));
20014 }
20015 {
20016 PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int((int)(3)));
20017 }
20018 {
20019 PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int((int)(4)));
20020 }
20021 {
20022 PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int((int)(5)));
20023 }
20024 {
20025 PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int((int)(6)));
20026 }
20027 {
20028 PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int((int)(7)));
20029 }
20030 {
20031 PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int((int)(8)));
20032 }
20033 {
20034 PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int((int)(9)));
20035 }
20036 {
20037 PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int((int)(10)));
20038 }
20039 {
20040 PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int((int)(11)));
20041 }
20042 {
20043 PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int((int)(0)));
20044 }
20045 {
20046 PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int((int)(1)));
20047 }
20048 {
20049 PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int((int)(2)));
20050 }
20051 {
20052 PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int((int)(3)));
20053 }
20054 {
20055 PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int((int)(4)));
20056 }
20057 {
20058 PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int((int)(5)));
20059 }
20060 {
20061 PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int((int)(6)));
20062 }
20063 {
20064 PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int((int)(7)));
20065 }
20066 {
20067 PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int((int)(8)));
20068 }
20069 {
20070 PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int((int)(9)));
20071 }
20072 {
20073 PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int((int)(10)));
20074 }
20075 {
20076 PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int((int)(0)));
20077 }
20078 {
20079 PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int((int)(1)));
20080 }
20081 {
20082 PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int((int)(2)));
20083 }
20084 {
20085 PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int((int)(3)));
20086 }
20087 {
20088 PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int((int)(6)));
20089 }
20090 {
20091 PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int((int)(8)));
20092 }
20093 {
20094 PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int((int)(9)));
20095 }
20096 {
20097 PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int((int)(10)));
20098 }
20099 {
20100 PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int((int)(0)));
20101 }
20102 {
20103 PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int((int)(1)));
20104 }
20105 {
20106 PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int((int)(2)));
20107 }
20108 {
20109 PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int((int)(3)));
20110 }
20111 {
20112 PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int((int)(4)));
20113 }
20114 {
20115 PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int((int)(5)));
20116 }
20117 {
20118 PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int((int)(6)));
20119 }
20120 {
20121 PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int((int)(7)));
20122 }
20123 {
20124 PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int((int)(8)));
20125 }
20126 {
20127 PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int((int)(0)));
20128 }
20129 {
20130 PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int((int)(1)));
20131 }
20132 {
20133 PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int((int)(2)));
20134 }
20135 {
20136 PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int((int)(3)));
20137 }
20138 {
20139 PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int((int)(4)));
20140 }
20141 {
20142 PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int((int)(5)));
20143 }
20144 {
20145 PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int((int)(6)));
20146 }
20147 {
20148 PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int((int)(7)));
20149 }
20150 {
20151 PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int((int)(8)));
20152 }
20153 {
20154 PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int((int)(9)));
20155 }
20156 {
20157 PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int((int)(10)));
20158 }
20159 {
20160 PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int((int)(0)));
20161 }
20162 {
20163 PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int((int)(1)));
20164 }
20165 {
20166 PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int((int)(2)));
20167 }
20168 {
20169 PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int((int)(3)));
20170 }
20171 {
20172 PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int((int)(4)));
20173 }
20174 {
20175 PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int((int)(5)));
20176 }
20177 {
20178 PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int((int)(6)));
20179 }
20180 {
20181 PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int((int)(7)));
20182 }
20183 {
20184 PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int((int)(8)));
20185 }
20186 {
20187 PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int((int)(9)));
20188 }
20189 {
20190 PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int((int)(10)));
20191 }
20192 {
20193 PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int((int)(11)));
20194 }
20195 {
20196 PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int((int)(0)));
20197 }
20198 {
20199 PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int((int)(1)));
20200 }
20201 {
20202 PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int((int)(2)));
20203 }
20204 {
20205 PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int((int)(3)));
20206 }
20207 {
20208 PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int((int)(4)));
20209 }
20210 {
20211 PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int((int)(5)));
20212 }
20213 {
20214 PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int((int)(6)));
20215 }
20216 {
20217 PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int((int)(7)));
20218 }
20219 {
20220 PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int((int)(8)));
20221 }
20222 {
20223 PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int((int)(0)));
20224 }
20225 {
20226 PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int((int)(1)));
20227 }
20228 {
20229 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int((int)(2)));
20230 }
20231 {
20232 PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int((int)(3)));
20233 }
20234 {
20235 PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int((int)(4)));
20236 }
20237 {
20238 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int((int)(5)));
20239 }
20240 {
20241 PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int((int)(6)));
20242 }
20243 {
20244 PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int((int)(7)));
20245 }
20246 {
20247 PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int((int)(8)));
20248 }
20249 {
20250 PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int((int)(9)));
20251 }
20252 {
20253 PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int((int)(10)));
20254 }
20255 {
20256 PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int((int)(11)));
20257 }
20258 {
20259 PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int((int)(12)));
20260 }
20261 {
20262 PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int((int)(13)));
20263 }
20264 {
20265 PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int((int)(14)));
20266 }
20267 {
20268 PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int((int)(15)));
20269 }
20270 {
20271 PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int((int)(0)));
20272 }
20273 {
20274 PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int((int)(1)));
20275 }
20276 {
20277 PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int((int)(2)));
20278 }
20279 {
20280 PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int((int)(3)));
20281 }
20282 {
20283 PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int((int)(4)));
20284 }
20285 {
20286 PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int((int)(5)));
20287 }
20288 {
20289 PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int((int)(6)));
20290 }
20291 {
20292 PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int((int)(7)));
20293 }
20294 {
20295 PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int((int)(8)));
20296 }
20297 {
20298 PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int((int)(9)));
20299 }
20300 {
20301 PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int((int)(10)));
20302 }
20303 {
20304 PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int((int)(11)));
20305 }
20306 {
20307 PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int((int)(12)));
20308 }
20309 {
20310 PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int((int)(13)));
20311 }
20312 {
20313 PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int((int)(14)));
20314 }
20315 {
20316 PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int((int)(0)));
20317 }
20318 {
20319 PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int((int)(1)));
20320 }
20321 {
20322 PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int((int)(2)));
20323 }
20324 {
20325 PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int((int)(3)));
20326 }
20327 {
20328 PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int((int)(4)));
20329 }
20330 {
20331 PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int((int)(5)));
20332 }
20333 {
20334 PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int((int)(6)));
20335 }
20336 {
20337 PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int((int)(7)));
20338 }
20339 {
20340 PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int((int)(8)));
20341 }
20342 {
20343 PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int((int)(9)));
20344 }
20345 {
20346 PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int((int)(10)));
20347 }
20348 {
20349 PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int((int)(11)));
20350 }
20351 {
20352 PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int((int)(12)));
20353 }
20354 {
20355 PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int((int)(13)));
20356 }
20357 {
20358 PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int((int)(14)));
20359 }
20360 {
20361 PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int((int)(0)));
20362 }
20363 {
20364 PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int((int)(1)));
20365 }
20366 {
20367 PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int((int)(2)));
20368 }
20369 {
20370 PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int((int)(3)));
20371 }
20372 {
20373 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int((int)(4)));
20374 }
20375 {
20376 PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int((int)(5)));
20377 }
20378 {
20379 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int((int)(6)));
20380 }
20381 {
20382 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int((int)(7)));
20383 }
20384 {
20385 PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int((int)(8)));
20386 }
20387 {
20388 PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int((int)(9)));
20389 }
20390 {
20391 PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int((int)(10)));
20392 }
20393 {
20394 PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int((int)(11)));
20395 }
20396 {
20397 PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int((int)(12)));
20398 }
20399 {
20400 PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int((int)(13)));
20401 }
20402 {
20403 PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int((int)(14)));
20404 }
53aa7709
RD
20405 {
20406 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER2", SWIG_From_int((int)(15)));
20407 }
36ed4f51
RD
20408 {
20409 PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int((int)(0)));
20410 }
20411 {
20412 PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int((int)(1)));
20413 }
20414 {
20415 PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int((int)(2)));
20416 }
20417 {
20418 PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int((int)(3)));
20419 }
20420 {
20421 PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int((int)(4)));
20422 }
20423 {
20424 PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int((int)(5)));
20425 }
20426 {
20427 PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int((int)(6)));
20428 }
20429 {
20430 PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int((int)(7)));
20431 }
20432 {
20433 PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int((int)(8)));
20434 }
20435 {
20436 PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int((int)(9)));
20437 }
20438 {
20439 PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int((int)(10)));
20440 }
20441 {
20442 PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int((int)(11)));
20443 }
20444 {
20445 PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int((int)(12)));
20446 }
20447 {
20448 PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int((int)(13)));
20449 }
20450 {
20451 PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int((int)(14)));
20452 }
20453 {
20454 PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int((int)(15)));
20455 }
20456 {
20457 PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int((int)(16)));
20458 }
20459 {
20460 PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int((int)(0)));
20461 }
20462 {
20463 PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int((int)(1)));
20464 }
20465 {
20466 PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int((int)(2)));
20467 }
20468 {
20469 PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int((int)(3)));
20470 }
20471 {
20472 PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int((int)(4)));
20473 }
20474 {
20475 PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int((int)(5)));
20476 }
20477 {
20478 PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int((int)(6)));
20479 }
20480 {
20481 PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int((int)(7)));
20482 }
20483 {
20484 PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int((int)(8)));
20485 }
20486 {
20487 PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int((int)(9)));
20488 }
20489 {
20490 PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int((int)(10)));
20491 }
20492 {
20493 PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int((int)(0)));
20494 }
20495 {
20496 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int((int)(1)));
20497 }
20498 {
20499 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int((int)(2)));
20500 }
20501 {
20502 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int((int)(3)));
20503 }
20504 {
20505 PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int((int)(4)));
20506 }
20507 {
20508 PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int((int)(5)));
20509 }
20510 {
20511 PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int((int)(6)));
20512 }
20513 {
20514 PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int((int)(7)));
20515 }
20516 {
20517 PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int((int)(8)));
20518 }
20519 {
20520 PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int((int)(9)));
20521 }
20522 {
20523 PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int((int)(10)));
20524 }
20525 {
20526 PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int((int)(11)));
20527 }
20528 {
20529 PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int((int)(0)));
20530 }
20531 {
20532 PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int((int)(1)));
20533 }
20534 {
20535 PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int((int)(2)));
20536 }
20537 {
20538 PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int((int)(3)));
20539 }
20540 {
20541 PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int((int)(4)));
20542 }
20543 {
20544 PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int((int)(5)));
20545 }
20546 {
20547 PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int((int)(6)));
20548 }
20549 {
20550 PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int((int)(7)));
20551 }
20552 {
20553 PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int((int)(8)));
20554 }
20555 {
20556 PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int((int)(9)));
20557 }
20558 {
20559 PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int((int)(10)));
20560 }
20561 {
20562 PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int((int)(11)));
20563 }
20564 {
20565 PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int((int)(12)));
20566 }
20567 {
20568 PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int((int)(13)));
20569 }
20570 {
20571 PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int((int)(14)));
20572 }
20573 {
20574 PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int((int)(15)));
20575 }
20576 {
20577 PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int((int)(0)));
20578 }
20579 {
20580 PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int((int)(1)));
20581 }
20582 {
20583 PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int((int)(2)));
20584 }
20585 {
20586 PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int((int)(3)));
20587 }
20588 {
20589 PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int((int)(4)));
20590 }
20591 {
20592 PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int((int)(5)));
20593 }
20594 {
20595 PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int((int)(6)));
20596 }
20597 {
20598 PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int((int)(7)));
20599 }
20600 {
20601 PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int((int)(8)));
20602 }
20603 {
20604 PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int((int)(9)));
20605 }
20606 {
20607 PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int((int)(10)));
20608 }
20609 {
20610 PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int((int)(11)));
20611 }
20612 {
20613 PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int((int)(12)));
20614 }
20615 {
20616 PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int((int)(13)));
20617 }
20618 {
20619 PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int((int)(14)));
20620 }
20621 {
20622 PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int((int)(0)));
20623 }
20624 {
20625 PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int((int)(1)));
20626 }
20627 {
20628 PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int((int)(2)));
20629 }
20630 {
20631 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int((int)(3)));
20632 }
20633 {
20634 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int((int)(4)));
20635 }
20636 {
20637 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int((int)(5)));
20638 }
20639 {
20640 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int((int)(6)));
20641 }
20642 {
20643 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int((int)(7)));
20644 }
20645 {
20646 PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int((int)(8)));
20647 }
20648 {
20649 PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int((int)(9)));
20650 }
20651 {
20652 PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int((int)(10)));
20653 }
20654 {
20655 PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int((int)(11)));
20656 }
20657 {
20658 PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int((int)(12)));
20659 }
20660 {
20661 PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int((int)(13)));
20662 }
20663 {
20664 PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int((int)(14)));
20665 }
20666 {
20667 PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int((int)(15)));
20668 }
20669 {
20670 PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int((int)(16)));
20671 }
20672 {
20673 PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int((int)(17)));
20674 }
20675 {
20676 PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int((int)(0)));
20677 }
20678 {
20679 PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int((int)(1)));
20680 }
20681 {
20682 PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int((int)(2)));
20683 }
20684 {
20685 PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int((int)(3)));
20686 }
20687 {
20688 PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int((int)(4)));
20689 }
20690 {
20691 PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int((int)(5)));
20692 }
20693 {
20694 PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int((int)(6)));
20695 }
20696 {
20697 PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int((int)(7)));
20698 }
20699 {
20700 PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int((int)(8)));
20701 }
20702 {
20703 PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int((int)(9)));
20704 }
20705 {
20706 PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int((int)(10)));
20707 }
20708 {
20709 PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int((int)(11)));
20710 }
20711 {
20712 PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int((int)(12)));
20713 }
20714 {
20715 PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int((int)(13)));
20716 }
20717 {
20718 PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int((int)(14)));
20719 }
20720 {
20721 PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int((int)(0)));
20722 }
20723 {
20724 PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int((int)(1)));
20725 }
20726 {
20727 PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int((int)(2)));
20728 }
20729 {
20730 PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int((int)(3)));
20731 }
20732 {
20733 PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int((int)(4)));
20734 }
20735 {
20736 PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int((int)(5)));
20737 }
20738 {
20739 PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int((int)(6)));
20740 }
20741 {
20742 PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int((int)(0)));
20743 }
20744 {
20745 PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int((int)(1)));
20746 }
20747 {
20748 PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int((int)(2)));
20749 }
20750 {
20751 PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int((int)(3)));
20752 }
20753 {
20754 PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int((int)(4)));
20755 }
20756 {
20757 PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int((int)(5)));
20758 }
20759 {
20760 PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int((int)(6)));
20761 }
20762 {
20763 PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int((int)(7)));
20764 }
20765 {
20766 PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int((int)(8)));
20767 }
20768 {
20769 PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int((int)(0)));
20770 }
20771 {
20772 PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int((int)(1)));
20773 }
20774 {
20775 PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int((int)(2)));
20776 }
20777 {
20778 PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int((int)(3)));
20779 }
20780 {
20781 PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int((int)(4)));
20782 }
20783 {
20784 PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int((int)(5)));
20785 }
20786 {
20787 PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int((int)(0)));
20788 }
20789 {
20790 PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int((int)(1)));
20791 }
20792 {
20793 PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int((int)(2)));
20794 }
20795 {
20796 PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int((int)(3)));
20797 }
20798 {
20799 PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int((int)(4)));
20800 }
20801 {
20802 PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int((int)(5)));
20803 }
20804 {
20805 PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int((int)(6)));
20806 }
20807 {
20808 PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int((int)(0)));
20809 }
20810 {
20811 PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int((int)(1)));
20812 }
20813 {
20814 PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int((int)(2)));
20815 }
20816 {
20817 PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int((int)(3)));
20818 }
20819 {
20820 PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int((int)(4)));
20821 }
20822 {
20823 PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int((int)(5)));
20824 }
20825 {
20826 PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int((int)(6)));
20827 }
20828 {
20829 PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int((int)(7)));
20830 }
20831 {
20832 PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int((int)(8)));
20833 }
20834 {
20835 PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int((int)(9)));
20836 }
20837 {
20838 PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int((int)(10)));
20839 }
20840 {
20841 PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int((int)(11)));
20842 }
20843 {
20844 PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int((int)(12)));
20845 }
20846 {
20847 PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int((int)(13)));
20848 }
20849 {
20850 PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int((int)(31)));
20851 }
20852 {
20853 PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int((int)(0)));
20854 }
20855 {
20856 PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int((int)(1)));
20857 }
20858 {
20859 PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int((int)(2)));
20860 }
20861 {
20862 PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int((int)(3)));
20863 }
20864 {
20865 PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int((int)(4)));
20866 }
20867 {
20868 PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int((int)(5)));
20869 }
20870 {
20871 PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int((int)(6)));
20872 }
20873 {
20874 PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int((int)(7)));
20875 }
20876 {
20877 PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int((int)(8)));
20878 }
20879 {
20880 PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int((int)(9)));
20881 }
20882 {
20883 PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int((int)(10)));
20884 }
20885 {
20886 PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int((int)(11)));
20887 }
20888 {
20889 PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int((int)(12)));
20890 }
20891 {
20892 PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int((int)(13)));
20893 }
20894 {
20895 PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int((int)(14)));
20896 }
20897 {
20898 PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int((int)(15)));
20899 }
20900 {
20901 PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int((int)(16)));
20902 }
20903 {
20904 PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int((int)(0)));
20905 }
20906 {
20907 PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int((int)(1)));
20908 }
20909 {
20910 PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int((int)(2)));
20911 }
20912 {
20913 PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int((int)(3)));
20914 }
20915 {
20916 PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int((int)(4)));
20917 }
20918 {
20919 PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int((int)(5)));
20920 }
20921 {
20922 PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int((int)(6)));
20923 }
20924 {
20925 PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int((int)(7)));
20926 }
20927 {
20928 PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int((int)(8)));
20929 }
20930 {
20931 PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int((int)(9)));
20932 }
20933 {
20934 PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int((int)(10)));
20935 }
20936 {
20937 PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int((int)(11)));
20938 }
20939 {
20940 PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int((int)(12)));
20941 }
20942 {
20943 PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int((int)(19)));
20944 }
20945 {
20946 PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int((int)(0)));
20947 }
20948 {
20949 PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int((int)(1)));
20950 }
20951 {
20952 PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int((int)(2)));
20953 }
20954 {
20955 PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int((int)(3)));
20956 }
20957 {
20958 PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int((int)(4)));
20959 }
20960 {
20961 PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int((int)(5)));
20962 }
20963 {
20964 PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int((int)(6)));
20965 }
20966 {
20967 PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int((int)(7)));
20968 }
20969 {
20970 PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int((int)(8)));
20971 }
20972 {
20973 PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int((int)(9)));
20974 }
20975 {
20976 PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int((int)(31)));
20977 }
20978 {
20979 PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int((int)(0)));
20980 }
20981 {
20982 PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int((int)(1)));
20983 }
20984 {
20985 PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int((int)(2)));
20986 }
20987 {
20988 PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int((int)(3)));
20989 }
20990 {
20991 PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int((int)(4)));
20992 }
20993 {
20994 PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int((int)(5)));
20995 }
20996 {
20997 PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int((int)(6)));
20998 }
20999 {
21000 PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int((int)(7)));
21001 }
21002 {
21003 PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int((int)(8)));
21004 }
21005 {
21006 PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int((int)(9)));
21007 }
21008 {
21009 PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int((int)(0)));
21010 }
21011 {
21012 PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int((int)(1)));
21013 }
21014 {
21015 PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int((int)(2)));
21016 }
21017 {
21018 PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int((int)(3)));
21019 }
21020 {
21021 PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int((int)(4)));
21022 }
21023 {
21024 PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int((int)(5)));
21025 }
21026 {
21027 PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int((int)(6)));
21028 }
21029 {
21030 PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int((int)(7)));
21031 }
21032 {
21033 PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int((int)(8)));
21034 }
21035 {
21036 PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int((int)(9)));
21037 }
21038 {
21039 PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int((int)(10)));
21040 }
21041 {
21042 PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int((int)(11)));
21043 }
21044 {
21045 PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int((int)(12)));
21046 }
21047 {
21048 PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int((int)(13)));
21049 }
21050 {
21051 PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int((int)(14)));
21052 }
21053 {
21054 PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int((int)(19)));
21055 }
21056 {
21057 PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int((int)(0)));
21058 }
21059 {
21060 PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int((int)(1)));
21061 }
21062 {
21063 PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int((int)(2)));
21064 }
21065 {
21066 PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int((int)(3)));
21067 }
21068 {
21069 PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int((int)(4)));
21070 }
21071 {
21072 PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int((int)(5)));
21073 }
21074 {
21075 PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int((int)(6)));
21076 }
21077 {
21078 PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int((int)(7)));
21079 }
21080 {
21081 PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int((int)(8)));
21082 }
21083 {
21084 PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int((int)(9)));
21085 }
21086 {
21087 PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int((int)(10)));
21088 }
21089 {
21090 PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int((int)(11)));
21091 }
53aa7709
RD
21092 {
21093 PyDict_SetItemString(d,"STC_AU3_SPECIAL", SWIG_From_int((int)(12)));
21094 }
36ed4f51
RD
21095 {
21096 PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int((int)(0)));
21097 }
21098 {
21099 PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int((int)(1)));
21100 }
21101 {
21102 PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int((int)(2)));
21103 }
21104 {
21105 PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int((int)(3)));
21106 }
21107 {
21108 PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int((int)(4)));
21109 }
21110 {
53aa7709 21111 PyDict_SetItemString(d,"STC_APDL_OPERATOR", SWIG_From_int((int)(5)));
36ed4f51
RD
21112 }
21113 {
53aa7709 21114 PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int((int)(6)));
36ed4f51
RD
21115 }
21116 {
21117 PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int((int)(7)));
21118 }
21119 {
53aa7709
RD
21120 PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int((int)(8)));
21121 }
21122 {
21123 PyDict_SetItemString(d,"STC_APDL_SLASHCOMMAND", SWIG_From_int((int)(9)));
21124 }
21125 {
21126 PyDict_SetItemString(d,"STC_APDL_STARCOMMAND", SWIG_From_int((int)(10)));
21127 }
21128 {
21129 PyDict_SetItemString(d,"STC_APDL_ARGUMENT", SWIG_From_int((int)(11)));
21130 }
21131 {
21132 PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int((int)(12)));
36ed4f51
RD
21133 }
21134 {
21135 PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int((int)(0)));
21136 }
21137 {
21138 PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int((int)(1)));
21139 }
21140 {
21141 PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int((int)(2)));
21142 }
21143 {
21144 PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int((int)(3)));
21145 }
21146 {
21147 PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int((int)(4)));
21148 }
21149 {
21150 PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int((int)(5)));
21151 }
21152 {
21153 PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int((int)(6)));
21154 }
21155 {
21156 PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int((int)(7)));
21157 }
21158 {
21159 PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int((int)(8)));
21160 }
21161 {
21162 PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int((int)(9)));
21163 }
21164 {
21165 PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int((int)(10)));
21166 }
21167 {
21168 PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int((int)(11)));
21169 }
21170 {
21171 PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int((int)(12)));
21172 }
21173 {
21174 PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int((int)(13)));
21175 }
53aa7709
RD
21176 {
21177 PyDict_SetItemString(d,"STC_ASN1_DEFAULT", SWIG_From_int((int)(0)));
21178 }
21179 {
21180 PyDict_SetItemString(d,"STC_ASN1_COMMENT", SWIG_From_int((int)(1)));
21181 }
21182 {
21183 PyDict_SetItemString(d,"STC_ASN1_IDENTIFIER", SWIG_From_int((int)(2)));
21184 }
21185 {
21186 PyDict_SetItemString(d,"STC_ASN1_STRING", SWIG_From_int((int)(3)));
21187 }
21188 {
21189 PyDict_SetItemString(d,"STC_ASN1_OID", SWIG_From_int((int)(4)));
21190 }
21191 {
21192 PyDict_SetItemString(d,"STC_ASN1_SCALAR", SWIG_From_int((int)(5)));
21193 }
21194 {
21195 PyDict_SetItemString(d,"STC_ASN1_KEYWORD", SWIG_From_int((int)(6)));
21196 }
21197 {
21198 PyDict_SetItemString(d,"STC_ASN1_ATTRIBUTE", SWIG_From_int((int)(7)));
21199 }
21200 {
21201 PyDict_SetItemString(d,"STC_ASN1_DESCRIPTOR", SWIG_From_int((int)(8)));
21202 }
21203 {
21204 PyDict_SetItemString(d,"STC_ASN1_TYPE", SWIG_From_int((int)(9)));
21205 }
21206 {
21207 PyDict_SetItemString(d,"STC_ASN1_OPERATOR", SWIG_From_int((int)(10)));
21208 }
21209 {
21210 PyDict_SetItemString(d,"STC_VHDL_DEFAULT", SWIG_From_int((int)(0)));
21211 }
21212 {
21213 PyDict_SetItemString(d,"STC_VHDL_COMMENT", SWIG_From_int((int)(1)));
21214 }
21215 {
21216 PyDict_SetItemString(d,"STC_VHDL_COMMENTLINEBANG", SWIG_From_int((int)(2)));
21217 }
21218 {
21219 PyDict_SetItemString(d,"STC_VHDL_NUMBER", SWIG_From_int((int)(3)));
21220 }
21221 {
21222 PyDict_SetItemString(d,"STC_VHDL_STRING", SWIG_From_int((int)(4)));
21223 }
21224 {
21225 PyDict_SetItemString(d,"STC_VHDL_OPERATOR", SWIG_From_int((int)(5)));
21226 }
21227 {
21228 PyDict_SetItemString(d,"STC_VHDL_IDENTIFIER", SWIG_From_int((int)(6)));
21229 }
21230 {
21231 PyDict_SetItemString(d,"STC_VHDL_STRINGEOL", SWIG_From_int((int)(7)));
21232 }
21233 {
21234 PyDict_SetItemString(d,"STC_VHDL_KEYWORD", SWIG_From_int((int)(8)));
21235 }
21236 {
21237 PyDict_SetItemString(d,"STC_VHDL_STDOPERATOR", SWIG_From_int((int)(9)));
21238 }
21239 {
21240 PyDict_SetItemString(d,"STC_VHDL_ATTRIBUTE", SWIG_From_int((int)(10)));
21241 }
21242 {
21243 PyDict_SetItemString(d,"STC_VHDL_STDFUNCTION", SWIG_From_int((int)(11)));
21244 }
21245 {
21246 PyDict_SetItemString(d,"STC_VHDL_STDPACKAGE", SWIG_From_int((int)(12)));
21247 }
21248 {
21249 PyDict_SetItemString(d,"STC_VHDL_STDTYPE", SWIG_From_int((int)(13)));
21250 }
21251 {
21252 PyDict_SetItemString(d,"STC_VHDL_USERWORD", SWIG_From_int((int)(14)));
21253 }
36ed4f51
RD
21254 {
21255 PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int((int)(2011)));
21256 }
21257 {
21258 PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int((int)(2013)));
21259 }
21260 {
21261 PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int((int)(2176)));
21262 }
21263 {
21264 PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int((int)(2177)));
21265 }
21266 {
21267 PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int((int)(2178)));
21268 }
21269 {
21270 PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int((int)(2179)));
21271 }
21272 {
21273 PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int((int)(2180)));
21274 }
21275 {
21276 PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int((int)(2300)));
21277 }
21278 {
21279 PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int((int)(2301)));
21280 }
21281 {
21282 PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int((int)(2302)));
21283 }
21284 {
21285 PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int((int)(2303)));
21286 }
21287 {
21288 PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int((int)(2304)));
21289 }
21290 {
21291 PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int((int)(2305)));
21292 }
21293 {
21294 PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int((int)(2306)));
21295 }
21296 {
21297 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int((int)(2307)));
21298 }
21299 {
21300 PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int((int)(2308)));
21301 }
21302 {
21303 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int((int)(2309)));
21304 }
21305 {
21306 PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int((int)(2310)));
21307 }
21308 {
21309 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int((int)(2311)));
21310 }
21311 {
21312 PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int((int)(2312)));
21313 }
21314 {
21315 PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int((int)(2313)));
21316 }
21317 {
21318 PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int((int)(2314)));
21319 }
21320 {
21321 PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int((int)(2315)));
21322 }
21323 {
21324 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int((int)(2316)));
21325 }
21326 {
21327 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int((int)(2317)));
21328 }
21329 {
21330 PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int((int)(2318)));
21331 }
21332 {
21333 PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int((int)(2319)));
21334 }
21335 {
21336 PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int((int)(2320)));
21337 }
21338 {
21339 PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int((int)(2321)));
21340 }
21341 {
21342 PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int((int)(2322)));
21343 }
21344 {
21345 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int((int)(2323)));
21346 }
21347 {
21348 PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int((int)(2324)));
21349 }
21350 {
21351 PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int((int)(2325)));
21352 }
21353 {
21354 PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int((int)(2326)));
21355 }
21356 {
21357 PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int((int)(2327)));
21358 }
21359 {
21360 PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int((int)(2328)));
21361 }
21362 {
21363 PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int((int)(2329)));
21364 }
21365 {
21366 PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int((int)(2330)));
21367 }
21368 {
21369 PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int((int)(2331)));
21370 }
21371 {
21372 PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int((int)(2332)));
21373 }
21374 {
21375 PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int((int)(2333)));
21376 }
21377 {
21378 PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int((int)(2334)));
21379 }
21380 {
21381 PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int((int)(2335)));
21382 }
21383 {
21384 PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int((int)(2336)));
21385 }
21386 {
21387 PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int((int)(2337)));
21388 }
21389 {
21390 PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int((int)(2338)));
21391 }
21392 {
21393 PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int((int)(2339)));
21394 }
21395 {
21396 PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int((int)(2404)));
21397 }
21398 {
21399 PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int((int)(2340)));
21400 }
21401 {
21402 PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int((int)(2341)));
21403 }
21404 {
21405 PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int((int)(2342)));
21406 }
21407 {
21408 PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int((int)(2343)));
21409 }
21410 {
21411 PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int((int)(2344)));
21412 }
21413 {
21414 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int((int)(2345)));
21415 }
21416 {
21417 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int((int)(2346)));
21418 }
21419 {
21420 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int((int)(2347)));
21421 }
21422 {
21423 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int((int)(2348)));
21424 }
21425 {
21426 PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int((int)(2349)));
21427 }
21428 {
21429 PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int((int)(2450)));
21430 }
21431 {
21432 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int((int)(2451)));
21433 }
21434 {
21435 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int((int)(2452)));
21436 }
21437 {
21438 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int((int)(2453)));
21439 }
21440 {
21441 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int((int)(2454)));
21442 }
21443 {
21444 PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int((int)(2455)));
21445 }
21446 {
21447 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int((int)(2390)));
21448 }
21449 {
21450 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int((int)(2391)));
21451 }
21452 {
21453 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int((int)(2392)));
21454 }
21455 {
21456 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int((int)(2393)));
21457 }
21458 {
21459 PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int((int)(2395)));
21460 }
21461 {
21462 PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int((int)(2396)));
21463 }
21464 {
21465 PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int((int)(2413)));
21466 }
21467 {
21468 PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int((int)(2414)));
21469 }
21470 {
21471 PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int((int)(2415)));
21472 }
21473 {
21474 PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int((int)(2416)));
21475 }
21476 {
21477 PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int((int)(2426)));
21478 }
21479 {
21480 PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int((int)(2427)));
21481 }
21482 {
21483 PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int((int)(2428)));
21484 }
21485 {
21486 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int((int)(2429)));
21487 }
21488 {
21489 PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int((int)(2430)));
21490 }
21491 {
21492 PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int((int)(2431)));
21493 }
21494 {
21495 PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int((int)(2432)));
21496 }
21497 {
21498 PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int((int)(2433)));
21499 }
21500 {
21501 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int((int)(2434)));
21502 }
21503 {
21504 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int((int)(2435)));
21505 }
21506 {
21507 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int((int)(2436)));
21508 }
21509 {
21510 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int((int)(2437)));
21511 }
21512 {
21513 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int((int)(2438)));
21514 }
21515 {
21516 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int((int)(2439)));
21517 }
21518 {
21519 PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int((int)(2440)));
21520 }
21521 {
21522 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int((int)(2441)));
21523 }
21524 {
21525 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int((int)(2442)));
21526 }
21527 {
21528 PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int((int)(wxEVT_STC_CHANGE)));
21529 }
21530 {
21531 PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int((int)(wxEVT_STC_STYLENEEDED)));
21532 }
21533 {
21534 PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int((int)(wxEVT_STC_CHARADDED)));
21535 }
21536 {
21537 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTREACHED)));
21538 }
21539 {
21540 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTLEFT)));
21541 }
21542 {
21543 PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int((int)(wxEVT_STC_ROMODIFYATTEMPT)));
21544 }
21545 {
21546 PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int((int)(wxEVT_STC_KEY)));
21547 }
21548 {
21549 PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int((int)(wxEVT_STC_DOUBLECLICK)));
21550 }
21551 {
21552 PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int((int)(wxEVT_STC_UPDATEUI)));
21553 }
21554 {
21555 PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int((int)(wxEVT_STC_MODIFIED)));
21556 }
21557 {
21558 PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int((int)(wxEVT_STC_MACRORECORD)));
21559 }
21560 {
21561 PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int((int)(wxEVT_STC_MARGINCLICK)));
21562 }
21563 {
21564 PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int((int)(wxEVT_STC_NEEDSHOWN)));
21565 }
21566 {
21567 PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int((int)(wxEVT_STC_PAINTED)));
21568 }
21569 {
21570 PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int((int)(wxEVT_STC_USERLISTSELECTION)));
21571 }
21572 {
21573 PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int((int)(wxEVT_STC_URIDROPPED)));
21574 }
21575 {
21576 PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int((int)(wxEVT_STC_DWELLSTART)));
21577 }
21578 {
21579 PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int((int)(wxEVT_STC_DWELLEND)));
21580 }
21581 {
21582 PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int((int)(wxEVT_STC_START_DRAG)));
21583 }
21584 {
21585 PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int((int)(wxEVT_STC_DRAG_OVER)));
21586 }
21587 {
21588 PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int((int)(wxEVT_STC_DO_DROP)));
21589 }
21590 {
21591 PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int((int)(wxEVT_STC_ZOOM)));
21592 }
21593 {
21594 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_CLICK)));
21595 }
21596 {
21597 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_DCLICK)));
21598 }
21599 {
21600 PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int((int)(wxEVT_STC_CALLTIP_CLICK)));
21601 }
d14a1e28
RD
21602
21603
21604}
21605