+# This file was created automatically by SWIG 1.3.27.
+# Don't modify this file, modify the SWIG interface instead.
+
+"""
+The `StyledTextCtrl` provides a text editor that can used as a syntax
+highlighting source code editor, or similar. Lexers for several programming
+languages are built-in.
+"""
+
+import _stc
+
+def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
+ if (name == "this"):
+ if isinstance(value, class_type):
+ self.__dict__[name] = value.this
+ if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
+ del value.thisown
+ return
+ method = class_type.__swig_setmethods__.get(name,None)
+ if method: return method(self,value)
+ if (not static) or hasattr(self,name) or (name == "thisown"):
+ self.__dict__[name] = value
+ else:
+ raise AttributeError("You cannot add attributes to %s" % self)
+
+def _swig_setattr(self,class_type,name,value):
+ return _swig_setattr_nondynamic(self,class_type,name,value,0)
+
+def _swig_getattr(self,class_type,name):
+ method = class_type.__swig_getmethods__.get(name,None)
+ if method: return method(self)
+ raise AttributeError,name
+
+import types
+try:
+ _object = types.ObjectType
+ _newclass = 1
+except AttributeError:
+ class _object : pass
+ _newclass = 0
+del types
+
+
+def _swig_setattr_nondynamic_method(set):
+ def set_attr(self,name,value):
+ if hasattr(self,name) or (name in ("this", "thisown")):
+ set(self,name,value)
+ else:
+ raise AttributeError("You cannot add attributes to %s" % self)
+ return set_attr
+
+
+import _core
+import _misc
+wx = _core
+__docfilter__ = wx.__DocFilter(globals())
+STC_USE_DND = _stc.STC_USE_DND
+STC_USE_POPUP = _stc.STC_USE_POPUP
+STC_INVALID_POSITION = _stc.STC_INVALID_POSITION
+STC_START = _stc.STC_START
+STC_OPTIONAL_START = _stc.STC_OPTIONAL_START
+STC_LEXER_START = _stc.STC_LEXER_START
+STC_WS_INVISIBLE = _stc.STC_WS_INVISIBLE
+STC_WS_VISIBLEALWAYS = _stc.STC_WS_VISIBLEALWAYS
+STC_WS_VISIBLEAFTERINDENT = _stc.STC_WS_VISIBLEAFTERINDENT
+STC_EOL_CRLF = _stc.STC_EOL_CRLF
+STC_EOL_CR = _stc.STC_EOL_CR
+STC_EOL_LF = _stc.STC_EOL_LF
+STC_CP_UTF8 = _stc.STC_CP_UTF8
+STC_CP_DBCS = _stc.STC_CP_DBCS
+STC_MARKER_MAX = _stc.STC_MARKER_MAX
+STC_MARK_CIRCLE = _stc.STC_MARK_CIRCLE
+STC_MARK_ROUNDRECT = _stc.STC_MARK_ROUNDRECT
+STC_MARK_ARROW = _stc.STC_MARK_ARROW
+STC_MARK_SMALLRECT = _stc.STC_MARK_SMALLRECT
+STC_MARK_SHORTARROW = _stc.STC_MARK_SHORTARROW
+STC_MARK_EMPTY = _stc.STC_MARK_EMPTY
+STC_MARK_ARROWDOWN = _stc.STC_MARK_ARROWDOWN
+STC_MARK_MINUS = _stc.STC_MARK_MINUS
+STC_MARK_PLUS = _stc.STC_MARK_PLUS
+STC_MARK_VLINE = _stc.STC_MARK_VLINE
+STC_MARK_LCORNER = _stc.STC_MARK_LCORNER
+STC_MARK_TCORNER = _stc.STC_MARK_TCORNER
+STC_MARK_BOXPLUS = _stc.STC_MARK_BOXPLUS
+STC_MARK_BOXPLUSCONNECTED = _stc.STC_MARK_BOXPLUSCONNECTED
+STC_MARK_BOXMINUS = _stc.STC_MARK_BOXMINUS
+STC_MARK_BOXMINUSCONNECTED = _stc.STC_MARK_BOXMINUSCONNECTED
+STC_MARK_LCORNERCURVE = _stc.STC_MARK_LCORNERCURVE
+STC_MARK_TCORNERCURVE = _stc.STC_MARK_TCORNERCURVE
+STC_MARK_CIRCLEPLUS = _stc.STC_MARK_CIRCLEPLUS
+STC_MARK_CIRCLEPLUSCONNECTED = _stc.STC_MARK_CIRCLEPLUSCONNECTED
+STC_MARK_CIRCLEMINUS = _stc.STC_MARK_CIRCLEMINUS
+STC_MARK_CIRCLEMINUSCONNECTED = _stc.STC_MARK_CIRCLEMINUSCONNECTED
+STC_MARK_BACKGROUND = _stc.STC_MARK_BACKGROUND
+STC_MARK_DOTDOTDOT = _stc.STC_MARK_DOTDOTDOT
+STC_MARK_ARROWS = _stc.STC_MARK_ARROWS
+STC_MARK_PIXMAP = _stc.STC_MARK_PIXMAP
+STC_MARK_CHARACTER = _stc.STC_MARK_CHARACTER
+STC_MARKNUM_FOLDEREND = _stc.STC_MARKNUM_FOLDEREND
+STC_MARKNUM_FOLDEROPENMID = _stc.STC_MARKNUM_FOLDEROPENMID
+STC_MARKNUM_FOLDERMIDTAIL = _stc.STC_MARKNUM_FOLDERMIDTAIL
+STC_MARKNUM_FOLDERTAIL = _stc.STC_MARKNUM_FOLDERTAIL
+STC_MARKNUM_FOLDERSUB = _stc.STC_MARKNUM_FOLDERSUB
+STC_MARKNUM_FOLDER = _stc.STC_MARKNUM_FOLDER
+STC_MARKNUM_FOLDEROPEN = _stc.STC_MARKNUM_FOLDEROPEN
+STC_MASK_FOLDERS = _stc.STC_MASK_FOLDERS
+STC_MARGIN_SYMBOL = _stc.STC_MARGIN_SYMBOL
+STC_MARGIN_NUMBER = _stc.STC_MARGIN_NUMBER
+STC_STYLE_DEFAULT = _stc.STC_STYLE_DEFAULT
+STC_STYLE_LINENUMBER = _stc.STC_STYLE_LINENUMBER
+STC_STYLE_BRACELIGHT = _stc.STC_STYLE_BRACELIGHT
+STC_STYLE_BRACEBAD = _stc.STC_STYLE_BRACEBAD
+STC_STYLE_CONTROLCHAR = _stc.STC_STYLE_CONTROLCHAR
+STC_STYLE_INDENTGUIDE = _stc.STC_STYLE_INDENTGUIDE
+STC_STYLE_LASTPREDEFINED = _stc.STC_STYLE_LASTPREDEFINED
+STC_STYLE_MAX = _stc.STC_STYLE_MAX
+STC_CHARSET_ANSI = _stc.STC_CHARSET_ANSI
+STC_CHARSET_DEFAULT = _stc.STC_CHARSET_DEFAULT
+STC_CHARSET_BALTIC = _stc.STC_CHARSET_BALTIC
+STC_CHARSET_CHINESEBIG5 = _stc.STC_CHARSET_CHINESEBIG5
+STC_CHARSET_EASTEUROPE = _stc.STC_CHARSET_EASTEUROPE
+STC_CHARSET_GB2312 = _stc.STC_CHARSET_GB2312
+STC_CHARSET_GREEK = _stc.STC_CHARSET_GREEK
+STC_CHARSET_HANGUL = _stc.STC_CHARSET_HANGUL
+STC_CHARSET_MAC = _stc.STC_CHARSET_MAC
+STC_CHARSET_OEM = _stc.STC_CHARSET_OEM
+STC_CHARSET_RUSSIAN = _stc.STC_CHARSET_RUSSIAN
+STC_CHARSET_SHIFTJIS = _stc.STC_CHARSET_SHIFTJIS
+STC_CHARSET_SYMBOL = _stc.STC_CHARSET_SYMBOL
+STC_CHARSET_TURKISH = _stc.STC_CHARSET_TURKISH
+STC_CHARSET_JOHAB = _stc.STC_CHARSET_JOHAB
+STC_CHARSET_HEBREW = _stc.STC_CHARSET_HEBREW
+STC_CHARSET_ARABIC = _stc.STC_CHARSET_ARABIC
+STC_CHARSET_VIETNAMESE = _stc.STC_CHARSET_VIETNAMESE
+STC_CHARSET_THAI = _stc.STC_CHARSET_THAI
+STC_CASE_MIXED = _stc.STC_CASE_MIXED
+STC_CASE_UPPER = _stc.STC_CASE_UPPER
+STC_CASE_LOWER = _stc.STC_CASE_LOWER
+STC_INDIC_MAX = _stc.STC_INDIC_MAX
+STC_INDIC_PLAIN = _stc.STC_INDIC_PLAIN
+STC_INDIC_SQUIGGLE = _stc.STC_INDIC_SQUIGGLE
+STC_INDIC_TT = _stc.STC_INDIC_TT
+STC_INDIC_DIAGONAL = _stc.STC_INDIC_DIAGONAL
+STC_INDIC_STRIKE = _stc.STC_INDIC_STRIKE
+STC_INDIC_HIDDEN = _stc.STC_INDIC_HIDDEN
+STC_INDIC_BOX = _stc.STC_INDIC_BOX
+STC_INDIC0_MASK = _stc.STC_INDIC0_MASK
+STC_INDIC1_MASK = _stc.STC_INDIC1_MASK
+STC_INDIC2_MASK = _stc.STC_INDIC2_MASK
+STC_INDICS_MASK = _stc.STC_INDICS_MASK
+STC_PRINT_NORMAL = _stc.STC_PRINT_NORMAL
+STC_PRINT_INVERTLIGHT = _stc.STC_PRINT_INVERTLIGHT
+STC_PRINT_BLACKONWHITE = _stc.STC_PRINT_BLACKONWHITE
+STC_PRINT_COLOURONWHITE = _stc.STC_PRINT_COLOURONWHITE
+STC_PRINT_COLOURONWHITEDEFAULTBG = _stc.STC_PRINT_COLOURONWHITEDEFAULTBG
+STC_FIND_WHOLEWORD = _stc.STC_FIND_WHOLEWORD
+STC_FIND_MATCHCASE = _stc.STC_FIND_MATCHCASE
+STC_FIND_WORDSTART = _stc.STC_FIND_WORDSTART
+STC_FIND_REGEXP = _stc.STC_FIND_REGEXP
+STC_FIND_POSIX = _stc.STC_FIND_POSIX
+STC_FOLDLEVELBASE = _stc.STC_FOLDLEVELBASE
+STC_FOLDLEVELWHITEFLAG = _stc.STC_FOLDLEVELWHITEFLAG
+STC_FOLDLEVELHEADERFLAG = _stc.STC_FOLDLEVELHEADERFLAG
+STC_FOLDLEVELBOXHEADERFLAG = _stc.STC_FOLDLEVELBOXHEADERFLAG
+STC_FOLDLEVELBOXFOOTERFLAG = _stc.STC_FOLDLEVELBOXFOOTERFLAG
+STC_FOLDLEVELCONTRACTED = _stc.STC_FOLDLEVELCONTRACTED
+STC_FOLDLEVELUNINDENT = _stc.STC_FOLDLEVELUNINDENT
+STC_FOLDLEVELNUMBERMASK = _stc.STC_FOLDLEVELNUMBERMASK
+STC_FOLDFLAG_LINEBEFORE_EXPANDED = _stc.STC_FOLDFLAG_LINEBEFORE_EXPANDED
+STC_FOLDFLAG_LINEBEFORE_CONTRACTED = _stc.STC_FOLDFLAG_LINEBEFORE_CONTRACTED
+STC_FOLDFLAG_LINEAFTER_EXPANDED = _stc.STC_FOLDFLAG_LINEAFTER_EXPANDED
+STC_FOLDFLAG_LINEAFTER_CONTRACTED = _stc.STC_FOLDFLAG_LINEAFTER_CONTRACTED
+STC_FOLDFLAG_LEVELNUMBERS = _stc.STC_FOLDFLAG_LEVELNUMBERS
+STC_FOLDFLAG_BOX = _stc.STC_FOLDFLAG_BOX
+STC_TIME_FOREVER = _stc.STC_TIME_FOREVER
+STC_WRAP_NONE = _stc.STC_WRAP_NONE
+STC_WRAP_WORD = _stc.STC_WRAP_WORD
+STC_WRAPVISUALFLAG_NONE = _stc.STC_WRAPVISUALFLAG_NONE
+STC_WRAPVISUALFLAG_END = _stc.STC_WRAPVISUALFLAG_END
+STC_WRAPVISUALFLAG_START = _stc.STC_WRAPVISUALFLAG_START
+STC_WRAPVISUALFLAGLOC_DEFAULT = _stc.STC_WRAPVISUALFLAGLOC_DEFAULT
+STC_WRAPVISUALFLAGLOC_END_BY_TEXT = _stc.STC_WRAPVISUALFLAGLOC_END_BY_TEXT
+STC_WRAPVISUALFLAGLOC_START_BY_TEXT = _stc.STC_WRAPVISUALFLAGLOC_START_BY_TEXT
+STC_CACHE_NONE = _stc.STC_CACHE_NONE
+STC_CACHE_CARET = _stc.STC_CACHE_CARET
+STC_CACHE_PAGE = _stc.STC_CACHE_PAGE
+STC_CACHE_DOCUMENT = _stc.STC_CACHE_DOCUMENT
+STC_EDGE_NONE = _stc.STC_EDGE_NONE
+STC_EDGE_LINE = _stc.STC_EDGE_LINE
+STC_EDGE_BACKGROUND = _stc.STC_EDGE_BACKGROUND
+STC_CURSORNORMAL = _stc.STC_CURSORNORMAL
+STC_CURSORWAIT = _stc.STC_CURSORWAIT
+STC_VISIBLE_SLOP = _stc.STC_VISIBLE_SLOP
+STC_VISIBLE_STRICT = _stc.STC_VISIBLE_STRICT
+STC_CARET_SLOP = _stc.STC_CARET_SLOP
+STC_CARET_STRICT = _stc.STC_CARET_STRICT
+STC_CARET_JUMPS = _stc.STC_CARET_JUMPS
+STC_CARET_EVEN = _stc.STC_CARET_EVEN
+STC_SEL_STREAM = _stc.STC_SEL_STREAM
+STC_SEL_RECTANGLE = _stc.STC_SEL_RECTANGLE
+STC_SEL_LINES = _stc.STC_SEL_LINES
+STC_KEYWORDSET_MAX = _stc.STC_KEYWORDSET_MAX
+STC_MOD_INSERTTEXT = _stc.STC_MOD_INSERTTEXT
+STC_MOD_DELETETEXT = _stc.STC_MOD_DELETETEXT
+STC_MOD_CHANGESTYLE = _stc.STC_MOD_CHANGESTYLE
+STC_MOD_CHANGEFOLD = _stc.STC_MOD_CHANGEFOLD
+STC_PERFORMED_USER = _stc.STC_PERFORMED_USER
+STC_PERFORMED_UNDO = _stc.STC_PERFORMED_UNDO
+STC_PERFORMED_REDO = _stc.STC_PERFORMED_REDO
+STC_LASTSTEPINUNDOREDO = _stc.STC_LASTSTEPINUNDOREDO
+STC_MOD_CHANGEMARKER = _stc.STC_MOD_CHANGEMARKER
+STC_MOD_BEFOREINSERT = _stc.STC_MOD_BEFOREINSERT
+STC_MOD_BEFOREDELETE = _stc.STC_MOD_BEFOREDELETE
+STC_MODEVENTMASKALL = _stc.STC_MODEVENTMASKALL
+STC_KEY_DOWN = _stc.STC_KEY_DOWN
+STC_KEY_UP = _stc.STC_KEY_UP
+STC_KEY_LEFT = _stc.STC_KEY_LEFT
+STC_KEY_RIGHT = _stc.STC_KEY_RIGHT
+STC_KEY_HOME = _stc.STC_KEY_HOME
+STC_KEY_END = _stc.STC_KEY_END
+STC_KEY_PRIOR = _stc.STC_KEY_PRIOR
+STC_KEY_NEXT = _stc.STC_KEY_NEXT
+STC_KEY_DELETE = _stc.STC_KEY_DELETE
+STC_KEY_INSERT = _stc.STC_KEY_INSERT
+STC_KEY_ESCAPE = _stc.STC_KEY_ESCAPE
+STC_KEY_BACK = _stc.STC_KEY_BACK
+STC_KEY_TAB = _stc.STC_KEY_TAB
+STC_KEY_RETURN = _stc.STC_KEY_RETURN
+STC_KEY_ADD = _stc.STC_KEY_ADD
+STC_KEY_SUBTRACT = _stc.STC_KEY_SUBTRACT
+STC_KEY_DIVIDE = _stc.STC_KEY_DIVIDE
+STC_SCMOD_SHIFT = _stc.STC_SCMOD_SHIFT
+STC_SCMOD_CTRL = _stc.STC_SCMOD_CTRL
+STC_SCMOD_ALT = _stc.STC_SCMOD_ALT
+STC_LEX_CONTAINER = _stc.STC_LEX_CONTAINER
+STC_LEX_NULL = _stc.STC_LEX_NULL
+STC_LEX_PYTHON = _stc.STC_LEX_PYTHON
+STC_LEX_CPP = _stc.STC_LEX_CPP
+STC_LEX_HTML = _stc.STC_LEX_HTML
+STC_LEX_XML = _stc.STC_LEX_XML
+STC_LEX_PERL = _stc.STC_LEX_PERL
+STC_LEX_SQL = _stc.STC_LEX_SQL
+STC_LEX_VB = _stc.STC_LEX_VB
+STC_LEX_PROPERTIES = _stc.STC_LEX_PROPERTIES
+STC_LEX_ERRORLIST = _stc.STC_LEX_ERRORLIST
+STC_LEX_MAKEFILE = _stc.STC_LEX_MAKEFILE
+STC_LEX_BATCH = _stc.STC_LEX_BATCH
+STC_LEX_XCODE = _stc.STC_LEX_XCODE
+STC_LEX_LATEX = _stc.STC_LEX_LATEX
+STC_LEX_LUA = _stc.STC_LEX_LUA
+STC_LEX_DIFF = _stc.STC_LEX_DIFF
+STC_LEX_CONF = _stc.STC_LEX_CONF
+STC_LEX_PASCAL = _stc.STC_LEX_PASCAL
+STC_LEX_AVE = _stc.STC_LEX_AVE
+STC_LEX_ADA = _stc.STC_LEX_ADA
+STC_LEX_LISP = _stc.STC_LEX_LISP
+STC_LEX_RUBY = _stc.STC_LEX_RUBY
+STC_LEX_EIFFEL = _stc.STC_LEX_EIFFEL
+STC_LEX_EIFFELKW = _stc.STC_LEX_EIFFELKW
+STC_LEX_TCL = _stc.STC_LEX_TCL
+STC_LEX_NNCRONTAB = _stc.STC_LEX_NNCRONTAB
+STC_LEX_BULLANT = _stc.STC_LEX_BULLANT
+STC_LEX_VBSCRIPT = _stc.STC_LEX_VBSCRIPT
+STC_LEX_ASP = _stc.STC_LEX_ASP
+STC_LEX_PHP = _stc.STC_LEX_PHP
+STC_LEX_BAAN = _stc.STC_LEX_BAAN
+STC_LEX_MATLAB = _stc.STC_LEX_MATLAB
+STC_LEX_SCRIPTOL = _stc.STC_LEX_SCRIPTOL
+STC_LEX_ASM = _stc.STC_LEX_ASM
+STC_LEX_CPPNOCASE = _stc.STC_LEX_CPPNOCASE
+STC_LEX_FORTRAN = _stc.STC_LEX_FORTRAN
+STC_LEX_F77 = _stc.STC_LEX_F77
+STC_LEX_CSS = _stc.STC_LEX_CSS
+STC_LEX_POV = _stc.STC_LEX_POV
+STC_LEX_LOUT = _stc.STC_LEX_LOUT
+STC_LEX_ESCRIPT = _stc.STC_LEX_ESCRIPT
+STC_LEX_PS = _stc.STC_LEX_PS
+STC_LEX_NSIS = _stc.STC_LEX_NSIS
+STC_LEX_MMIXAL = _stc.STC_LEX_MMIXAL
+STC_LEX_CLW = _stc.STC_LEX_CLW
+STC_LEX_CLWNOCASE = _stc.STC_LEX_CLWNOCASE
+STC_LEX_LOT = _stc.STC_LEX_LOT
+STC_LEX_YAML = _stc.STC_LEX_YAML
+STC_LEX_TEX = _stc.STC_LEX_TEX
+STC_LEX_METAPOST = _stc.STC_LEX_METAPOST
+STC_LEX_POWERBASIC = _stc.STC_LEX_POWERBASIC
+STC_LEX_FORTH = _stc.STC_LEX_FORTH
+STC_LEX_ERLANG = _stc.STC_LEX_ERLANG
+STC_LEX_OCTAVE = _stc.STC_LEX_OCTAVE
+STC_LEX_MSSQL = _stc.STC_LEX_MSSQL
+STC_LEX_VERILOG = _stc.STC_LEX_VERILOG
+STC_LEX_KIX = _stc.STC_LEX_KIX
+STC_LEX_GUI4CLI = _stc.STC_LEX_GUI4CLI
+STC_LEX_SPECMAN = _stc.STC_LEX_SPECMAN
+STC_LEX_AU3 = _stc.STC_LEX_AU3
+STC_LEX_APDL = _stc.STC_LEX_APDL
+STC_LEX_BASH = _stc.STC_LEX_BASH
+STC_LEX_ASN1 = _stc.STC_LEX_ASN1
+STC_LEX_VHDL = _stc.STC_LEX_VHDL
+STC_LEX_AUTOMATIC = _stc.STC_LEX_AUTOMATIC
+STC_P_DEFAULT = _stc.STC_P_DEFAULT
+STC_P_COMMENTLINE = _stc.STC_P_COMMENTLINE
+STC_P_NUMBER = _stc.STC_P_NUMBER
+STC_P_STRING = _stc.STC_P_STRING
+STC_P_CHARACTER = _stc.STC_P_CHARACTER
+STC_P_WORD = _stc.STC_P_WORD
+STC_P_TRIPLE = _stc.STC_P_TRIPLE
+STC_P_TRIPLEDOUBLE = _stc.STC_P_TRIPLEDOUBLE
+STC_P_CLASSNAME = _stc.STC_P_CLASSNAME
+STC_P_DEFNAME = _stc.STC_P_DEFNAME
+STC_P_OPERATOR = _stc.STC_P_OPERATOR
+STC_P_IDENTIFIER = _stc.STC_P_IDENTIFIER
+STC_P_COMMENTBLOCK = _stc.STC_P_COMMENTBLOCK
+STC_P_STRINGEOL = _stc.STC_P_STRINGEOL
+STC_C_DEFAULT = _stc.STC_C_DEFAULT
+STC_C_COMMENT = _stc.STC_C_COMMENT
+STC_C_COMMENTLINE = _stc.STC_C_COMMENTLINE
+STC_C_COMMENTDOC = _stc.STC_C_COMMENTDOC
+STC_C_NUMBER = _stc.STC_C_NUMBER
+STC_C_WORD = _stc.STC_C_WORD
+STC_C_STRING = _stc.STC_C_STRING
+STC_C_CHARACTER = _stc.STC_C_CHARACTER
+STC_C_UUID = _stc.STC_C_UUID
+STC_C_PREPROCESSOR = _stc.STC_C_PREPROCESSOR
+STC_C_OPERATOR = _stc.STC_C_OPERATOR
+STC_C_IDENTIFIER = _stc.STC_C_IDENTIFIER
+STC_C_STRINGEOL = _stc.STC_C_STRINGEOL
+STC_C_VERBATIM = _stc.STC_C_VERBATIM
+STC_C_REGEX = _stc.STC_C_REGEX
+STC_C_COMMENTLINEDOC = _stc.STC_C_COMMENTLINEDOC
+STC_C_WORD2 = _stc.STC_C_WORD2
+STC_C_COMMENTDOCKEYWORD = _stc.STC_C_COMMENTDOCKEYWORD
+STC_C_COMMENTDOCKEYWORDERROR = _stc.STC_C_COMMENTDOCKEYWORDERROR
+STC_C_GLOBALCLASS = _stc.STC_C_GLOBALCLASS
+STC_H_DEFAULT = _stc.STC_H_DEFAULT
+STC_H_TAG = _stc.STC_H_TAG
+STC_H_TAGUNKNOWN = _stc.STC_H_TAGUNKNOWN
+STC_H_ATTRIBUTE = _stc.STC_H_ATTRIBUTE
+STC_H_ATTRIBUTEUNKNOWN = _stc.STC_H_ATTRIBUTEUNKNOWN
+STC_H_NUMBER = _stc.STC_H_NUMBER
+STC_H_DOUBLESTRING = _stc.STC_H_DOUBLESTRING
+STC_H_SINGLESTRING = _stc.STC_H_SINGLESTRING
+STC_H_OTHER = _stc.STC_H_OTHER
+STC_H_COMMENT = _stc.STC_H_COMMENT
+STC_H_ENTITY = _stc.STC_H_ENTITY
+STC_H_TAGEND = _stc.STC_H_TAGEND
+STC_H_XMLSTART = _stc.STC_H_XMLSTART
+STC_H_XMLEND = _stc.STC_H_XMLEND
+STC_H_SCRIPT = _stc.STC_H_SCRIPT
+STC_H_ASP = _stc.STC_H_ASP
+STC_H_ASPAT = _stc.STC_H_ASPAT
+STC_H_CDATA = _stc.STC_H_CDATA
+STC_H_QUESTION = _stc.STC_H_QUESTION
+STC_H_VALUE = _stc.STC_H_VALUE
+STC_H_XCCOMMENT = _stc.STC_H_XCCOMMENT
+STC_H_SGML_DEFAULT = _stc.STC_H_SGML_DEFAULT
+STC_H_SGML_COMMAND = _stc.STC_H_SGML_COMMAND
+STC_H_SGML_1ST_PARAM = _stc.STC_H_SGML_1ST_PARAM
+STC_H_SGML_DOUBLESTRING = _stc.STC_H_SGML_DOUBLESTRING
+STC_H_SGML_SIMPLESTRING = _stc.STC_H_SGML_SIMPLESTRING
+STC_H_SGML_ERROR = _stc.STC_H_SGML_ERROR
+STC_H_SGML_SPECIAL = _stc.STC_H_SGML_SPECIAL
+STC_H_SGML_ENTITY = _stc.STC_H_SGML_ENTITY
+STC_H_SGML_COMMENT = _stc.STC_H_SGML_COMMENT
+STC_H_SGML_1ST_PARAM_COMMENT = _stc.STC_H_SGML_1ST_PARAM_COMMENT
+STC_H_SGML_BLOCK_DEFAULT = _stc.STC_H_SGML_BLOCK_DEFAULT
+STC_HJ_START = _stc.STC_HJ_START
+STC_HJ_DEFAULT = _stc.STC_HJ_DEFAULT
+STC_HJ_COMMENT = _stc.STC_HJ_COMMENT
+STC_HJ_COMMENTLINE = _stc.STC_HJ_COMMENTLINE
+STC_HJ_COMMENTDOC = _stc.STC_HJ_COMMENTDOC
+STC_HJ_NUMBER = _stc.STC_HJ_NUMBER
+STC_HJ_WORD = _stc.STC_HJ_WORD
+STC_HJ_KEYWORD = _stc.STC_HJ_KEYWORD
+STC_HJ_DOUBLESTRING = _stc.STC_HJ_DOUBLESTRING
+STC_HJ_SINGLESTRING = _stc.STC_HJ_SINGLESTRING
+STC_HJ_SYMBOLS = _stc.STC_HJ_SYMBOLS
+STC_HJ_STRINGEOL = _stc.STC_HJ_STRINGEOL
+STC_HJ_REGEX = _stc.STC_HJ_REGEX
+STC_HJA_START = _stc.STC_HJA_START
+STC_HJA_DEFAULT = _stc.STC_HJA_DEFAULT
+STC_HJA_COMMENT = _stc.STC_HJA_COMMENT
+STC_HJA_COMMENTLINE = _stc.STC_HJA_COMMENTLINE
+STC_HJA_COMMENTDOC = _stc.STC_HJA_COMMENTDOC
+STC_HJA_NUMBER = _stc.STC_HJA_NUMBER
+STC_HJA_WORD = _stc.STC_HJA_WORD
+STC_HJA_KEYWORD = _stc.STC_HJA_KEYWORD
+STC_HJA_DOUBLESTRING = _stc.STC_HJA_DOUBLESTRING
+STC_HJA_SINGLESTRING = _stc.STC_HJA_SINGLESTRING
+STC_HJA_SYMBOLS = _stc.STC_HJA_SYMBOLS
+STC_HJA_STRINGEOL = _stc.STC_HJA_STRINGEOL
+STC_HJA_REGEX = _stc.STC_HJA_REGEX
+STC_HB_START = _stc.STC_HB_START
+STC_HB_DEFAULT = _stc.STC_HB_DEFAULT
+STC_HB_COMMENTLINE = _stc.STC_HB_COMMENTLINE
+STC_HB_NUMBER = _stc.STC_HB_NUMBER
+STC_HB_WORD = _stc.STC_HB_WORD
+STC_HB_STRING = _stc.STC_HB_STRING
+STC_HB_IDENTIFIER = _stc.STC_HB_IDENTIFIER
+STC_HB_STRINGEOL = _stc.STC_HB_STRINGEOL
+STC_HBA_START = _stc.STC_HBA_START
+STC_HBA_DEFAULT = _stc.STC_HBA_DEFAULT
+STC_HBA_COMMENTLINE = _stc.STC_HBA_COMMENTLINE
+STC_HBA_NUMBER = _stc.STC_HBA_NUMBER
+STC_HBA_WORD = _stc.STC_HBA_WORD
+STC_HBA_STRING = _stc.STC_HBA_STRING
+STC_HBA_IDENTIFIER = _stc.STC_HBA_IDENTIFIER
+STC_HBA_STRINGEOL = _stc.STC_HBA_STRINGEOL
+STC_HP_START = _stc.STC_HP_START
+STC_HP_DEFAULT = _stc.STC_HP_DEFAULT
+STC_HP_COMMENTLINE = _stc.STC_HP_COMMENTLINE
+STC_HP_NUMBER = _stc.STC_HP_NUMBER
+STC_HP_STRING = _stc.STC_HP_STRING
+STC_HP_CHARACTER = _stc.STC_HP_CHARACTER
+STC_HP_WORD = _stc.STC_HP_WORD
+STC_HP_TRIPLE = _stc.STC_HP_TRIPLE
+STC_HP_TRIPLEDOUBLE = _stc.STC_HP_TRIPLEDOUBLE
+STC_HP_CLASSNAME = _stc.STC_HP_CLASSNAME
+STC_HP_DEFNAME = _stc.STC_HP_DEFNAME
+STC_HP_OPERATOR = _stc.STC_HP_OPERATOR
+STC_HP_IDENTIFIER = _stc.STC_HP_IDENTIFIER
+STC_HPHP_COMPLEX_VARIABLE = _stc.STC_HPHP_COMPLEX_VARIABLE
+STC_HPA_START = _stc.STC_HPA_START
+STC_HPA_DEFAULT = _stc.STC_HPA_DEFAULT
+STC_HPA_COMMENTLINE = _stc.STC_HPA_COMMENTLINE
+STC_HPA_NUMBER = _stc.STC_HPA_NUMBER
+STC_HPA_STRING = _stc.STC_HPA_STRING
+STC_HPA_CHARACTER = _stc.STC_HPA_CHARACTER
+STC_HPA_WORD = _stc.STC_HPA_WORD
+STC_HPA_TRIPLE = _stc.STC_HPA_TRIPLE
+STC_HPA_TRIPLEDOUBLE = _stc.STC_HPA_TRIPLEDOUBLE
+STC_HPA_CLASSNAME = _stc.STC_HPA_CLASSNAME
+STC_HPA_DEFNAME = _stc.STC_HPA_DEFNAME
+STC_HPA_OPERATOR = _stc.STC_HPA_OPERATOR
+STC_HPA_IDENTIFIER = _stc.STC_HPA_IDENTIFIER
+STC_HPHP_DEFAULT = _stc.STC_HPHP_DEFAULT
+STC_HPHP_HSTRING = _stc.STC_HPHP_HSTRING
+STC_HPHP_SIMPLESTRING = _stc.STC_HPHP_SIMPLESTRING
+STC_HPHP_WORD = _stc.STC_HPHP_WORD
+STC_HPHP_NUMBER = _stc.STC_HPHP_NUMBER
+STC_HPHP_VARIABLE = _stc.STC_HPHP_VARIABLE
+STC_HPHP_COMMENT = _stc.STC_HPHP_COMMENT
+STC_HPHP_COMMENTLINE = _stc.STC_HPHP_COMMENTLINE
+STC_HPHP_HSTRING_VARIABLE = _stc.STC_HPHP_HSTRING_VARIABLE
+STC_HPHP_OPERATOR = _stc.STC_HPHP_OPERATOR
+STC_PL_DEFAULT = _stc.STC_PL_DEFAULT
+STC_PL_ERROR = _stc.STC_PL_ERROR
+STC_PL_COMMENTLINE = _stc.STC_PL_COMMENTLINE
+STC_PL_POD = _stc.STC_PL_POD
+STC_PL_NUMBER = _stc.STC_PL_NUMBER
+STC_PL_WORD = _stc.STC_PL_WORD
+STC_PL_STRING = _stc.STC_PL_STRING
+STC_PL_CHARACTER = _stc.STC_PL_CHARACTER
+STC_PL_PUNCTUATION = _stc.STC_PL_PUNCTUATION
+STC_PL_PREPROCESSOR = _stc.STC_PL_PREPROCESSOR
+STC_PL_OPERATOR = _stc.STC_PL_OPERATOR
+STC_PL_IDENTIFIER = _stc.STC_PL_IDENTIFIER
+STC_PL_SCALAR = _stc.STC_PL_SCALAR
+STC_PL_ARRAY = _stc.STC_PL_ARRAY
+STC_PL_HASH = _stc.STC_PL_HASH
+STC_PL_SYMBOLTABLE = _stc.STC_PL_SYMBOLTABLE
+STC_PL_REGEX = _stc.STC_PL_REGEX
+STC_PL_REGSUBST = _stc.STC_PL_REGSUBST
+STC_PL_LONGQUOTE = _stc.STC_PL_LONGQUOTE
+STC_PL_BACKTICKS = _stc.STC_PL_BACKTICKS
+STC_PL_DATASECTION = _stc.STC_PL_DATASECTION
+STC_PL_HERE_DELIM = _stc.STC_PL_HERE_DELIM
+STC_PL_HERE_Q = _stc.STC_PL_HERE_Q
+STC_PL_HERE_QQ = _stc.STC_PL_HERE_QQ
+STC_PL_HERE_QX = _stc.STC_PL_HERE_QX
+STC_PL_STRING_Q = _stc.STC_PL_STRING_Q
+STC_PL_STRING_QQ = _stc.STC_PL_STRING_QQ
+STC_PL_STRING_QX = _stc.STC_PL_STRING_QX
+STC_PL_STRING_QR = _stc.STC_PL_STRING_QR
+STC_PL_STRING_QW = _stc.STC_PL_STRING_QW
+STC_B_DEFAULT = _stc.STC_B_DEFAULT
+STC_B_COMMENT = _stc.STC_B_COMMENT
+STC_B_NUMBER = _stc.STC_B_NUMBER
+STC_B_KEYWORD = _stc.STC_B_KEYWORD
+STC_B_STRING = _stc.STC_B_STRING
+STC_B_PREPROCESSOR = _stc.STC_B_PREPROCESSOR
+STC_B_OPERATOR = _stc.STC_B_OPERATOR
+STC_B_IDENTIFIER = _stc.STC_B_IDENTIFIER
+STC_B_DATE = _stc.STC_B_DATE
+STC_B_STRINGEOL = _stc.STC_B_STRINGEOL
+STC_B_KEYWORD2 = _stc.STC_B_KEYWORD2
+STC_B_KEYWORD3 = _stc.STC_B_KEYWORD3
+STC_B_KEYWORD4 = _stc.STC_B_KEYWORD4
+STC_B_CONSTANT = _stc.STC_B_CONSTANT
+STC_B_ASM = _stc.STC_B_ASM
+STC_PROPS_DEFAULT = _stc.STC_PROPS_DEFAULT
+STC_PROPS_COMMENT = _stc.STC_PROPS_COMMENT
+STC_PROPS_SECTION = _stc.STC_PROPS_SECTION
+STC_PROPS_ASSIGNMENT = _stc.STC_PROPS_ASSIGNMENT
+STC_PROPS_DEFVAL = _stc.STC_PROPS_DEFVAL
+STC_L_DEFAULT = _stc.STC_L_DEFAULT
+STC_L_COMMAND = _stc.STC_L_COMMAND
+STC_L_TAG = _stc.STC_L_TAG
+STC_L_MATH = _stc.STC_L_MATH
+STC_L_COMMENT = _stc.STC_L_COMMENT
+STC_LUA_DEFAULT = _stc.STC_LUA_DEFAULT
+STC_LUA_COMMENT = _stc.STC_LUA_COMMENT
+STC_LUA_COMMENTLINE = _stc.STC_LUA_COMMENTLINE
+STC_LUA_COMMENTDOC = _stc.STC_LUA_COMMENTDOC
+STC_LUA_NUMBER = _stc.STC_LUA_NUMBER
+STC_LUA_WORD = _stc.STC_LUA_WORD
+STC_LUA_STRING = _stc.STC_LUA_STRING
+STC_LUA_CHARACTER = _stc.STC_LUA_CHARACTER
+STC_LUA_LITERALSTRING = _stc.STC_LUA_LITERALSTRING
+STC_LUA_PREPROCESSOR = _stc.STC_LUA_PREPROCESSOR
+STC_LUA_OPERATOR = _stc.STC_LUA_OPERATOR
+STC_LUA_IDENTIFIER = _stc.STC_LUA_IDENTIFIER
+STC_LUA_STRINGEOL = _stc.STC_LUA_STRINGEOL
+STC_LUA_WORD2 = _stc.STC_LUA_WORD2
+STC_LUA_WORD3 = _stc.STC_LUA_WORD3
+STC_LUA_WORD4 = _stc.STC_LUA_WORD4
+STC_LUA_WORD5 = _stc.STC_LUA_WORD5
+STC_LUA_WORD6 = _stc.STC_LUA_WORD6
+STC_LUA_WORD7 = _stc.STC_LUA_WORD7
+STC_LUA_WORD8 = _stc.STC_LUA_WORD8
+STC_ERR_DEFAULT = _stc.STC_ERR_DEFAULT
+STC_ERR_PYTHON = _stc.STC_ERR_PYTHON
+STC_ERR_GCC = _stc.STC_ERR_GCC
+STC_ERR_MS = _stc.STC_ERR_MS
+STC_ERR_CMD = _stc.STC_ERR_CMD
+STC_ERR_BORLAND = _stc.STC_ERR_BORLAND
+STC_ERR_PERL = _stc.STC_ERR_PERL
+STC_ERR_NET = _stc.STC_ERR_NET
+STC_ERR_LUA = _stc.STC_ERR_LUA
+STC_ERR_CTAG = _stc.STC_ERR_CTAG
+STC_ERR_DIFF_CHANGED = _stc.STC_ERR_DIFF_CHANGED
+STC_ERR_DIFF_ADDITION = _stc.STC_ERR_DIFF_ADDITION
+STC_ERR_DIFF_DELETION = _stc.STC_ERR_DIFF_DELETION
+STC_ERR_DIFF_MESSAGE = _stc.STC_ERR_DIFF_MESSAGE
+STC_ERR_PHP = _stc.STC_ERR_PHP
+STC_ERR_ELF = _stc.STC_ERR_ELF
+STC_ERR_IFC = _stc.STC_ERR_IFC
+STC_ERR_IFORT = _stc.STC_ERR_IFORT
+STC_ERR_ABSF = _stc.STC_ERR_ABSF
+STC_ERR_TIDY = _stc.STC_ERR_TIDY
+STC_ERR_JAVA_STACK = _stc.STC_ERR_JAVA_STACK
+STC_BAT_DEFAULT = _stc.STC_BAT_DEFAULT
+STC_BAT_COMMENT = _stc.STC_BAT_COMMENT
+STC_BAT_WORD = _stc.STC_BAT_WORD
+STC_BAT_LABEL = _stc.STC_BAT_LABEL
+STC_BAT_HIDE = _stc.STC_BAT_HIDE
+STC_BAT_COMMAND = _stc.STC_BAT_COMMAND
+STC_BAT_IDENTIFIER = _stc.STC_BAT_IDENTIFIER
+STC_BAT_OPERATOR = _stc.STC_BAT_OPERATOR
+STC_MAKE_DEFAULT = _stc.STC_MAKE_DEFAULT
+STC_MAKE_COMMENT = _stc.STC_MAKE_COMMENT
+STC_MAKE_PREPROCESSOR = _stc.STC_MAKE_PREPROCESSOR
+STC_MAKE_IDENTIFIER = _stc.STC_MAKE_IDENTIFIER
+STC_MAKE_OPERATOR = _stc.STC_MAKE_OPERATOR
+STC_MAKE_TARGET = _stc.STC_MAKE_TARGET
+STC_MAKE_IDEOL = _stc.STC_MAKE_IDEOL
+STC_DIFF_DEFAULT = _stc.STC_DIFF_DEFAULT
+STC_DIFF_COMMENT = _stc.STC_DIFF_COMMENT
+STC_DIFF_COMMAND = _stc.STC_DIFF_COMMAND
+STC_DIFF_HEADER = _stc.STC_DIFF_HEADER
+STC_DIFF_POSITION = _stc.STC_DIFF_POSITION
+STC_DIFF_DELETED = _stc.STC_DIFF_DELETED
+STC_DIFF_ADDED = _stc.STC_DIFF_ADDED
+STC_CONF_DEFAULT = _stc.STC_CONF_DEFAULT
+STC_CONF_COMMENT = _stc.STC_CONF_COMMENT
+STC_CONF_NUMBER = _stc.STC_CONF_NUMBER
+STC_CONF_IDENTIFIER = _stc.STC_CONF_IDENTIFIER
+STC_CONF_EXTENSION = _stc.STC_CONF_EXTENSION
+STC_CONF_PARAMETER = _stc.STC_CONF_PARAMETER
+STC_CONF_STRING = _stc.STC_CONF_STRING
+STC_CONF_OPERATOR = _stc.STC_CONF_OPERATOR
+STC_CONF_IP = _stc.STC_CONF_IP
+STC_CONF_DIRECTIVE = _stc.STC_CONF_DIRECTIVE
+STC_AVE_DEFAULT = _stc.STC_AVE_DEFAULT
+STC_AVE_COMMENT = _stc.STC_AVE_COMMENT
+STC_AVE_NUMBER = _stc.STC_AVE_NUMBER
+STC_AVE_WORD = _stc.STC_AVE_WORD
+STC_AVE_STRING = _stc.STC_AVE_STRING
+STC_AVE_ENUM = _stc.STC_AVE_ENUM
+STC_AVE_STRINGEOL = _stc.STC_AVE_STRINGEOL
+STC_AVE_IDENTIFIER = _stc.STC_AVE_IDENTIFIER
+STC_AVE_OPERATOR = _stc.STC_AVE_OPERATOR
+STC_AVE_WORD1 = _stc.STC_AVE_WORD1
+STC_AVE_WORD2 = _stc.STC_AVE_WORD2
+STC_AVE_WORD3 = _stc.STC_AVE_WORD3
+STC_AVE_WORD4 = _stc.STC_AVE_WORD4
+STC_AVE_WORD5 = _stc.STC_AVE_WORD5
+STC_AVE_WORD6 = _stc.STC_AVE_WORD6
+STC_ADA_DEFAULT = _stc.STC_ADA_DEFAULT
+STC_ADA_WORD = _stc.STC_ADA_WORD
+STC_ADA_IDENTIFIER = _stc.STC_ADA_IDENTIFIER
+STC_ADA_NUMBER = _stc.STC_ADA_NUMBER
+STC_ADA_DELIMITER = _stc.STC_ADA_DELIMITER
+STC_ADA_CHARACTER = _stc.STC_ADA_CHARACTER
+STC_ADA_CHARACTEREOL = _stc.STC_ADA_CHARACTEREOL
+STC_ADA_STRING = _stc.STC_ADA_STRING
+STC_ADA_STRINGEOL = _stc.STC_ADA_STRINGEOL
+STC_ADA_LABEL = _stc.STC_ADA_LABEL
+STC_ADA_COMMENTLINE = _stc.STC_ADA_COMMENTLINE
+STC_ADA_ILLEGAL = _stc.STC_ADA_ILLEGAL
+STC_BAAN_DEFAULT = _stc.STC_BAAN_DEFAULT
+STC_BAAN_COMMENT = _stc.STC_BAAN_COMMENT
+STC_BAAN_COMMENTDOC = _stc.STC_BAAN_COMMENTDOC
+STC_BAAN_NUMBER = _stc.STC_BAAN_NUMBER
+STC_BAAN_WORD = _stc.STC_BAAN_WORD
+STC_BAAN_STRING = _stc.STC_BAAN_STRING
+STC_BAAN_PREPROCESSOR = _stc.STC_BAAN_PREPROCESSOR
+STC_BAAN_OPERATOR = _stc.STC_BAAN_OPERATOR
+STC_BAAN_IDENTIFIER = _stc.STC_BAAN_IDENTIFIER
+STC_BAAN_STRINGEOL = _stc.STC_BAAN_STRINGEOL
+STC_BAAN_WORD2 = _stc.STC_BAAN_WORD2
+STC_LISP_DEFAULT = _stc.STC_LISP_DEFAULT
+STC_LISP_COMMENT = _stc.STC_LISP_COMMENT
+STC_LISP_NUMBER = _stc.STC_LISP_NUMBER
+STC_LISP_KEYWORD = _stc.STC_LISP_KEYWORD
+STC_LISP_STRING = _stc.STC_LISP_STRING
+STC_LISP_STRINGEOL = _stc.STC_LISP_STRINGEOL
+STC_LISP_IDENTIFIER = _stc.STC_LISP_IDENTIFIER
+STC_LISP_OPERATOR = _stc.STC_LISP_OPERATOR
+STC_EIFFEL_DEFAULT = _stc.STC_EIFFEL_DEFAULT
+STC_EIFFEL_COMMENTLINE = _stc.STC_EIFFEL_COMMENTLINE
+STC_EIFFEL_NUMBER = _stc.STC_EIFFEL_NUMBER
+STC_EIFFEL_WORD = _stc.STC_EIFFEL_WORD
+STC_EIFFEL_STRING = _stc.STC_EIFFEL_STRING
+STC_EIFFEL_CHARACTER = _stc.STC_EIFFEL_CHARACTER
+STC_EIFFEL_OPERATOR = _stc.STC_EIFFEL_OPERATOR
+STC_EIFFEL_IDENTIFIER = _stc.STC_EIFFEL_IDENTIFIER
+STC_EIFFEL_STRINGEOL = _stc.STC_EIFFEL_STRINGEOL
+STC_NNCRONTAB_DEFAULT = _stc.STC_NNCRONTAB_DEFAULT
+STC_NNCRONTAB_COMMENT = _stc.STC_NNCRONTAB_COMMENT
+STC_NNCRONTAB_TASK = _stc.STC_NNCRONTAB_TASK
+STC_NNCRONTAB_SECTION = _stc.STC_NNCRONTAB_SECTION
+STC_NNCRONTAB_KEYWORD = _stc.STC_NNCRONTAB_KEYWORD
+STC_NNCRONTAB_MODIFIER = _stc.STC_NNCRONTAB_MODIFIER
+STC_NNCRONTAB_ASTERISK = _stc.STC_NNCRONTAB_ASTERISK
+STC_NNCRONTAB_NUMBER = _stc.STC_NNCRONTAB_NUMBER
+STC_NNCRONTAB_STRING = _stc.STC_NNCRONTAB_STRING
+STC_NNCRONTAB_ENVIRONMENT = _stc.STC_NNCRONTAB_ENVIRONMENT
+STC_NNCRONTAB_IDENTIFIER = _stc.STC_NNCRONTAB_IDENTIFIER
+STC_FORTH_DEFAULT = _stc.STC_FORTH_DEFAULT
+STC_FORTH_COMMENT = _stc.STC_FORTH_COMMENT
+STC_FORTH_COMMENT_ML = _stc.STC_FORTH_COMMENT_ML
+STC_FORTH_IDENTIFIER = _stc.STC_FORTH_IDENTIFIER
+STC_FORTH_CONTROL = _stc.STC_FORTH_CONTROL
+STC_FORTH_KEYWORD = _stc.STC_FORTH_KEYWORD
+STC_FORTH_DEFWORD = _stc.STC_FORTH_DEFWORD
+STC_FORTH_PREWORD1 = _stc.STC_FORTH_PREWORD1
+STC_FORTH_PREWORD2 = _stc.STC_FORTH_PREWORD2
+STC_FORTH_NUMBER = _stc.STC_FORTH_NUMBER
+STC_FORTH_STRING = _stc.STC_FORTH_STRING
+STC_FORTH_LOCALE = _stc.STC_FORTH_LOCALE
+STC_MATLAB_DEFAULT = _stc.STC_MATLAB_DEFAULT
+STC_MATLAB_COMMENT = _stc.STC_MATLAB_COMMENT
+STC_MATLAB_COMMAND = _stc.STC_MATLAB_COMMAND
+STC_MATLAB_NUMBER = _stc.STC_MATLAB_NUMBER
+STC_MATLAB_KEYWORD = _stc.STC_MATLAB_KEYWORD
+STC_MATLAB_STRING = _stc.STC_MATLAB_STRING
+STC_MATLAB_OPERATOR = _stc.STC_MATLAB_OPERATOR
+STC_MATLAB_IDENTIFIER = _stc.STC_MATLAB_IDENTIFIER
+STC_MATLAB_DOUBLEQUOTESTRING = _stc.STC_MATLAB_DOUBLEQUOTESTRING
+STC_SCRIPTOL_DEFAULT = _stc.STC_SCRIPTOL_DEFAULT
+STC_SCRIPTOL_WHITE = _stc.STC_SCRIPTOL_WHITE
+STC_SCRIPTOL_COMMENTLINE = _stc.STC_SCRIPTOL_COMMENTLINE
+STC_SCRIPTOL_PERSISTENT = _stc.STC_SCRIPTOL_PERSISTENT
+STC_SCRIPTOL_CSTYLE = _stc.STC_SCRIPTOL_CSTYLE
+STC_SCRIPTOL_COMMENTBLOCK = _stc.STC_SCRIPTOL_COMMENTBLOCK
+STC_SCRIPTOL_NUMBER = _stc.STC_SCRIPTOL_NUMBER
+STC_SCRIPTOL_STRING = _stc.STC_SCRIPTOL_STRING
+STC_SCRIPTOL_CHARACTER = _stc.STC_SCRIPTOL_CHARACTER
+STC_SCRIPTOL_STRINGEOL = _stc.STC_SCRIPTOL_STRINGEOL
+STC_SCRIPTOL_KEYWORD = _stc.STC_SCRIPTOL_KEYWORD
+STC_SCRIPTOL_OPERATOR = _stc.STC_SCRIPTOL_OPERATOR
+STC_SCRIPTOL_IDENTIFIER = _stc.STC_SCRIPTOL_IDENTIFIER
+STC_SCRIPTOL_TRIPLE = _stc.STC_SCRIPTOL_TRIPLE
+STC_SCRIPTOL_CLASSNAME = _stc.STC_SCRIPTOL_CLASSNAME
+STC_SCRIPTOL_PREPROCESSOR = _stc.STC_SCRIPTOL_PREPROCESSOR
+STC_ASM_DEFAULT = _stc.STC_ASM_DEFAULT
+STC_ASM_COMMENT = _stc.STC_ASM_COMMENT
+STC_ASM_NUMBER = _stc.STC_ASM_NUMBER
+STC_ASM_STRING = _stc.STC_ASM_STRING
+STC_ASM_OPERATOR = _stc.STC_ASM_OPERATOR
+STC_ASM_IDENTIFIER = _stc.STC_ASM_IDENTIFIER
+STC_ASM_CPUINSTRUCTION = _stc.STC_ASM_CPUINSTRUCTION
+STC_ASM_MATHINSTRUCTION = _stc.STC_ASM_MATHINSTRUCTION
+STC_ASM_REGISTER = _stc.STC_ASM_REGISTER
+STC_ASM_DIRECTIVE = _stc.STC_ASM_DIRECTIVE
+STC_ASM_DIRECTIVEOPERAND = _stc.STC_ASM_DIRECTIVEOPERAND
+STC_ASM_COMMENTBLOCK = _stc.STC_ASM_COMMENTBLOCK
+STC_ASM_CHARACTER = _stc.STC_ASM_CHARACTER
+STC_ASM_STRINGEOL = _stc.STC_ASM_STRINGEOL
+STC_ASM_EXTINSTRUCTION = _stc.STC_ASM_EXTINSTRUCTION
+STC_F_DEFAULT = _stc.STC_F_DEFAULT
+STC_F_COMMENT = _stc.STC_F_COMMENT
+STC_F_NUMBER = _stc.STC_F_NUMBER
+STC_F_STRING1 = _stc.STC_F_STRING1
+STC_F_STRING2 = _stc.STC_F_STRING2
+STC_F_STRINGEOL = _stc.STC_F_STRINGEOL
+STC_F_OPERATOR = _stc.STC_F_OPERATOR
+STC_F_IDENTIFIER = _stc.STC_F_IDENTIFIER
+STC_F_WORD = _stc.STC_F_WORD
+STC_F_WORD2 = _stc.STC_F_WORD2
+STC_F_WORD3 = _stc.STC_F_WORD3
+STC_F_PREPROCESSOR = _stc.STC_F_PREPROCESSOR
+STC_F_OPERATOR2 = _stc.STC_F_OPERATOR2
+STC_F_LABEL = _stc.STC_F_LABEL
+STC_F_CONTINUATION = _stc.STC_F_CONTINUATION
+STC_CSS_DEFAULT = _stc.STC_CSS_DEFAULT
+STC_CSS_TAG = _stc.STC_CSS_TAG
+STC_CSS_CLASS = _stc.STC_CSS_CLASS
+STC_CSS_PSEUDOCLASS = _stc.STC_CSS_PSEUDOCLASS
+STC_CSS_UNKNOWN_PSEUDOCLASS = _stc.STC_CSS_UNKNOWN_PSEUDOCLASS
+STC_CSS_OPERATOR = _stc.STC_CSS_OPERATOR
+STC_CSS_IDENTIFIER = _stc.STC_CSS_IDENTIFIER
+STC_CSS_UNKNOWN_IDENTIFIER = _stc.STC_CSS_UNKNOWN_IDENTIFIER
+STC_CSS_VALUE = _stc.STC_CSS_VALUE
+STC_CSS_COMMENT = _stc.STC_CSS_COMMENT
+STC_CSS_ID = _stc.STC_CSS_ID
+STC_CSS_IMPORTANT = _stc.STC_CSS_IMPORTANT
+STC_CSS_DIRECTIVE = _stc.STC_CSS_DIRECTIVE
+STC_CSS_DOUBLESTRING = _stc.STC_CSS_DOUBLESTRING
+STC_CSS_SINGLESTRING = _stc.STC_CSS_SINGLESTRING
+STC_CSS_IDENTIFIER2 = _stc.STC_CSS_IDENTIFIER2
+STC_POV_DEFAULT = _stc.STC_POV_DEFAULT
+STC_POV_COMMENT = _stc.STC_POV_COMMENT
+STC_POV_COMMENTLINE = _stc.STC_POV_COMMENTLINE
+STC_POV_NUMBER = _stc.STC_POV_NUMBER
+STC_POV_OPERATOR = _stc.STC_POV_OPERATOR
+STC_POV_IDENTIFIER = _stc.STC_POV_IDENTIFIER
+STC_POV_STRING = _stc.STC_POV_STRING
+STC_POV_STRINGEOL = _stc.STC_POV_STRINGEOL
+STC_POV_DIRECTIVE = _stc.STC_POV_DIRECTIVE
+STC_POV_BADDIRECTIVE = _stc.STC_POV_BADDIRECTIVE
+STC_POV_WORD2 = _stc.STC_POV_WORD2
+STC_POV_WORD3 = _stc.STC_POV_WORD3
+STC_POV_WORD4 = _stc.STC_POV_WORD4
+STC_POV_WORD5 = _stc.STC_POV_WORD5
+STC_POV_WORD6 = _stc.STC_POV_WORD6
+STC_POV_WORD7 = _stc.STC_POV_WORD7
+STC_POV_WORD8 = _stc.STC_POV_WORD8
+STC_LOUT_DEFAULT = _stc.STC_LOUT_DEFAULT
+STC_LOUT_COMMENT = _stc.STC_LOUT_COMMENT
+STC_LOUT_NUMBER = _stc.STC_LOUT_NUMBER
+STC_LOUT_WORD = _stc.STC_LOUT_WORD
+STC_LOUT_WORD2 = _stc.STC_LOUT_WORD2
+STC_LOUT_WORD3 = _stc.STC_LOUT_WORD3
+STC_LOUT_WORD4 = _stc.STC_LOUT_WORD4
+STC_LOUT_STRING = _stc.STC_LOUT_STRING
+STC_LOUT_OPERATOR = _stc.STC_LOUT_OPERATOR
+STC_LOUT_IDENTIFIER = _stc.STC_LOUT_IDENTIFIER
+STC_LOUT_STRINGEOL = _stc.STC_LOUT_STRINGEOL
+STC_ESCRIPT_DEFAULT = _stc.STC_ESCRIPT_DEFAULT
+STC_ESCRIPT_COMMENT = _stc.STC_ESCRIPT_COMMENT
+STC_ESCRIPT_COMMENTLINE = _stc.STC_ESCRIPT_COMMENTLINE
+STC_ESCRIPT_COMMENTDOC = _stc.STC_ESCRIPT_COMMENTDOC
+STC_ESCRIPT_NUMBER = _stc.STC_ESCRIPT_NUMBER
+STC_ESCRIPT_WORD = _stc.STC_ESCRIPT_WORD
+STC_ESCRIPT_STRING = _stc.STC_ESCRIPT_STRING
+STC_ESCRIPT_OPERATOR = _stc.STC_ESCRIPT_OPERATOR
+STC_ESCRIPT_IDENTIFIER = _stc.STC_ESCRIPT_IDENTIFIER
+STC_ESCRIPT_BRACE = _stc.STC_ESCRIPT_BRACE
+STC_ESCRIPT_WORD2 = _stc.STC_ESCRIPT_WORD2
+STC_ESCRIPT_WORD3 = _stc.STC_ESCRIPT_WORD3
+STC_PS_DEFAULT = _stc.STC_PS_DEFAULT
+STC_PS_COMMENT = _stc.STC_PS_COMMENT
+STC_PS_DSC_COMMENT = _stc.STC_PS_DSC_COMMENT
+STC_PS_DSC_VALUE = _stc.STC_PS_DSC_VALUE
+STC_PS_NUMBER = _stc.STC_PS_NUMBER
+STC_PS_NAME = _stc.STC_PS_NAME
+STC_PS_KEYWORD = _stc.STC_PS_KEYWORD
+STC_PS_LITERAL = _stc.STC_PS_LITERAL
+STC_PS_IMMEVAL = _stc.STC_PS_IMMEVAL
+STC_PS_PAREN_ARRAY = _stc.STC_PS_PAREN_ARRAY
+STC_PS_PAREN_DICT = _stc.STC_PS_PAREN_DICT
+STC_PS_PAREN_PROC = _stc.STC_PS_PAREN_PROC
+STC_PS_TEXT = _stc.STC_PS_TEXT
+STC_PS_HEXSTRING = _stc.STC_PS_HEXSTRING
+STC_PS_BASE85STRING = _stc.STC_PS_BASE85STRING
+STC_PS_BADSTRINGCHAR = _stc.STC_PS_BADSTRINGCHAR
+STC_NSIS_DEFAULT = _stc.STC_NSIS_DEFAULT
+STC_NSIS_COMMENT = _stc.STC_NSIS_COMMENT
+STC_NSIS_STRINGDQ = _stc.STC_NSIS_STRINGDQ
+STC_NSIS_STRINGLQ = _stc.STC_NSIS_STRINGLQ
+STC_NSIS_STRINGRQ = _stc.STC_NSIS_STRINGRQ
+STC_NSIS_FUNCTION = _stc.STC_NSIS_FUNCTION
+STC_NSIS_VARIABLE = _stc.STC_NSIS_VARIABLE
+STC_NSIS_LABEL = _stc.STC_NSIS_LABEL
+STC_NSIS_USERDEFINED = _stc.STC_NSIS_USERDEFINED
+STC_NSIS_SECTIONDEF = _stc.STC_NSIS_SECTIONDEF
+STC_NSIS_SUBSECTIONDEF = _stc.STC_NSIS_SUBSECTIONDEF
+STC_NSIS_IFDEFINEDEF = _stc.STC_NSIS_IFDEFINEDEF
+STC_NSIS_MACRODEF = _stc.STC_NSIS_MACRODEF
+STC_NSIS_STRINGVAR = _stc.STC_NSIS_STRINGVAR
+STC_NSIS_NUMBER = _stc.STC_NSIS_NUMBER
+STC_MMIXAL_LEADWS = _stc.STC_MMIXAL_LEADWS
+STC_MMIXAL_COMMENT = _stc.STC_MMIXAL_COMMENT
+STC_MMIXAL_LABEL = _stc.STC_MMIXAL_LABEL
+STC_MMIXAL_OPCODE = _stc.STC_MMIXAL_OPCODE
+STC_MMIXAL_OPCODE_PRE = _stc.STC_MMIXAL_OPCODE_PRE
+STC_MMIXAL_OPCODE_VALID = _stc.STC_MMIXAL_OPCODE_VALID
+STC_MMIXAL_OPCODE_UNKNOWN = _stc.STC_MMIXAL_OPCODE_UNKNOWN
+STC_MMIXAL_OPCODE_POST = _stc.STC_MMIXAL_OPCODE_POST
+STC_MMIXAL_OPERANDS = _stc.STC_MMIXAL_OPERANDS
+STC_MMIXAL_NUMBER = _stc.STC_MMIXAL_NUMBER
+STC_MMIXAL_REF = _stc.STC_MMIXAL_REF
+STC_MMIXAL_CHAR = _stc.STC_MMIXAL_CHAR
+STC_MMIXAL_STRING = _stc.STC_MMIXAL_STRING
+STC_MMIXAL_REGISTER = _stc.STC_MMIXAL_REGISTER
+STC_MMIXAL_HEX = _stc.STC_MMIXAL_HEX
+STC_MMIXAL_OPERATOR = _stc.STC_MMIXAL_OPERATOR
+STC_MMIXAL_SYMBOL = _stc.STC_MMIXAL_SYMBOL
+STC_MMIXAL_INCLUDE = _stc.STC_MMIXAL_INCLUDE
+STC_CLW_DEFAULT = _stc.STC_CLW_DEFAULT
+STC_CLW_LABEL = _stc.STC_CLW_LABEL
+STC_CLW_COMMENT = _stc.STC_CLW_COMMENT
+STC_CLW_STRING = _stc.STC_CLW_STRING
+STC_CLW_USER_IDENTIFIER = _stc.STC_CLW_USER_IDENTIFIER
+STC_CLW_INTEGER_CONSTANT = _stc.STC_CLW_INTEGER_CONSTANT
+STC_CLW_REAL_CONSTANT = _stc.STC_CLW_REAL_CONSTANT
+STC_CLW_PICTURE_STRING = _stc.STC_CLW_PICTURE_STRING
+STC_CLW_KEYWORD = _stc.STC_CLW_KEYWORD
+STC_CLW_COMPILER_DIRECTIVE = _stc.STC_CLW_COMPILER_DIRECTIVE
+STC_CLW_BUILTIN_PROCEDURES_FUNCTION = _stc.STC_CLW_BUILTIN_PROCEDURES_FUNCTION
+STC_CLW_STRUCTURE_DATA_TYPE = _stc.STC_CLW_STRUCTURE_DATA_TYPE
+STC_CLW_ATTRIBUTE = _stc.STC_CLW_ATTRIBUTE
+STC_CLW_STANDARD_EQUATE = _stc.STC_CLW_STANDARD_EQUATE
+STC_CLW_ERROR = _stc.STC_CLW_ERROR
+STC_LOT_DEFAULT = _stc.STC_LOT_DEFAULT
+STC_LOT_HEADER = _stc.STC_LOT_HEADER
+STC_LOT_BREAK = _stc.STC_LOT_BREAK
+STC_LOT_SET = _stc.STC_LOT_SET
+STC_LOT_PASS = _stc.STC_LOT_PASS
+STC_LOT_FAIL = _stc.STC_LOT_FAIL
+STC_LOT_ABORT = _stc.STC_LOT_ABORT
+STC_YAML_DEFAULT = _stc.STC_YAML_DEFAULT
+STC_YAML_COMMENT = _stc.STC_YAML_COMMENT
+STC_YAML_IDENTIFIER = _stc.STC_YAML_IDENTIFIER
+STC_YAML_KEYWORD = _stc.STC_YAML_KEYWORD
+STC_YAML_NUMBER = _stc.STC_YAML_NUMBER
+STC_YAML_REFERENCE = _stc.STC_YAML_REFERENCE
+STC_YAML_DOCUMENT = _stc.STC_YAML_DOCUMENT
+STC_YAML_TEXT = _stc.STC_YAML_TEXT
+STC_YAML_ERROR = _stc.STC_YAML_ERROR
+STC_TEX_DEFAULT = _stc.STC_TEX_DEFAULT
+STC_TEX_SPECIAL = _stc.STC_TEX_SPECIAL
+STC_TEX_GROUP = _stc.STC_TEX_GROUP
+STC_TEX_SYMBOL = _stc.STC_TEX_SYMBOL
+STC_TEX_COMMAND = _stc.STC_TEX_COMMAND
+STC_TEX_TEXT = _stc.STC_TEX_TEXT
+STC_METAPOST_DEFAULT = _stc.STC_METAPOST_DEFAULT
+STC_METAPOST_SPECIAL = _stc.STC_METAPOST_SPECIAL
+STC_METAPOST_GROUP = _stc.STC_METAPOST_GROUP
+STC_METAPOST_SYMBOL = _stc.STC_METAPOST_SYMBOL
+STC_METAPOST_COMMAND = _stc.STC_METAPOST_COMMAND
+STC_METAPOST_TEXT = _stc.STC_METAPOST_TEXT
+STC_METAPOST_EXTRA = _stc.STC_METAPOST_EXTRA
+STC_ERLANG_DEFAULT = _stc.STC_ERLANG_DEFAULT
+STC_ERLANG_COMMENT = _stc.STC_ERLANG_COMMENT
+STC_ERLANG_VARIABLE = _stc.STC_ERLANG_VARIABLE
+STC_ERLANG_NUMBER = _stc.STC_ERLANG_NUMBER
+STC_ERLANG_KEYWORD = _stc.STC_ERLANG_KEYWORD
+STC_ERLANG_STRING = _stc.STC_ERLANG_STRING
+STC_ERLANG_OPERATOR = _stc.STC_ERLANG_OPERATOR
+STC_ERLANG_ATOM = _stc.STC_ERLANG_ATOM
+STC_ERLANG_FUNCTION_NAME = _stc.STC_ERLANG_FUNCTION_NAME
+STC_ERLANG_CHARACTER = _stc.STC_ERLANG_CHARACTER
+STC_ERLANG_MACRO = _stc.STC_ERLANG_MACRO
+STC_ERLANG_RECORD = _stc.STC_ERLANG_RECORD
+STC_ERLANG_SEPARATOR = _stc.STC_ERLANG_SEPARATOR
+STC_ERLANG_NODE_NAME = _stc.STC_ERLANG_NODE_NAME
+STC_ERLANG_UNKNOWN = _stc.STC_ERLANG_UNKNOWN
+STC_MSSQL_DEFAULT = _stc.STC_MSSQL_DEFAULT
+STC_MSSQL_COMMENT = _stc.STC_MSSQL_COMMENT
+STC_MSSQL_LINE_COMMENT = _stc.STC_MSSQL_LINE_COMMENT
+STC_MSSQL_NUMBER = _stc.STC_MSSQL_NUMBER
+STC_MSSQL_STRING = _stc.STC_MSSQL_STRING
+STC_MSSQL_OPERATOR = _stc.STC_MSSQL_OPERATOR
+STC_MSSQL_IDENTIFIER = _stc.STC_MSSQL_IDENTIFIER
+STC_MSSQL_VARIABLE = _stc.STC_MSSQL_VARIABLE
+STC_MSSQL_COLUMN_NAME = _stc.STC_MSSQL_COLUMN_NAME
+STC_MSSQL_STATEMENT = _stc.STC_MSSQL_STATEMENT
+STC_MSSQL_DATATYPE = _stc.STC_MSSQL_DATATYPE
+STC_MSSQL_SYSTABLE = _stc.STC_MSSQL_SYSTABLE
+STC_MSSQL_GLOBAL_VARIABLE = _stc.STC_MSSQL_GLOBAL_VARIABLE
+STC_MSSQL_FUNCTION = _stc.STC_MSSQL_FUNCTION
+STC_MSSQL_STORED_PROCEDURE = _stc.STC_MSSQL_STORED_PROCEDURE
+STC_MSSQL_DEFAULT_PREF_DATATYPE = _stc.STC_MSSQL_DEFAULT_PREF_DATATYPE
+STC_MSSQL_COLUMN_NAME_2 = _stc.STC_MSSQL_COLUMN_NAME_2
+STC_V_DEFAULT = _stc.STC_V_DEFAULT
+STC_V_COMMENT = _stc.STC_V_COMMENT
+STC_V_COMMENTLINE = _stc.STC_V_COMMENTLINE
+STC_V_COMMENTLINEBANG = _stc.STC_V_COMMENTLINEBANG
+STC_V_NUMBER = _stc.STC_V_NUMBER
+STC_V_WORD = _stc.STC_V_WORD
+STC_V_STRING = _stc.STC_V_STRING
+STC_V_WORD2 = _stc.STC_V_WORD2
+STC_V_WORD3 = _stc.STC_V_WORD3
+STC_V_PREPROCESSOR = _stc.STC_V_PREPROCESSOR
+STC_V_OPERATOR = _stc.STC_V_OPERATOR
+STC_V_IDENTIFIER = _stc.STC_V_IDENTIFIER
+STC_V_STRINGEOL = _stc.STC_V_STRINGEOL
+STC_V_USER = _stc.STC_V_USER
+STC_KIX_DEFAULT = _stc.STC_KIX_DEFAULT
+STC_KIX_COMMENT = _stc.STC_KIX_COMMENT
+STC_KIX_STRING1 = _stc.STC_KIX_STRING1
+STC_KIX_STRING2 = _stc.STC_KIX_STRING2
+STC_KIX_NUMBER = _stc.STC_KIX_NUMBER
+STC_KIX_VAR = _stc.STC_KIX_VAR
+STC_KIX_MACRO = _stc.STC_KIX_MACRO
+STC_KIX_KEYWORD = _stc.STC_KIX_KEYWORD
+STC_KIX_FUNCTIONS = _stc.STC_KIX_FUNCTIONS
+STC_KIX_OPERATOR = _stc.STC_KIX_OPERATOR
+STC_KIX_IDENTIFIER = _stc.STC_KIX_IDENTIFIER
+STC_GC_DEFAULT = _stc.STC_GC_DEFAULT
+STC_GC_COMMENTLINE = _stc.STC_GC_COMMENTLINE
+STC_GC_COMMENTBLOCK = _stc.STC_GC_COMMENTBLOCK
+STC_GC_GLOBAL = _stc.STC_GC_GLOBAL
+STC_GC_EVENT = _stc.STC_GC_EVENT
+STC_GC_ATTRIBUTE = _stc.STC_GC_ATTRIBUTE
+STC_GC_CONTROL = _stc.STC_GC_CONTROL
+STC_GC_COMMAND = _stc.STC_GC_COMMAND
+STC_GC_STRING = _stc.STC_GC_STRING
+STC_GC_OPERATOR = _stc.STC_GC_OPERATOR
+STC_SN_DEFAULT = _stc.STC_SN_DEFAULT
+STC_SN_CODE = _stc.STC_SN_CODE
+STC_SN_COMMENTLINE = _stc.STC_SN_COMMENTLINE
+STC_SN_COMMENTLINEBANG = _stc.STC_SN_COMMENTLINEBANG
+STC_SN_NUMBER = _stc.STC_SN_NUMBER
+STC_SN_WORD = _stc.STC_SN_WORD
+STC_SN_STRING = _stc.STC_SN_STRING
+STC_SN_WORD2 = _stc.STC_SN_WORD2
+STC_SN_WORD3 = _stc.STC_SN_WORD3
+STC_SN_PREPROCESSOR = _stc.STC_SN_PREPROCESSOR
+STC_SN_OPERATOR = _stc.STC_SN_OPERATOR
+STC_SN_IDENTIFIER = _stc.STC_SN_IDENTIFIER
+STC_SN_STRINGEOL = _stc.STC_SN_STRINGEOL
+STC_SN_REGEXTAG = _stc.STC_SN_REGEXTAG
+STC_SN_SIGNAL = _stc.STC_SN_SIGNAL
+STC_SN_USER = _stc.STC_SN_USER
+STC_AU3_DEFAULT = _stc.STC_AU3_DEFAULT
+STC_AU3_COMMENT = _stc.STC_AU3_COMMENT
+STC_AU3_COMMENTBLOCK = _stc.STC_AU3_COMMENTBLOCK
+STC_AU3_NUMBER = _stc.STC_AU3_NUMBER
+STC_AU3_FUNCTION = _stc.STC_AU3_FUNCTION
+STC_AU3_KEYWORD = _stc.STC_AU3_KEYWORD
+STC_AU3_MACRO = _stc.STC_AU3_MACRO
+STC_AU3_STRING = _stc.STC_AU3_STRING
+STC_AU3_OPERATOR = _stc.STC_AU3_OPERATOR
+STC_AU3_VARIABLE = _stc.STC_AU3_VARIABLE
+STC_AU3_SENT = _stc.STC_AU3_SENT
+STC_AU3_PREPROCESSOR = _stc.STC_AU3_PREPROCESSOR
+STC_AU3_SPECIAL = _stc.STC_AU3_SPECIAL
+STC_APDL_DEFAULT = _stc.STC_APDL_DEFAULT
+STC_APDL_COMMENT = _stc.STC_APDL_COMMENT
+STC_APDL_COMMENTBLOCK = _stc.STC_APDL_COMMENTBLOCK
+STC_APDL_NUMBER = _stc.STC_APDL_NUMBER
+STC_APDL_STRING = _stc.STC_APDL_STRING
+STC_APDL_OPERATOR = _stc.STC_APDL_OPERATOR
+STC_APDL_WORD = _stc.STC_APDL_WORD
+STC_APDL_PROCESSOR = _stc.STC_APDL_PROCESSOR
+STC_APDL_COMMAND = _stc.STC_APDL_COMMAND
+STC_APDL_SLASHCOMMAND = _stc.STC_APDL_SLASHCOMMAND
+STC_APDL_STARCOMMAND = _stc.STC_APDL_STARCOMMAND
+STC_APDL_ARGUMENT = _stc.STC_APDL_ARGUMENT
+STC_APDL_FUNCTION = _stc.STC_APDL_FUNCTION
+STC_SH_DEFAULT = _stc.STC_SH_DEFAULT
+STC_SH_ERROR = _stc.STC_SH_ERROR
+STC_SH_COMMENTLINE = _stc.STC_SH_COMMENTLINE
+STC_SH_NUMBER = _stc.STC_SH_NUMBER
+STC_SH_WORD = _stc.STC_SH_WORD
+STC_SH_STRING = _stc.STC_SH_STRING
+STC_SH_CHARACTER = _stc.STC_SH_CHARACTER
+STC_SH_OPERATOR = _stc.STC_SH_OPERATOR
+STC_SH_IDENTIFIER = _stc.STC_SH_IDENTIFIER
+STC_SH_SCALAR = _stc.STC_SH_SCALAR
+STC_SH_PARAM = _stc.STC_SH_PARAM
+STC_SH_BACKTICKS = _stc.STC_SH_BACKTICKS
+STC_SH_HERE_DELIM = _stc.STC_SH_HERE_DELIM
+STC_SH_HERE_Q = _stc.STC_SH_HERE_Q
+STC_ASN1_DEFAULT = _stc.STC_ASN1_DEFAULT
+STC_ASN1_COMMENT = _stc.STC_ASN1_COMMENT
+STC_ASN1_IDENTIFIER = _stc.STC_ASN1_IDENTIFIER
+STC_ASN1_STRING = _stc.STC_ASN1_STRING
+STC_ASN1_OID = _stc.STC_ASN1_OID
+STC_ASN1_SCALAR = _stc.STC_ASN1_SCALAR
+STC_ASN1_KEYWORD = _stc.STC_ASN1_KEYWORD
+STC_ASN1_ATTRIBUTE = _stc.STC_ASN1_ATTRIBUTE
+STC_ASN1_DESCRIPTOR = _stc.STC_ASN1_DESCRIPTOR
+STC_ASN1_TYPE = _stc.STC_ASN1_TYPE
+STC_ASN1_OPERATOR = _stc.STC_ASN1_OPERATOR
+STC_VHDL_DEFAULT = _stc.STC_VHDL_DEFAULT
+STC_VHDL_COMMENT = _stc.STC_VHDL_COMMENT
+STC_VHDL_COMMENTLINEBANG = _stc.STC_VHDL_COMMENTLINEBANG
+STC_VHDL_NUMBER = _stc.STC_VHDL_NUMBER
+STC_VHDL_STRING = _stc.STC_VHDL_STRING
+STC_VHDL_OPERATOR = _stc.STC_VHDL_OPERATOR
+STC_VHDL_IDENTIFIER = _stc.STC_VHDL_IDENTIFIER
+STC_VHDL_STRINGEOL = _stc.STC_VHDL_STRINGEOL
+STC_VHDL_KEYWORD = _stc.STC_VHDL_KEYWORD
+STC_VHDL_STDOPERATOR = _stc.STC_VHDL_STDOPERATOR
+STC_VHDL_ATTRIBUTE = _stc.STC_VHDL_ATTRIBUTE
+STC_VHDL_STDFUNCTION = _stc.STC_VHDL_STDFUNCTION
+STC_VHDL_STDPACKAGE = _stc.STC_VHDL_STDPACKAGE
+STC_VHDL_STDTYPE = _stc.STC_VHDL_STDTYPE
+STC_VHDL_USERWORD = _stc.STC_VHDL_USERWORD
+STC_CMD_REDO = _stc.STC_CMD_REDO
+STC_CMD_SELECTALL = _stc.STC_CMD_SELECTALL
+STC_CMD_UNDO = _stc.STC_CMD_UNDO
+STC_CMD_CUT = _stc.STC_CMD_CUT
+STC_CMD_COPY = _stc.STC_CMD_COPY
+STC_CMD_PASTE = _stc.STC_CMD_PASTE
+STC_CMD_CLEAR = _stc.STC_CMD_CLEAR
+STC_CMD_LINEDOWN = _stc.STC_CMD_LINEDOWN
+STC_CMD_LINEDOWNEXTEND = _stc.STC_CMD_LINEDOWNEXTEND
+STC_CMD_LINEUP = _stc.STC_CMD_LINEUP
+STC_CMD_LINEUPEXTEND = _stc.STC_CMD_LINEUPEXTEND
+STC_CMD_CHARLEFT = _stc.STC_CMD_CHARLEFT
+STC_CMD_CHARLEFTEXTEND = _stc.STC_CMD_CHARLEFTEXTEND
+STC_CMD_CHARRIGHT = _stc.STC_CMD_CHARRIGHT
+STC_CMD_CHARRIGHTEXTEND = _stc.STC_CMD_CHARRIGHTEXTEND
+STC_CMD_WORDLEFT = _stc.STC_CMD_WORDLEFT
+STC_CMD_WORDLEFTEXTEND = _stc.STC_CMD_WORDLEFTEXTEND
+STC_CMD_WORDRIGHT = _stc.STC_CMD_WORDRIGHT
+STC_CMD_WORDRIGHTEXTEND = _stc.STC_CMD_WORDRIGHTEXTEND
+STC_CMD_HOME = _stc.STC_CMD_HOME
+STC_CMD_HOMEEXTEND = _stc.STC_CMD_HOMEEXTEND
+STC_CMD_LINEEND = _stc.STC_CMD_LINEEND
+STC_CMD_LINEENDEXTEND = _stc.STC_CMD_LINEENDEXTEND
+STC_CMD_DOCUMENTSTART = _stc.STC_CMD_DOCUMENTSTART
+STC_CMD_DOCUMENTSTARTEXTEND = _stc.STC_CMD_DOCUMENTSTARTEXTEND
+STC_CMD_DOCUMENTEND = _stc.STC_CMD_DOCUMENTEND
+STC_CMD_DOCUMENTENDEXTEND = _stc.STC_CMD_DOCUMENTENDEXTEND
+STC_CMD_PAGEUP = _stc.STC_CMD_PAGEUP
+STC_CMD_PAGEUPEXTEND = _stc.STC_CMD_PAGEUPEXTEND
+STC_CMD_PAGEDOWN = _stc.STC_CMD_PAGEDOWN
+STC_CMD_PAGEDOWNEXTEND = _stc.STC_CMD_PAGEDOWNEXTEND
+STC_CMD_EDITTOGGLEOVERTYPE = _stc.STC_CMD_EDITTOGGLEOVERTYPE
+STC_CMD_CANCEL = _stc.STC_CMD_CANCEL
+STC_CMD_DELETEBACK = _stc.STC_CMD_DELETEBACK
+STC_CMD_TAB = _stc.STC_CMD_TAB
+STC_CMD_BACKTAB = _stc.STC_CMD_BACKTAB
+STC_CMD_NEWLINE = _stc.STC_CMD_NEWLINE
+STC_CMD_FORMFEED = _stc.STC_CMD_FORMFEED
+STC_CMD_VCHOME = _stc.STC_CMD_VCHOME
+STC_CMD_VCHOMEEXTEND = _stc.STC_CMD_VCHOMEEXTEND
+STC_CMD_ZOOMIN = _stc.STC_CMD_ZOOMIN
+STC_CMD_ZOOMOUT = _stc.STC_CMD_ZOOMOUT
+STC_CMD_DELWORDLEFT = _stc.STC_CMD_DELWORDLEFT
+STC_CMD_DELWORDRIGHT = _stc.STC_CMD_DELWORDRIGHT
+STC_CMD_LINECUT = _stc.STC_CMD_LINECUT
+STC_CMD_LINEDELETE = _stc.STC_CMD_LINEDELETE
+STC_CMD_LINETRANSPOSE = _stc.STC_CMD_LINETRANSPOSE
+STC_CMD_LINEDUPLICATE = _stc.STC_CMD_LINEDUPLICATE
+STC_CMD_LOWERCASE = _stc.STC_CMD_LOWERCASE
+STC_CMD_UPPERCASE = _stc.STC_CMD_UPPERCASE
+STC_CMD_LINESCROLLDOWN = _stc.STC_CMD_LINESCROLLDOWN
+STC_CMD_LINESCROLLUP = _stc.STC_CMD_LINESCROLLUP
+STC_CMD_DELETEBACKNOTLINE = _stc.STC_CMD_DELETEBACKNOTLINE
+STC_CMD_HOMEDISPLAY = _stc.STC_CMD_HOMEDISPLAY
+STC_CMD_HOMEDISPLAYEXTEND = _stc.STC_CMD_HOMEDISPLAYEXTEND
+STC_CMD_LINEENDDISPLAY = _stc.STC_CMD_LINEENDDISPLAY
+STC_CMD_LINEENDDISPLAYEXTEND = _stc.STC_CMD_LINEENDDISPLAYEXTEND
+STC_CMD_HOMEWRAP = _stc.STC_CMD_HOMEWRAP
+STC_CMD_HOMEWRAPEXTEND = _stc.STC_CMD_HOMEWRAPEXTEND
+STC_CMD_LINEENDWRAP = _stc.STC_CMD_LINEENDWRAP
+STC_CMD_LINEENDWRAPEXTEND = _stc.STC_CMD_LINEENDWRAPEXTEND
+STC_CMD_VCHOMEWRAP = _stc.STC_CMD_VCHOMEWRAP
+STC_CMD_VCHOMEWRAPEXTEND = _stc.STC_CMD_VCHOMEWRAPEXTEND
+STC_CMD_LINECOPY = _stc.STC_CMD_LINECOPY
+STC_CMD_WORDPARTLEFT = _stc.STC_CMD_WORDPARTLEFT
+STC_CMD_WORDPARTLEFTEXTEND = _stc.STC_CMD_WORDPARTLEFTEXTEND
+STC_CMD_WORDPARTRIGHT = _stc.STC_CMD_WORDPARTRIGHT
+STC_CMD_WORDPARTRIGHTEXTEND = _stc.STC_CMD_WORDPARTRIGHTEXTEND
+STC_CMD_DELLINELEFT = _stc.STC_CMD_DELLINELEFT
+STC_CMD_DELLINERIGHT = _stc.STC_CMD_DELLINERIGHT
+STC_CMD_PARADOWN = _stc.STC_CMD_PARADOWN
+STC_CMD_PARADOWNEXTEND = _stc.STC_CMD_PARADOWNEXTEND
+STC_CMD_PARAUP = _stc.STC_CMD_PARAUP
+STC_CMD_PARAUPEXTEND = _stc.STC_CMD_PARAUPEXTEND
+STC_CMD_LINEDOWNRECTEXTEND = _stc.STC_CMD_LINEDOWNRECTEXTEND
+STC_CMD_LINEUPRECTEXTEND = _stc.STC_CMD_LINEUPRECTEXTEND
+STC_CMD_CHARLEFTRECTEXTEND = _stc.STC_CMD_CHARLEFTRECTEXTEND
+STC_CMD_CHARRIGHTRECTEXTEND = _stc.STC_CMD_CHARRIGHTRECTEXTEND
+STC_CMD_HOMERECTEXTEND = _stc.STC_CMD_HOMERECTEXTEND
+STC_CMD_VCHOMERECTEXTEND = _stc.STC_CMD_VCHOMERECTEXTEND
+STC_CMD_LINEENDRECTEXTEND = _stc.STC_CMD_LINEENDRECTEXTEND
+STC_CMD_PAGEUPRECTEXTEND = _stc.STC_CMD_PAGEUPRECTEXTEND
+STC_CMD_PAGEDOWNRECTEXTEND = _stc.STC_CMD_PAGEDOWNRECTEXTEND
+STC_CMD_STUTTEREDPAGEUP = _stc.STC_CMD_STUTTEREDPAGEUP
+STC_CMD_STUTTEREDPAGEUPEXTEND = _stc.STC_CMD_STUTTEREDPAGEUPEXTEND
+STC_CMD_STUTTEREDPAGEDOWN = _stc.STC_CMD_STUTTEREDPAGEDOWN
+STC_CMD_STUTTEREDPAGEDOWNEXTEND = _stc.STC_CMD_STUTTEREDPAGEDOWNEXTEND
+STC_CMD_WORDLEFTEND = _stc.STC_CMD_WORDLEFTEND
+STC_CMD_WORDLEFTENDEXTEND = _stc.STC_CMD_WORDLEFTENDEXTEND
+STC_CMD_WORDRIGHTEND = _stc.STC_CMD_WORDRIGHTEND
+STC_CMD_WORDRIGHTENDEXTEND = _stc.STC_CMD_WORDRIGHTENDEXTEND
+class StyledTextCtrl(_core.Control):
+ """Proxy of C++ StyledTextCtrl class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxStyledTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """
+ __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=STCNameStr) -> StyledTextCtrl
+ """
+ newobj = _stc.new_StyledTextCtrl(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ self._setOORInfo(self)
+
+ def Create(*args, **kwargs):
+ """
+ Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
+ Size size=DefaultSize, long style=0, String name=wxSTCNameStr) -> bool
+ """
+ return _stc.StyledTextCtrl_Create(*args, **kwargs)
+
+ def AddText(*args, **kwargs):
+ """
+ AddText(self, String text)
+
+ Add text to the document at current position.
+ """
+ return _stc.StyledTextCtrl_AddText(*args, **kwargs)
+
+ def AddStyledText(*args, **kwargs):
+ """
+ AddStyledText(self, wxMemoryBuffer data)
+
+ Add array of cells to document.
+ """
+ return _stc.StyledTextCtrl_AddStyledText(*args, **kwargs)
+
+ def InsertText(*args, **kwargs):
+ """
+ InsertText(self, int pos, String text)
+
+ Insert string at a position.
+ """
+ return _stc.StyledTextCtrl_InsertText(*args, **kwargs)
+
+ def ClearAll(*args, **kwargs):
+ """
+ ClearAll(self)
+
+ Delete all text in the document.
+ """
+ return _stc.StyledTextCtrl_ClearAll(*args, **kwargs)
+
+ def ClearDocumentStyle(*args, **kwargs):
+ """
+ ClearDocumentStyle(self)
+
+ Set all style bytes to 0, remove all folding information.
+ """
+ return _stc.StyledTextCtrl_ClearDocumentStyle(*args, **kwargs)
+
+ def GetLength(*args, **kwargs):
+ """
+ GetLength(self) -> int
+
+ Returns the number of characters in the document.
+ """
+ return _stc.StyledTextCtrl_GetLength(*args, **kwargs)
+
+ def GetCharAt(*args, **kwargs):
+ """
+ GetCharAt(self, int pos) -> int
+
+ Returns the character byte at the position.
+ """
+ return _stc.StyledTextCtrl_GetCharAt(*args, **kwargs)
+
+ def GetCurrentPos(*args, **kwargs):
+ """
+ GetCurrentPos(self) -> int
+
+ Returns the position of the caret.
+ """
+ return _stc.StyledTextCtrl_GetCurrentPos(*args, **kwargs)
+
+ def GetAnchor(*args, **kwargs):
+ """
+ GetAnchor(self) -> int
+
+ Returns the position of the opposite end of the selection to the caret.
+ """
+ return _stc.StyledTextCtrl_GetAnchor(*args, **kwargs)
+
+ def GetStyleAt(*args, **kwargs):
+ """
+ GetStyleAt(self, int pos) -> int
+
+ Returns the style byte at the position.
+ """
+ return _stc.StyledTextCtrl_GetStyleAt(*args, **kwargs)
+
+ def Redo(*args, **kwargs):
+ """
+ Redo(self)
+
+ Redoes the next action on the undo history.
+ """
+ return _stc.StyledTextCtrl_Redo(*args, **kwargs)
+
+ def SetUndoCollection(*args, **kwargs):
+ """
+ SetUndoCollection(self, bool collectUndo)
+
+ Choose between collecting actions into the undo
+ history and discarding them.
+ """
+ return _stc.StyledTextCtrl_SetUndoCollection(*args, **kwargs)
+
+ def SelectAll(*args, **kwargs):
+ """
+ SelectAll(self)
+
+ Select all the text in the document.
+ """
+ return _stc.StyledTextCtrl_SelectAll(*args, **kwargs)
+
+ def SetSavePoint(*args, **kwargs):
+ """
+ SetSavePoint(self)
+
+ Remember the current position in the undo history as the position
+ at which the document was saved.
+ """
+ return _stc.StyledTextCtrl_SetSavePoint(*args, **kwargs)
+
+ def GetStyledText(*args, **kwargs):
+ """
+ GetStyledText(self, int startPos, int endPos) -> wxMemoryBuffer
+
+ Retrieve a buffer of cells.
+ """
+ return _stc.StyledTextCtrl_GetStyledText(*args, **kwargs)
+
+ def CanRedo(*args, **kwargs):
+ """
+ CanRedo(self) -> bool
+
+ Are there any redoable actions in the undo history?
+ """
+ return _stc.StyledTextCtrl_CanRedo(*args, **kwargs)
+
+ def MarkerLineFromHandle(*args, **kwargs):
+ """
+ MarkerLineFromHandle(self, int handle) -> int
+
+ Retrieve the line number at which a particular marker is located.
+ """
+ return _stc.StyledTextCtrl_MarkerLineFromHandle(*args, **kwargs)
+
+ def MarkerDeleteHandle(*args, **kwargs):
+ """
+ MarkerDeleteHandle(self, int handle)
+
+ Delete a marker.
+ """
+ return _stc.StyledTextCtrl_MarkerDeleteHandle(*args, **kwargs)
+
+ def GetUndoCollection(*args, **kwargs):
+ """
+ GetUndoCollection(self) -> bool
+
+ Is undo history being collected?
+ """
+ return _stc.StyledTextCtrl_GetUndoCollection(*args, **kwargs)
+
+ def GetViewWhiteSpace(*args, **kwargs):
+ """
+ GetViewWhiteSpace(self) -> int
+
+ Are white space characters currently visible?
+ Returns one of SCWS_* constants.
+ """
+ return _stc.StyledTextCtrl_GetViewWhiteSpace(*args, **kwargs)
+
+ def SetViewWhiteSpace(*args, **kwargs):
+ """
+ SetViewWhiteSpace(self, int viewWS)
+
+ Make white space characters invisible, always visible or visible outside indentation.
+ """
+ return _stc.StyledTextCtrl_SetViewWhiteSpace(*args, **kwargs)
+
+ def PositionFromPoint(*args, **kwargs):
+ """
+ PositionFromPoint(self, Point pt) -> int
+
+ Find the position from a point within the window.
+ """
+ return _stc.StyledTextCtrl_PositionFromPoint(*args, **kwargs)
+
+ def PositionFromPointClose(*args, **kwargs):
+ """
+ PositionFromPointClose(self, int x, int y) -> int
+
+ Find the position from a point within the window but return
+ INVALID_POSITION if not close to text.
+ """
+ return _stc.StyledTextCtrl_PositionFromPointClose(*args, **kwargs)
+
+ def GotoLine(*args, **kwargs):
+ """
+ GotoLine(self, int line)
+
+ Set caret to start of a line and ensure it is visible.
+ """
+ return _stc.StyledTextCtrl_GotoLine(*args, **kwargs)
+
+ def GotoPos(*args, **kwargs):
+ """
+ GotoPos(self, int pos)
+
+ Set caret to a position and ensure it is visible.
+ """
+ return _stc.StyledTextCtrl_GotoPos(*args, **kwargs)
+
+ def SetAnchor(*args, **kwargs):
+ """
+ SetAnchor(self, int posAnchor)
+
+ Set the selection anchor to a position. The anchor is the opposite
+ end of the selection from the caret.
+ """
+ return _stc.StyledTextCtrl_SetAnchor(*args, **kwargs)
+
+ def GetCurLine(*args, **kwargs):
+ """
+ GetCurLine(self) -> (text, pos)
+
+ Retrieve the text of the line containing the caret, and also theindex
+ of the caret on the line.
+ """
+ return _stc.StyledTextCtrl_GetCurLine(*args, **kwargs)
+
+ def GetEndStyled(*args, **kwargs):
+ """
+ GetEndStyled(self) -> int
+
+ Retrieve the position of the last correctly styled character.
+ """
+ return _stc.StyledTextCtrl_GetEndStyled(*args, **kwargs)
+
+ def ConvertEOLs(*args, **kwargs):
+ """
+ ConvertEOLs(self, int eolMode)
+
+ Convert all line endings in the document to one mode.
+ """
+ return _stc.StyledTextCtrl_ConvertEOLs(*args, **kwargs)
+
+ def GetEOLMode(*args, **kwargs):
+ """
+ GetEOLMode(self) -> int
+
+ Retrieve the current end of line mode - one of CRLF, CR, or LF.
+ """
+ return _stc.StyledTextCtrl_GetEOLMode(*args, **kwargs)
+
+ def SetEOLMode(*args, **kwargs):
+ """
+ SetEOLMode(self, int eolMode)
+
+ Set the current end of line mode.
+ """
+ return _stc.StyledTextCtrl_SetEOLMode(*args, **kwargs)
+
+ def StartStyling(*args, **kwargs):
+ """
+ StartStyling(self, int pos, int mask)
+
+ Set the current styling position to pos and the styling mask to mask.
+ The styling mask can be used to protect some bits in each styling byte from modification.
+ """
+ return _stc.StyledTextCtrl_StartStyling(*args, **kwargs)
+
+ def SetStyling(*args, **kwargs):
+ """
+ SetStyling(self, int length, int style)
+
+ Change style from current styling position for length characters to a style
+ and move the current styling position to after this newly styled segment.
+ """
+ return _stc.StyledTextCtrl_SetStyling(*args, **kwargs)
+
+ def GetBufferedDraw(*args, **kwargs):
+ """
+ GetBufferedDraw(self) -> bool
+
+ Is drawing done first into a buffer or direct to the screen?
+ """
+ return _stc.StyledTextCtrl_GetBufferedDraw(*args, **kwargs)
+
+ def SetBufferedDraw(*args, **kwargs):
+ """
+ SetBufferedDraw(self, bool buffered)
+
+ If drawing is buffered then each line of text is drawn into a bitmap buffer
+ before drawing it to the screen to avoid flicker.
+ """
+ return _stc.StyledTextCtrl_SetBufferedDraw(*args, **kwargs)
+
+ def SetTabWidth(*args, **kwargs):
+ """
+ SetTabWidth(self, int tabWidth)
+
+ Change the visible size of a tab to be a multiple of the width of a space character.
+ """
+ return _stc.StyledTextCtrl_SetTabWidth(*args, **kwargs)
+
+ def GetTabWidth(*args, **kwargs):
+ """
+ GetTabWidth(self) -> int
+
+ Retrieve the visible size of a tab.
+ """
+ return _stc.StyledTextCtrl_GetTabWidth(*args, **kwargs)
+
+ def SetCodePage(*args, **kwargs):
+ """
+ SetCodePage(self, int codePage)
+
+ Set the code page used to interpret the bytes of the document as characters.
+ """
+ return _stc.StyledTextCtrl_SetCodePage(*args, **kwargs)
+
+ def MarkerDefine(*args, **kwargs):
+ """
+ MarkerDefine(self, int markerNumber, int markerSymbol, Colour foreground=wxNullColour,
+ Colour background=wxNullColour)
+
+ Set the symbol used for a particular marker number,
+ and optionally the fore and background colours.
+ """
+ return _stc.StyledTextCtrl_MarkerDefine(*args, **kwargs)
+
+ def MarkerSetForeground(*args, **kwargs):
+ """
+ MarkerSetForeground(self, int markerNumber, Colour fore)
+
+ Set the foreground colour used for a particular marker number.
+ """
+ return _stc.StyledTextCtrl_MarkerSetForeground(*args, **kwargs)
+
+ def MarkerSetBackground(*args, **kwargs):
+ """
+ MarkerSetBackground(self, int markerNumber, Colour back)
+
+ Set the background colour used for a particular marker number.
+ """
+ return _stc.StyledTextCtrl_MarkerSetBackground(*args, **kwargs)
+
+ def MarkerAdd(*args, **kwargs):
+ """
+ MarkerAdd(self, int line, int markerNumber) -> int
+
+ Add a marker to a line, returning an ID which can be used to find or delete the marker.
+ """
+ return _stc.StyledTextCtrl_MarkerAdd(*args, **kwargs)
+
+ def MarkerDelete(*args, **kwargs):
+ """
+ MarkerDelete(self, int line, int markerNumber)
+
+ Delete a marker from a line.
+ """
+ return _stc.StyledTextCtrl_MarkerDelete(*args, **kwargs)
+
+ def MarkerDeleteAll(*args, **kwargs):
+ """
+ MarkerDeleteAll(self, int markerNumber)
+
+ Delete all markers with a particular number from all lines.
+ """
+ return _stc.StyledTextCtrl_MarkerDeleteAll(*args, **kwargs)
+
+ def MarkerGet(*args, **kwargs):
+ """
+ MarkerGet(self, int line) -> int
+
+ Get a bit mask of all the markers set on a line.
+ """
+ return _stc.StyledTextCtrl_MarkerGet(*args, **kwargs)
+
+ def MarkerNext(*args, **kwargs):
+ """
+ MarkerNext(self, int lineStart, int markerMask) -> int
+
+ Find the next line after lineStart that includes a marker in mask.
+ """
+ return _stc.StyledTextCtrl_MarkerNext(*args, **kwargs)
+
+ def MarkerPrevious(*args, **kwargs):
+ """
+ MarkerPrevious(self, int lineStart, int markerMask) -> int
+
+ Find the previous line before lineStart that includes a marker in mask.
+ """
+ return _stc.StyledTextCtrl_MarkerPrevious(*args, **kwargs)
+
+ def MarkerDefineBitmap(*args, **kwargs):
+ """
+ MarkerDefineBitmap(self, int markerNumber, Bitmap bmp)
+
+ Define a marker from a bitmap
+ """
+ return _stc.StyledTextCtrl_MarkerDefineBitmap(*args, **kwargs)
+
+ def SetMarginType(*args, **kwargs):
+ """
+ SetMarginType(self, int margin, int marginType)
+
+ Set a margin to be either numeric or symbolic.
+ """
+ return _stc.StyledTextCtrl_SetMarginType(*args, **kwargs)
+
+ def GetMarginType(*args, **kwargs):
+ """
+ GetMarginType(self, int margin) -> int
+
+ Retrieve the type of a margin.
+ """
+ return _stc.StyledTextCtrl_GetMarginType(*args, **kwargs)
+
+ def SetMarginWidth(*args, **kwargs):
+ """
+ SetMarginWidth(self, int margin, int pixelWidth)
+
+ Set the width of a margin to a width expressed in pixels.
+ """
+ return _stc.StyledTextCtrl_SetMarginWidth(*args, **kwargs)
+
+ def GetMarginWidth(*args, **kwargs):
+ """
+ GetMarginWidth(self, int margin) -> int
+
+ Retrieve the width of a margin in pixels.
+ """
+ return _stc.StyledTextCtrl_GetMarginWidth(*args, **kwargs)
+
+ def SetMarginMask(*args, **kwargs):
+ """
+ SetMarginMask(self, int margin, int mask)
+
+ Set a mask that determines which markers are displayed in a margin.
+ """
+ return _stc.StyledTextCtrl_SetMarginMask(*args, **kwargs)
+
+ def GetMarginMask(*args, **kwargs):
+ """
+ GetMarginMask(self, int margin) -> int
+
+ Retrieve the marker mask of a margin.
+ """
+ return _stc.StyledTextCtrl_GetMarginMask(*args, **kwargs)
+
+ def SetMarginSensitive(*args, **kwargs):
+ """
+ SetMarginSensitive(self, int margin, bool sensitive)
+
+ Make a margin sensitive or insensitive to mouse clicks.
+ """
+ return _stc.StyledTextCtrl_SetMarginSensitive(*args, **kwargs)
+
+ def GetMarginSensitive(*args, **kwargs):
+ """
+ GetMarginSensitive(self, int margin) -> bool
+
+ Retrieve the mouse click sensitivity of a margin.
+ """
+ return _stc.StyledTextCtrl_GetMarginSensitive(*args, **kwargs)
+
+ def StyleClearAll(*args, **kwargs):
+ """
+ StyleClearAll(self)
+
+ Clear all the styles and make equivalent to the global default style.
+ """
+ return _stc.StyledTextCtrl_StyleClearAll(*args, **kwargs)
+
+ def StyleSetForeground(*args, **kwargs):
+ """
+ StyleSetForeground(self, int style, Colour fore)
+
+ Set the foreground colour of a style.
+ """
+ return _stc.StyledTextCtrl_StyleSetForeground(*args, **kwargs)
+
+ def StyleSetBackground(*args, **kwargs):
+ """
+ StyleSetBackground(self, int style, Colour back)
+
+ Set the background colour of a style.
+ """
+ return _stc.StyledTextCtrl_StyleSetBackground(*args, **kwargs)
+
+ def StyleSetBold(*args, **kwargs):
+ """
+ StyleSetBold(self, int style, bool bold)
+
+ Set a style to be bold or not.
+ """
+ return _stc.StyledTextCtrl_StyleSetBold(*args, **kwargs)
+
+ def StyleSetItalic(*args, **kwargs):
+ """
+ StyleSetItalic(self, int style, bool italic)
+
+ Set a style to be italic or not.
+ """
+ return _stc.StyledTextCtrl_StyleSetItalic(*args, **kwargs)
+
+ def StyleSetSize(*args, **kwargs):
+ """
+ StyleSetSize(self, int style, int sizePoints)
+
+ Set the size of characters of a style.
+ """
+ return _stc.StyledTextCtrl_StyleSetSize(*args, **kwargs)
+
+ def StyleSetFaceName(*args, **kwargs):
+ """
+ StyleSetFaceName(self, int style, String fontName)
+
+ Set the font of a style.
+ """
+ return _stc.StyledTextCtrl_StyleSetFaceName(*args, **kwargs)
+
+ def StyleSetEOLFilled(*args, **kwargs):
+ """
+ StyleSetEOLFilled(self, int style, bool filled)
+
+ Set a style to have its end of line filled or not.
+ """
+ return _stc.StyledTextCtrl_StyleSetEOLFilled(*args, **kwargs)
+
+ def StyleResetDefault(*args, **kwargs):
+ """
+ StyleResetDefault(self)
+
+ Reset the default style to its state at startup
+ """
+ return _stc.StyledTextCtrl_StyleResetDefault(*args, **kwargs)
+
+ def StyleSetUnderline(*args, **kwargs):
+ """
+ StyleSetUnderline(self, int style, bool underline)
+
+ Set a style to be underlined or not.
+ """
+ return _stc.StyledTextCtrl_StyleSetUnderline(*args, **kwargs)
+
+ def StyleSetCase(*args, **kwargs):
+ """
+ StyleSetCase(self, int style, int caseForce)
+
+ Set a style to be mixed case, or to force upper or lower case.
+ """
+ return _stc.StyledTextCtrl_StyleSetCase(*args, **kwargs)
+
+ def StyleSetHotSpot(*args, **kwargs):
+ """
+ StyleSetHotSpot(self, int style, bool hotspot)
+
+ Set a style to be a hotspot or not.
+ """
+ return _stc.StyledTextCtrl_StyleSetHotSpot(*args, **kwargs)
+
+ def SetSelForeground(*args, **kwargs):
+ """
+ SetSelForeground(self, bool useSetting, Colour fore)
+
+ Set the foreground colour of the selection and whether to use this setting.
+ """
+ return _stc.StyledTextCtrl_SetSelForeground(*args, **kwargs)
+
+ def SetSelBackground(*args, **kwargs):
+ """
+ SetSelBackground(self, bool useSetting, Colour back)
+
+ Set the background colour of the selection and whether to use this setting.
+ """
+ return _stc.StyledTextCtrl_SetSelBackground(*args, **kwargs)
+
+ def SetCaretForeground(*args, **kwargs):
+ """
+ SetCaretForeground(self, Colour fore)
+
+ Set the foreground colour of the caret.
+ """
+ return _stc.StyledTextCtrl_SetCaretForeground(*args, **kwargs)
+
+ def CmdKeyAssign(*args, **kwargs):
+ """
+ CmdKeyAssign(self, int key, int modifiers, int cmd)
+
+ When key+modifier combination km is pressed perform msg.
+ """
+ return _stc.StyledTextCtrl_CmdKeyAssign(*args, **kwargs)
+
+ def CmdKeyClear(*args, **kwargs):
+ """
+ CmdKeyClear(self, int key, int modifiers)
+
+ When key+modifier combination km is pressed do nothing.
+ """
+ return _stc.StyledTextCtrl_CmdKeyClear(*args, **kwargs)
+
+ def CmdKeyClearAll(*args, **kwargs):
+ """
+ CmdKeyClearAll(self)
+
+ Drop all key mappings.
+ """
+ return _stc.StyledTextCtrl_CmdKeyClearAll(*args, **kwargs)
+
+ def SetStyleBytes(*args, **kwargs):
+ """
+ SetStyleBytes(self, int length, char styleBytes)
+
+ Set the styles for a segment of the document.
+ """
+ return _stc.StyledTextCtrl_SetStyleBytes(*args, **kwargs)
+
+ def StyleSetVisible(*args, **kwargs):
+ """
+ StyleSetVisible(self, int style, bool visible)
+
+ Set a style to be visible or not.
+ """
+ return _stc.StyledTextCtrl_StyleSetVisible(*args, **kwargs)
+
+ def GetCaretPeriod(*args, **kwargs):
+ """
+ GetCaretPeriod(self) -> int
+
+ Get the time in milliseconds that the caret is on and off.
+ """
+ return _stc.StyledTextCtrl_GetCaretPeriod(*args, **kwargs)
+
+ def SetCaretPeriod(*args, **kwargs):
+ """
+ SetCaretPeriod(self, int periodMilliseconds)
+
+ Get the time in milliseconds that the caret is on and off. 0 = steady on.
+ """
+ return _stc.StyledTextCtrl_SetCaretPeriod(*args, **kwargs)
+
+ def SetWordChars(*args, **kwargs):
+ """
+ SetWordChars(self, String characters)
+
+ Set the set of characters making up words for when moving or selecting by word.
+ First sets deaults like SetCharsDefault.
+ """
+ return _stc.StyledTextCtrl_SetWordChars(*args, **kwargs)
+
+ def BeginUndoAction(*args, **kwargs):
+ """
+ BeginUndoAction(self)
+
+ Start a sequence of actions that is undone and redone as a unit.
+ May be nested.
+ """
+ return _stc.StyledTextCtrl_BeginUndoAction(*args, **kwargs)
+
+ def EndUndoAction(*args, **kwargs):
+ """
+ EndUndoAction(self)
+
+ End a sequence of actions that is undone and redone as a unit.
+ """
+ return _stc.StyledTextCtrl_EndUndoAction(*args, **kwargs)
+
+ def IndicatorSetStyle(*args, **kwargs):
+ """
+ IndicatorSetStyle(self, int indic, int style)
+
+ Set an indicator to plain, squiggle or TT.
+ """
+ return _stc.StyledTextCtrl_IndicatorSetStyle(*args, **kwargs)
+
+ def IndicatorGetStyle(*args, **kwargs):
+ """
+ IndicatorGetStyle(self, int indic) -> int
+
+ Retrieve the style of an indicator.
+ """
+ return _stc.StyledTextCtrl_IndicatorGetStyle(*args, **kwargs)
+
+ def IndicatorSetForeground(*args, **kwargs):
+ """
+ IndicatorSetForeground(self, int indic, Colour fore)
+
+ Set the foreground colour of an indicator.
+ """
+ return _stc.StyledTextCtrl_IndicatorSetForeground(*args, **kwargs)
+
+ def IndicatorGetForeground(*args, **kwargs):
+ """
+ IndicatorGetForeground(self, int indic) -> Colour
+
+ Retrieve the foreground colour of an indicator.
+ """
+ return _stc.StyledTextCtrl_IndicatorGetForeground(*args, **kwargs)
+
+ def SetWhitespaceForeground(*args, **kwargs):
+ """
+ SetWhitespaceForeground(self, bool useSetting, Colour fore)
+
+ Set the foreground colour of all whitespace and whether to use this setting.
+ """
+ return _stc.StyledTextCtrl_SetWhitespaceForeground(*args, **kwargs)
+
+ def SetWhitespaceBackground(*args, **kwargs):
+ """
+ SetWhitespaceBackground(self, bool useSetting, Colour back)
+
+ Set the background colour of all whitespace and whether to use this setting.
+ """
+ return _stc.StyledTextCtrl_SetWhitespaceBackground(*args, **kwargs)
+
+ def SetStyleBits(*args, **kwargs):
+ """
+ SetStyleBits(self, int bits)
+
+ Divide each styling byte into lexical class bits (default: 5) and indicator
+ bits (default: 3). If a lexer requires more than 32 lexical states, then this
+ is used to expand the possible states.
+ """
+ return _stc.StyledTextCtrl_SetStyleBits(*args, **kwargs)
+
+ def GetStyleBits(*args, **kwargs):
+ """
+ GetStyleBits(self) -> int
+
+ Retrieve number of bits in style bytes used to hold the lexical state.
+ """
+ return _stc.StyledTextCtrl_GetStyleBits(*args, **kwargs)
+
+ def SetLineState(*args, **kwargs):
+ """
+ SetLineState(self, int line, int state)
+
+ Used to hold extra styling information for each line.
+ """
+ return _stc.StyledTextCtrl_SetLineState(*args, **kwargs)
+
+ def GetLineState(*args, **kwargs):
+ """
+ GetLineState(self, int line) -> int
+
+ Retrieve the extra styling information for a line.
+ """
+ return _stc.StyledTextCtrl_GetLineState(*args, **kwargs)
+
+ def GetMaxLineState(*args, **kwargs):
+ """
+ GetMaxLineState(self) -> int
+
+ Retrieve the last line number that has line state.
+ """
+ return _stc.StyledTextCtrl_GetMaxLineState(*args, **kwargs)
+
+ def GetCaretLineVisible(*args, **kwargs):
+ """
+ GetCaretLineVisible(self) -> bool
+
+ Is the background of the line containing the caret in a different colour?
+ """
+ return _stc.StyledTextCtrl_GetCaretLineVisible(*args, **kwargs)
+
+ def SetCaretLineVisible(*args, **kwargs):
+ """
+ SetCaretLineVisible(self, bool show)
+
+ Display the background of the line containing the caret in a different colour.
+ """
+ return _stc.StyledTextCtrl_SetCaretLineVisible(*args, **kwargs)
+
+ def GetCaretLineBack(*args, **kwargs):
+ """
+ GetCaretLineBack(self) -> Colour
+
+ Get the colour of the background of the line containing the caret.
+ """
+ return _stc.StyledTextCtrl_GetCaretLineBack(*args, **kwargs)
+
+ def SetCaretLineBack(*args, **kwargs):
+ """
+ SetCaretLineBack(self, Colour back)
+
+ Set the colour of the background of the line containing the caret.
+ """
+ return _stc.StyledTextCtrl_SetCaretLineBack(*args, **kwargs)
+
+ def StyleSetChangeable(*args, **kwargs):
+ """
+ StyleSetChangeable(self, int style, bool changeable)
+
+ Set a style to be changeable or not (read only).
+ Experimental feature, currently buggy.
+ """
+ return _stc.StyledTextCtrl_StyleSetChangeable(*args, **kwargs)
+
+ def AutoCompShow(*args, **kwargs):
+ """
+ AutoCompShow(self, int lenEntered, String itemList)
+
+ Display a auto-completion list.
+ The lenEntered parameter indicates how many characters before
+ the caret should be used to provide context.
+ """
+ return _stc.StyledTextCtrl_AutoCompShow(*args, **kwargs)
+
+ def AutoCompCancel(*args, **kwargs):
+ """
+ AutoCompCancel(self)
+
+ Remove the auto-completion list from the screen.
+ """
+ return _stc.StyledTextCtrl_AutoCompCancel(*args, **kwargs)
+
+ def AutoCompActive(*args, **kwargs):
+ """
+ AutoCompActive(self) -> bool
+
+ Is there an auto-completion list visible?
+ """
+ return _stc.StyledTextCtrl_AutoCompActive(*args, **kwargs)
+
+ def AutoCompPosStart(*args, **kwargs):
+ """
+ AutoCompPosStart(self) -> int
+
+ Retrieve the position of the caret when the auto-completion list was displayed.
+ """
+ return _stc.StyledTextCtrl_AutoCompPosStart(*args, **kwargs)
+
+ def AutoCompComplete(*args, **kwargs):
+ """
+ AutoCompComplete(self)
+
+ User has selected an item so remove the list and insert the selection.
+ """
+ return _stc.StyledTextCtrl_AutoCompComplete(*args, **kwargs)
+
+ def AutoCompStops(*args, **kwargs):
+ """
+ AutoCompStops(self, String characterSet)
+
+ Define a set of character that when typed cancel the auto-completion list.
+ """
+ return _stc.StyledTextCtrl_AutoCompStops(*args, **kwargs)
+
+ def AutoCompSetSeparator(*args, **kwargs):
+ """
+ AutoCompSetSeparator(self, int separatorCharacter)
+
+ Change the separator character in the string setting up an auto-completion list.
+ Default is space but can be changed if items contain space.
+ """
+ return _stc.StyledTextCtrl_AutoCompSetSeparator(*args, **kwargs)
+
+ def AutoCompGetSeparator(*args, **kwargs):
+ """
+ AutoCompGetSeparator(self) -> int
+
+ Retrieve the auto-completion list separator character.
+ """
+ return _stc.StyledTextCtrl_AutoCompGetSeparator(*args, **kwargs)
+
+ def AutoCompSelect(*args, **kwargs):
+ """
+ AutoCompSelect(self, String text)
+
+ Select the item in the auto-completion list that starts with a string.
+ """
+ return _stc.StyledTextCtrl_AutoCompSelect(*args, **kwargs)
+
+ def AutoCompSetCancelAtStart(*args, **kwargs):
+ """
+ AutoCompSetCancelAtStart(self, bool cancel)
+
+ Should the auto-completion list be cancelled if the user backspaces to a
+ position before where the box was created.
+ """
+ return _stc.StyledTextCtrl_AutoCompSetCancelAtStart(*args, **kwargs)
+
+ def AutoCompGetCancelAtStart(*args, **kwargs):
+ """
+ AutoCompGetCancelAtStart(self) -> bool
+
+ Retrieve whether auto-completion cancelled by backspacing before start.
+ """
+ return _stc.StyledTextCtrl_AutoCompGetCancelAtStart(*args, **kwargs)
+
+ def AutoCompSetFillUps(*args, **kwargs):
+ """
+ AutoCompSetFillUps(self, String characterSet)
+
+ Define a set of characters that when typed will cause the autocompletion to
+ choose the selected item.
+ """
+ return _stc.StyledTextCtrl_AutoCompSetFillUps(*args, **kwargs)
+
+ def AutoCompSetChooseSingle(*args, **kwargs):
+ """
+ AutoCompSetChooseSingle(self, bool chooseSingle)
+
+ Should a single item auto-completion list automatically choose the item.
+ """
+ return _stc.StyledTextCtrl_AutoCompSetChooseSingle(*args, **kwargs)
+
+ def AutoCompGetChooseSingle(*args, **kwargs):
+ """
+ AutoCompGetChooseSingle(self) -> bool
+
+ Retrieve whether a single item auto-completion list automatically choose the item.
+ """
+ return _stc.StyledTextCtrl_AutoCompGetChooseSingle(*args, **kwargs)
+
+ def AutoCompSetIgnoreCase(*args, **kwargs):
+ """
+ AutoCompSetIgnoreCase(self, bool ignoreCase)
+
+ Set whether case is significant when performing auto-completion searches.
+ """
+ return _stc.StyledTextCtrl_AutoCompSetIgnoreCase(*args, **kwargs)
+
+ def AutoCompGetIgnoreCase(*args, **kwargs):
+ """
+ AutoCompGetIgnoreCase(self) -> bool
+
+ Retrieve state of ignore case flag.
+ """
+ return _stc.StyledTextCtrl_AutoCompGetIgnoreCase(*args, **kwargs)
+
+ def UserListShow(*args, **kwargs):
+ """
+ UserListShow(self, int listType, String itemList)
+
+ Display a list of strings and send notification when user chooses one.
+ """
+ return _stc.StyledTextCtrl_UserListShow(*args, **kwargs)
+
+ def AutoCompSetAutoHide(*args, **kwargs):
+ """
+ AutoCompSetAutoHide(self, bool autoHide)
+
+ Set whether or not autocompletion is hidden automatically when nothing matches.
+ """
+ return _stc.StyledTextCtrl_AutoCompSetAutoHide(*args, **kwargs)
+
+ def AutoCompGetAutoHide(*args, **kwargs):
+ """
+ AutoCompGetAutoHide(self) -> bool
+
+ Retrieve whether or not autocompletion is hidden automatically when nothing matches.
+ """
+ return _stc.StyledTextCtrl_AutoCompGetAutoHide(*args, **kwargs)
+
+ def AutoCompSetDropRestOfWord(*args, **kwargs):
+ """
+ AutoCompSetDropRestOfWord(self, bool dropRestOfWord)
+
+ Set whether or not autocompletion deletes any word characters
+ after the inserted text upon completion.
+ """
+ return _stc.StyledTextCtrl_AutoCompSetDropRestOfWord(*args, **kwargs)
+
+ def AutoCompGetDropRestOfWord(*args, **kwargs):
+ """
+ AutoCompGetDropRestOfWord(self) -> bool
+
+ Retrieve whether or not autocompletion deletes any word characters
+ after the inserted text upon completion.
+ """
+ return _stc.StyledTextCtrl_AutoCompGetDropRestOfWord(*args, **kwargs)
+
+ def RegisterImage(*args, **kwargs):
+ """
+ RegisterImage(self, int type, Bitmap bmp)
+
+ Register an image for use in autocompletion lists.
+ """
+ return _stc.StyledTextCtrl_RegisterImage(*args, **kwargs)
+
+ def ClearRegisteredImages(*args, **kwargs):
+ """
+ ClearRegisteredImages(self)
+
+ Clear all the registered images.
+ """
+ return _stc.StyledTextCtrl_ClearRegisteredImages(*args, **kwargs)
+
+ def AutoCompGetTypeSeparator(*args, **kwargs):
+ """
+ AutoCompGetTypeSeparator(self) -> int
+
+ Retrieve the auto-completion list type-separator character.
+ """
+ return _stc.StyledTextCtrl_AutoCompGetTypeSeparator(*args, **kwargs)
+
+ def AutoCompSetTypeSeparator(*args, **kwargs):
+ """
+ AutoCompSetTypeSeparator(self, int separatorCharacter)
+
+ Change the type-separator character in the string setting up an auto-completion list.
+ Default is '?' but can be changed if items contain '?'.
+ """
+ return _stc.StyledTextCtrl_AutoCompSetTypeSeparator(*args, **kwargs)
+
+ def SetIndent(*args, **kwargs):
+ """
+ SetIndent(self, int indentSize)
+
+ Set the number of spaces used for one level of indentation.
+ """
+ return _stc.StyledTextCtrl_SetIndent(*args, **kwargs)
+
+ def GetIndent(*args, **kwargs):
+ """
+ GetIndent(self) -> int
+
+ Retrieve indentation size.
+ """
+ return _stc.StyledTextCtrl_GetIndent(*args, **kwargs)
+
+ def SetUseTabs(*args, **kwargs):
+ """
+ SetUseTabs(self, bool useTabs)
+
+ Indentation will only use space characters if useTabs is false, otherwise
+ it will use a combination of tabs and spaces.
+ """
+ return _stc.StyledTextCtrl_SetUseTabs(*args, **kwargs)
+
+ def GetUseTabs(*args, **kwargs):
+ """
+ GetUseTabs(self) -> bool
+
+ Retrieve whether tabs will be used in indentation.
+ """
+ return _stc.StyledTextCtrl_GetUseTabs(*args, **kwargs)
+
+ def SetLineIndentation(*args, **kwargs):
+ """
+ SetLineIndentation(self, int line, int indentSize)
+
+ Change the indentation of a line to a number of columns.
+ """
+ return _stc.StyledTextCtrl_SetLineIndentation(*args, **kwargs)
+
+ def GetLineIndentation(*args, **kwargs):
+ """
+ GetLineIndentation(self, int line) -> int
+
+ Retrieve the number of columns that a line is indented.
+ """
+ return _stc.StyledTextCtrl_GetLineIndentation(*args, **kwargs)
+
+ def GetLineIndentPosition(*args, **kwargs):
+ """
+ GetLineIndentPosition(self, int line) -> int
+
+ Retrieve the position before the first non indentation character on a line.
+ """
+ return _stc.StyledTextCtrl_GetLineIndentPosition(*args, **kwargs)
+
+ def GetColumn(*args, **kwargs):
+ """
+ GetColumn(self, int pos) -> int
+
+ Retrieve the column number of a position, taking tab width into account.
+ """
+ return _stc.StyledTextCtrl_GetColumn(*args, **kwargs)
+
+ def SetUseHorizontalScrollBar(*args, **kwargs):
+ """
+ SetUseHorizontalScrollBar(self, bool show)
+
+ Show or hide the horizontal scroll bar.
+ """
+ return _stc.StyledTextCtrl_SetUseHorizontalScrollBar(*args, **kwargs)
+
+ def GetUseHorizontalScrollBar(*args, **kwargs):
+ """
+ GetUseHorizontalScrollBar(self) -> bool
+
+ Is the horizontal scroll bar visible?
+ """
+ return _stc.StyledTextCtrl_GetUseHorizontalScrollBar(*args, **kwargs)
+
+ def SetIndentationGuides(*args, **kwargs):
+ """
+ SetIndentationGuides(self, bool show)
+
+ Show or hide indentation guides.
+ """
+ return _stc.StyledTextCtrl_SetIndentationGuides(*args, **kwargs)
+
+ def GetIndentationGuides(*args, **kwargs):
+ """
+ GetIndentationGuides(self) -> bool
+
+ Are the indentation guides visible?
+ """
+ return _stc.StyledTextCtrl_GetIndentationGuides(*args, **kwargs)
+
+ def SetHighlightGuide(*args, **kwargs):
+ """
+ SetHighlightGuide(self, int column)
+
+ Set the highlighted indentation guide column.
+ 0 = no highlighted guide.
+ """
+ return _stc.StyledTextCtrl_SetHighlightGuide(*args, **kwargs)
+
+ def GetHighlightGuide(*args, **kwargs):
+ """
+ GetHighlightGuide(self) -> int
+
+ Get the highlighted indentation guide column.
+ """
+ return _stc.StyledTextCtrl_GetHighlightGuide(*args, **kwargs)
+
+ def GetLineEndPosition(*args, **kwargs):
+ """
+ GetLineEndPosition(self, int line) -> int
+
+ Get the position after the last visible characters on a line.
+ """
+ return _stc.StyledTextCtrl_GetLineEndPosition(*args, **kwargs)
+
+ def GetCodePage(*args, **kwargs):
+ """
+ GetCodePage(self) -> int
+
+ Get the code page used to interpret the bytes of the document as characters.
+ """
+ return _stc.StyledTextCtrl_GetCodePage(*args, **kwargs)
+
+ def GetCaretForeground(*args, **kwargs):
+ """
+ GetCaretForeground(self) -> Colour
+
+ Get the foreground colour of the caret.
+ """
+ return _stc.StyledTextCtrl_GetCaretForeground(*args, **kwargs)
+
+ def GetReadOnly(*args, **kwargs):
+ """
+ GetReadOnly(self) -> bool
+
+ In read-only mode?
+ """
+ return _stc.StyledTextCtrl_GetReadOnly(*args, **kwargs)
+
+ def SetCurrentPos(*args, **kwargs):
+ """
+ SetCurrentPos(self, int pos)
+
+ Sets the position of the caret.
+ """
+ return _stc.StyledTextCtrl_SetCurrentPos(*args, **kwargs)
+
+ def SetSelectionStart(*args, **kwargs):
+ """
+ SetSelectionStart(self, int pos)
+
+ Sets the position that starts the selection - this becomes the anchor.
+ """
+ return _stc.StyledTextCtrl_SetSelectionStart(*args, **kwargs)
+
+ def GetSelectionStart(*args, **kwargs):
+ """
+ GetSelectionStart(self) -> int
+
+ Returns the position at the start of the selection.
+ """
+ return _stc.StyledTextCtrl_GetSelectionStart(*args, **kwargs)
+
+ def SetSelectionEnd(*args, **kwargs):
+ """
+ SetSelectionEnd(self, int pos)
+
+ Sets the position that ends the selection - this becomes the currentPosition.
+ """
+ return _stc.StyledTextCtrl_SetSelectionEnd(*args, **kwargs)
+
+ def GetSelectionEnd(*args, **kwargs):
+ """
+ GetSelectionEnd(self) -> int
+
+ Returns the position at the end of the selection.
+ """
+ return _stc.StyledTextCtrl_GetSelectionEnd(*args, **kwargs)
+
+ def SetPrintMagnification(*args, **kwargs):
+ """
+ SetPrintMagnification(self, int magnification)
+
+ Sets the print magnification added to the point size of each style for printing.
+ """
+ return _stc.StyledTextCtrl_SetPrintMagnification(*args, **kwargs)
+
+ def GetPrintMagnification(*args, **kwargs):
+ """
+ GetPrintMagnification(self) -> int
+
+ Returns the print magnification.
+ """
+ return _stc.StyledTextCtrl_GetPrintMagnification(*args, **kwargs)
+
+ def SetPrintColourMode(*args, **kwargs):
+ """
+ SetPrintColourMode(self, int mode)
+
+ Modify colours when printing for clearer printed text.
+ """
+ return _stc.StyledTextCtrl_SetPrintColourMode(*args, **kwargs)
+
+ def GetPrintColourMode(*args, **kwargs):
+ """
+ GetPrintColourMode(self) -> int
+
+ Returns the print colour mode.
+ """
+ return _stc.StyledTextCtrl_GetPrintColourMode(*args, **kwargs)
+
+ def FindText(*args, **kwargs):
+ """
+ FindText(self, int minPos, int maxPos, String text, int flags=0) -> int
+
+ Find some text in the document.
+ """
+ return _stc.StyledTextCtrl_FindText(*args, **kwargs)
+
+ def FormatRange(*args, **kwargs):
+ """
+ FormatRange(self, bool doDraw, int startPos, int endPos, DC draw, DC target,
+ Rect renderRect, Rect pageRect) -> int
+
+ On Windows, will draw the document into a display context such as a printer.
+ """
+ return _stc.StyledTextCtrl_FormatRange(*args, **kwargs)
+
+ def GetFirstVisibleLine(*args, **kwargs):
+ """
+ GetFirstVisibleLine(self) -> int
+
+ Retrieve the display line at the top of the display.
+ """
+ return _stc.StyledTextCtrl_GetFirstVisibleLine(*args, **kwargs)
+
+ def GetLine(*args, **kwargs):
+ """
+ GetLine(self, int line) -> String
+
+ Retrieve the contents of a line.
+ """
+ return _stc.StyledTextCtrl_GetLine(*args, **kwargs)
+
+ def GetLineCount(*args, **kwargs):
+ """
+ GetLineCount(self) -> int
+
+ Returns the number of lines in the document. There is always at least one.
+ """
+ return _stc.StyledTextCtrl_GetLineCount(*args, **kwargs)
+
+ def SetMarginLeft(*args, **kwargs):
+ """
+ SetMarginLeft(self, int pixelWidth)
+
+ Sets the size in pixels of the left margin.
+ """
+ return _stc.StyledTextCtrl_SetMarginLeft(*args, **kwargs)
+
+ def GetMarginLeft(*args, **kwargs):
+ """
+ GetMarginLeft(self) -> int
+
+ Returns the size in pixels of the left margin.
+ """
+ return _stc.StyledTextCtrl_GetMarginLeft(*args, **kwargs)
+
+ def SetMarginRight(*args, **kwargs):
+ """
+ SetMarginRight(self, int pixelWidth)
+
+ Sets the size in pixels of the right margin.
+ """
+ return _stc.StyledTextCtrl_SetMarginRight(*args, **kwargs)
+
+ def GetMarginRight(*args, **kwargs):
+ """
+ GetMarginRight(self) -> int
+
+ Returns the size in pixels of the right margin.
+ """
+ return _stc.StyledTextCtrl_GetMarginRight(*args, **kwargs)
+
+ def GetModify(*args, **kwargs):
+ """
+ GetModify(self) -> bool
+
+ Is the document different from when it was last saved?
+ """
+ return _stc.StyledTextCtrl_GetModify(*args, **kwargs)
+
+ def SetSelection(*args, **kwargs):
+ """
+ SetSelection(self, int start, int end)
+
+ Select a range of text.
+ """
+ return _stc.StyledTextCtrl_SetSelection(*args, **kwargs)
+
+ def GetSelectedText(*args, **kwargs):
+ """
+ GetSelectedText(self) -> String
+
+ Retrieve the selected text.
+ """
+ return _stc.StyledTextCtrl_GetSelectedText(*args, **kwargs)
+
+ def GetTextRange(*args, **kwargs):
+ """
+ GetTextRange(self, int startPos, int endPos) -> String
+
+ Retrieve a range of text.
+ """
+ return _stc.StyledTextCtrl_GetTextRange(*args, **kwargs)
+
+ def HideSelection(*args, **kwargs):
+ """
+ HideSelection(self, bool normal)
+
+ Draw the selection in normal style or with selection highlighted.
+ """
+ return _stc.StyledTextCtrl_HideSelection(*args, **kwargs)
+
+ def LineFromPosition(*args, **kwargs):
+ """
+ LineFromPosition(self, int pos) -> int
+
+ Retrieve the line containing a position.
+ """
+ return _stc.StyledTextCtrl_LineFromPosition(*args, **kwargs)
+
+ def PositionFromLine(*args, **kwargs):
+ """
+ PositionFromLine(self, int line) -> int
+
+ Retrieve the position at the start of a line.
+ """
+ return _stc.StyledTextCtrl_PositionFromLine(*args, **kwargs)
+
+ def LineScroll(*args, **kwargs):
+ """
+ LineScroll(self, int columns, int lines)
+
+ Scroll horizontally and vertically.
+ """
+ return _stc.StyledTextCtrl_LineScroll(*args, **kwargs)
+
+ def EnsureCaretVisible(*args, **kwargs):
+ """
+ EnsureCaretVisible(self)
+
+ Ensure the caret is visible.
+ """
+ return _stc.StyledTextCtrl_EnsureCaretVisible(*args, **kwargs)
+
+ def ReplaceSelection(*args, **kwargs):
+ """
+ ReplaceSelection(self, String text)
+
+ Replace the selected text with the argument text.
+ """
+ return _stc.StyledTextCtrl_ReplaceSelection(*args, **kwargs)
+
+ def SetReadOnly(*args, **kwargs):
+ """
+ SetReadOnly(self, bool readOnly)
+
+ Set to read only or read write.
+ """
+ return _stc.StyledTextCtrl_SetReadOnly(*args, **kwargs)
+
+ def CanPaste(*args, **kwargs):
+ """
+ CanPaste(self) -> bool
+
+ Will a paste succeed?
+ """
+ return _stc.StyledTextCtrl_CanPaste(*args, **kwargs)
+
+ def CanUndo(*args, **kwargs):
+ """
+ CanUndo(self) -> bool
+
+ Are there any undoable actions in the undo history?
+ """
+ return _stc.StyledTextCtrl_CanUndo(*args, **kwargs)
+
+ def EmptyUndoBuffer(*args, **kwargs):
+ """
+ EmptyUndoBuffer(self)
+
+ Delete the undo history.
+ """
+ return _stc.StyledTextCtrl_EmptyUndoBuffer(*args, **kwargs)
+
+ def Undo(*args, **kwargs):
+ """
+ Undo(self)
+
+ Undo one action in the undo history.
+ """
+ return _stc.StyledTextCtrl_Undo(*args, **kwargs)
+
+ def Cut(*args, **kwargs):
+ """
+ Cut(self)
+
+ Cut the selection to the clipboard.
+ """
+ return _stc.StyledTextCtrl_Cut(*args, **kwargs)
+
+ def Copy(*args, **kwargs):
+ """
+ Copy(self)
+
+ Copy the selection to the clipboard.
+ """
+ return _stc.StyledTextCtrl_Copy(*args, **kwargs)
+
+ def Paste(*args, **kwargs):
+ """
+ Paste(self)
+
+ Paste the contents of the clipboard into the document replacing the selection.
+ """
+ return _stc.StyledTextCtrl_Paste(*args, **kwargs)
+
+ def Clear(*args, **kwargs):
+ """
+ Clear(self)
+
+ Clear the selection.
+ """
+ return _stc.StyledTextCtrl_Clear(*args, **kwargs)
+
+ def SetText(*args, **kwargs):
+ """
+ SetText(self, String text)
+
+ Replace the contents of the document with the argument text.
+ """
+ return _stc.StyledTextCtrl_SetText(*args, **kwargs)
+
+ def GetText(*args, **kwargs):
+ """
+ GetText(self) -> String
+
+ Retrieve all the text in the document.
+ """
+ return _stc.StyledTextCtrl_GetText(*args, **kwargs)
+
+ def GetTextLength(*args, **kwargs):
+ """
+ GetTextLength(self) -> int
+
+ Retrieve the number of characters in the document.
+ """
+ return _stc.StyledTextCtrl_GetTextLength(*args, **kwargs)
+
+ def SetOvertype(*args, **kwargs):
+ """
+ SetOvertype(self, bool overtype)
+
+ Set to overtype (true) or insert mode.
+ """
+ return _stc.StyledTextCtrl_SetOvertype(*args, **kwargs)
+
+ def GetOvertype(*args, **kwargs):
+ """
+ GetOvertype(self) -> bool
+
+ Returns true if overtype mode is active otherwise false is returned.
+ """
+ return _stc.StyledTextCtrl_GetOvertype(*args, **kwargs)
+
+ def SetCaretWidth(*args, **kwargs):
+ """
+ SetCaretWidth(self, int pixelWidth)
+
+ Set the width of the insert mode caret.
+ """
+ return _stc.StyledTextCtrl_SetCaretWidth(*args, **kwargs)
+
+ def GetCaretWidth(*args, **kwargs):
+ """
+ GetCaretWidth(self) -> int
+
+ Returns the width of the insert mode caret.
+ """
+ return _stc.StyledTextCtrl_GetCaretWidth(*args, **kwargs)
+
+ def SetTargetStart(*args, **kwargs):
+ """
+ SetTargetStart(self, int pos)
+
+ Sets the position that starts the target which is used for updating the
+ document without affecting the scroll position.
+ """
+ return _stc.StyledTextCtrl_SetTargetStart(*args, **kwargs)
+
+ def GetTargetStart(*args, **kwargs):
+ """
+ GetTargetStart(self) -> int
+
+ Get the position that starts the target.
+ """
+ return _stc.StyledTextCtrl_GetTargetStart(*args, **kwargs)
+
+ def SetTargetEnd(*args, **kwargs):
+ """
+ SetTargetEnd(self, int pos)
+
+ Sets the position that ends the target which is used for updating the
+ document without affecting the scroll position.
+ """
+ return _stc.StyledTextCtrl_SetTargetEnd(*args, **kwargs)
+
+ def GetTargetEnd(*args, **kwargs):
+ """
+ GetTargetEnd(self) -> int
+
+ Get the position that ends the target.
+ """
+ return _stc.StyledTextCtrl_GetTargetEnd(*args, **kwargs)
+
+ def ReplaceTarget(*args, **kwargs):
+ """
+ ReplaceTarget(self, String text) -> int
+
+ Replace the target text with the argument text.
+ Text is counted so it can contain NULs.
+ Returns the length of the replacement text.
+ """
+ return _stc.StyledTextCtrl_ReplaceTarget(*args, **kwargs)
+
+ def ReplaceTargetRE(*args, **kwargs):
+ """
+ ReplaceTargetRE(self, String text) -> int
+
+ Replace the target text with the argument text after \d processing.
+ Text is counted so it can contain NULs.
+ Looks for \d where d is between 1 and 9 and replaces these with the strings
+ matched in the last search operation which were surrounded by \( and \).
+ Returns the length of the replacement text including any change
+ caused by processing the \d patterns.
+ """
+ return _stc.StyledTextCtrl_ReplaceTargetRE(*args, **kwargs)
+
+ def SearchInTarget(*args, **kwargs):
+ """
+ SearchInTarget(self, String text) -> int
+
+ Search for a counted string in the target and set the target to the found
+ range. Text is counted so it can contain NULs.
+ Returns length of range or -1 for failure in which case target is not moved.
+ """
+ return _stc.StyledTextCtrl_SearchInTarget(*args, **kwargs)
+
+ def SetSearchFlags(*args, **kwargs):
+ """
+ SetSearchFlags(self, int flags)
+
+ Set the search flags used by SearchInTarget.
+ """
+ return _stc.StyledTextCtrl_SetSearchFlags(*args, **kwargs)
+
+ def GetSearchFlags(*args, **kwargs):
+ """
+ GetSearchFlags(self) -> int
+
+ Get the search flags used by SearchInTarget.
+ """
+ return _stc.StyledTextCtrl_GetSearchFlags(*args, **kwargs)
+
+ def CallTipShow(*args, **kwargs):
+ """
+ CallTipShow(self, int pos, String definition)
+
+ Show a call tip containing a definition near position pos.
+ """
+ return _stc.StyledTextCtrl_CallTipShow(*args, **kwargs)
+
+ def CallTipCancel(*args, **kwargs):
+ """
+ CallTipCancel(self)
+
+ Remove the call tip from the screen.
+ """
+ return _stc.StyledTextCtrl_CallTipCancel(*args, **kwargs)
+
+ def CallTipActive(*args, **kwargs):
+ """
+ CallTipActive(self) -> bool
+
+ Is there an active call tip?
+ """
+ return _stc.StyledTextCtrl_CallTipActive(*args, **kwargs)
+
+ def CallTipPosAtStart(*args, **kwargs):
+ """
+ CallTipPosAtStart(self) -> int
+
+ Retrieve the position where the caret was before displaying the call tip.
+ """
+ return _stc.StyledTextCtrl_CallTipPosAtStart(*args, **kwargs)
+
+ def CallTipSetHighlight(*args, **kwargs):
+ """
+ CallTipSetHighlight(self, int start, int end)
+
+ Highlight a segment of the definition.
+ """
+ return _stc.StyledTextCtrl_CallTipSetHighlight(*args, **kwargs)
+
+ def CallTipSetBackground(*args, **kwargs):
+ """
+ CallTipSetBackground(self, Colour back)
+
+ Set the background colour for the call tip.
+ """
+ return _stc.StyledTextCtrl_CallTipSetBackground(*args, **kwargs)
+
+ def CallTipSetForeground(*args, **kwargs):
+ """
+ CallTipSetForeground(self, Colour fore)
+
+ Set the foreground colour for the call tip.
+ """
+ return _stc.StyledTextCtrl_CallTipSetForeground(*args, **kwargs)
+
+ def CallTipSetForegroundHighlight(*args, **kwargs):
+ """
+ CallTipSetForegroundHighlight(self, Colour fore)
+
+ Set the foreground colour for the highlighted part of the call tip.
+ """
+ return _stc.StyledTextCtrl_CallTipSetForegroundHighlight(*args, **kwargs)
+
+ def VisibleFromDocLine(*args, **kwargs):
+ """
+ VisibleFromDocLine(self, int line) -> int
+
+ Find the display line of a document line taking hidden lines into account.
+ """
+ return _stc.StyledTextCtrl_VisibleFromDocLine(*args, **kwargs)
+
+ def DocLineFromVisible(*args, **kwargs):
+ """
+ DocLineFromVisible(self, int lineDisplay) -> int
+
+ Find the document line of a display line taking hidden lines into account.
+ """
+ return _stc.StyledTextCtrl_DocLineFromVisible(*args, **kwargs)
+
+ def SetFoldLevel(*args, **kwargs):
+ """
+ SetFoldLevel(self, int line, int level)
+
+ Set the fold level of a line.
+ This encodes an integer level along with flags indicating whether the
+ line is a header and whether it is effectively white space.
+ """
+ return _stc.StyledTextCtrl_SetFoldLevel(*args, **kwargs)
+
+ def GetFoldLevel(*args, **kwargs):
+ """
+ GetFoldLevel(self, int line) -> int
+
+ Retrieve the fold level of a line.
+ """
+ return _stc.StyledTextCtrl_GetFoldLevel(*args, **kwargs)
+
+ def GetLastChild(*args, **kwargs):
+ """
+ GetLastChild(self, int line, int level) -> int
+
+ Find the last child line of a header line.
+ """
+ return _stc.StyledTextCtrl_GetLastChild(*args, **kwargs)
+
+ def GetFoldParent(*args, **kwargs):
+ """
+ GetFoldParent(self, int line) -> int
+
+ Find the parent line of a child line.
+ """
+ return _stc.StyledTextCtrl_GetFoldParent(*args, **kwargs)
+
+ def ShowLines(*args, **kwargs):
+ """
+ ShowLines(self, int lineStart, int lineEnd)
+
+ Make a range of lines visible.
+ """
+ return _stc.StyledTextCtrl_ShowLines(*args, **kwargs)
+
+ def HideLines(*args, **kwargs):
+ """
+ HideLines(self, int lineStart, int lineEnd)
+
+ Make a range of lines invisible.
+ """
+ return _stc.StyledTextCtrl_HideLines(*args, **kwargs)
+
+ def GetLineVisible(*args, **kwargs):
+ """
+ GetLineVisible(self, int line) -> bool
+
+ Is a line visible?
+ """
+ return _stc.StyledTextCtrl_GetLineVisible(*args, **kwargs)
+
+ def SetFoldExpanded(*args, **kwargs):
+ """
+ SetFoldExpanded(self, int line, bool expanded)
+
+ Show the children of a header line.
+ """
+ return _stc.StyledTextCtrl_SetFoldExpanded(*args, **kwargs)
+
+ def GetFoldExpanded(*args, **kwargs):
+ """
+ GetFoldExpanded(self, int line) -> bool
+
+ Is a header line expanded?
+ """
+ return _stc.StyledTextCtrl_GetFoldExpanded(*args, **kwargs)
+
+ def ToggleFold(*args, **kwargs):
+ """
+ ToggleFold(self, int line)
+
+ Switch a header line between expanded and contracted.
+ """
+ return _stc.StyledTextCtrl_ToggleFold(*args, **kwargs)
+
+ def EnsureVisible(*args, **kwargs):
+ """
+ EnsureVisible(self, int line)
+
+ Ensure a particular line is visible by expanding any header line hiding it.
+ """
+ return _stc.StyledTextCtrl_EnsureVisible(*args, **kwargs)
+
+ def SetFoldFlags(*args, **kwargs):
+ """
+ SetFoldFlags(self, int flags)
+
+ Set some style options for folding.
+ """
+ return _stc.StyledTextCtrl_SetFoldFlags(*args, **kwargs)
+
+ def EnsureVisibleEnforcePolicy(*args, **kwargs):
+ """
+ EnsureVisibleEnforcePolicy(self, int line)
+
+ Ensure a particular line is visible by expanding any header line hiding it.
+ Use the currently set visibility policy to determine which range to display.
+ """
+ return _stc.StyledTextCtrl_EnsureVisibleEnforcePolicy(*args, **kwargs)
+
+ def SetTabIndents(*args, **kwargs):
+ """
+ SetTabIndents(self, bool tabIndents)
+
+ Sets whether a tab pressed when caret is within indentation indents.
+ """
+ return _stc.StyledTextCtrl_SetTabIndents(*args, **kwargs)
+
+ def GetTabIndents(*args, **kwargs):
+ """
+ GetTabIndents(self) -> bool
+
+ Does a tab pressed when caret is within indentation indent?
+ """
+ return _stc.StyledTextCtrl_GetTabIndents(*args, **kwargs)
+
+ def SetBackSpaceUnIndents(*args, **kwargs):
+ """
+ SetBackSpaceUnIndents(self, bool bsUnIndents)
+
+ Sets whether a backspace pressed when caret is within indentation unindents.
+ """
+ return _stc.StyledTextCtrl_SetBackSpaceUnIndents(*args, **kwargs)
+
+ def GetBackSpaceUnIndents(*args, **kwargs):
+ """
+ GetBackSpaceUnIndents(self) -> bool
+
+ Does a backspace pressed when caret is within indentation unindent?
+ """
+ return _stc.StyledTextCtrl_GetBackSpaceUnIndents(*args, **kwargs)
+
+ def SetMouseDwellTime(*args, **kwargs):
+ """
+ SetMouseDwellTime(self, int periodMilliseconds)
+
+ Sets the time the mouse must sit still to generate a mouse dwell event.
+ """
+ return _stc.StyledTextCtrl_SetMouseDwellTime(*args, **kwargs)
+
+ def GetMouseDwellTime(*args, **kwargs):
+ """
+ GetMouseDwellTime(self) -> int
+
+ Retrieve the time the mouse must sit still to generate a mouse dwell event.
+ """
+ return _stc.StyledTextCtrl_GetMouseDwellTime(*args, **kwargs)
+
+ def WordStartPosition(*args, **kwargs):
+ """
+ WordStartPosition(self, int pos, bool onlyWordCharacters) -> int
+
+ Get position of start of word.
+ """
+ return _stc.StyledTextCtrl_WordStartPosition(*args, **kwargs)
+
+ def WordEndPosition(*args, **kwargs):
+ """
+ WordEndPosition(self, int pos, bool onlyWordCharacters) -> int
+
+ Get position of end of word.
+ """
+ return _stc.StyledTextCtrl_WordEndPosition(*args, **kwargs)
+
+ def SetWrapMode(*args, **kwargs):
+ """
+ SetWrapMode(self, int mode)
+
+ Sets whether text is word wrapped.
+ """
+ return _stc.StyledTextCtrl_SetWrapMode(*args, **kwargs)
+
+ def GetWrapMode(*args, **kwargs):
+ """
+ GetWrapMode(self) -> int
+
+ Retrieve whether text is word wrapped.
+ """
+ return _stc.StyledTextCtrl_GetWrapMode(*args, **kwargs)
+
+ def SetWrapVisualFlags(*args, **kwargs):
+ """
+ SetWrapVisualFlags(self, int wrapVisualFlags)
+
+ Set the display mode of visual flags for wrapped lines.
+ """
+ return _stc.StyledTextCtrl_SetWrapVisualFlags(*args, **kwargs)
+
+ def GetWrapVisualFlags(*args, **kwargs):
+ """
+ GetWrapVisualFlags(self) -> int
+
+ Retrive the display mode of visual flags for wrapped lines.
+ """
+ return _stc.StyledTextCtrl_GetWrapVisualFlags(*args, **kwargs)
+
+ def SetWrapVisualFlagsLocation(*args, **kwargs):
+ """
+ SetWrapVisualFlagsLocation(self, int wrapVisualFlagsLocation)
+
+ Set the location of visual flags for wrapped lines.
+ """
+ return _stc.StyledTextCtrl_SetWrapVisualFlagsLocation(*args, **kwargs)
+
+ def GetWrapVisualFlagsLocation(*args, **kwargs):
+ """
+ GetWrapVisualFlagsLocation(self) -> int
+
+ Retrive the location of visual flags for wrapped lines.
+ """
+ return _stc.StyledTextCtrl_GetWrapVisualFlagsLocation(*args, **kwargs)
+
+ def SetWrapStartIndent(*args, **kwargs):
+ """
+ SetWrapStartIndent(self, int indent)
+
+ Set the start indent for wrapped lines.
+ """
+ return _stc.StyledTextCtrl_SetWrapStartIndent(*args, **kwargs)
+
+ def GetWrapStartIndent(*args, **kwargs):
+ """
+ GetWrapStartIndent(self) -> int
+
+ Retrive the start indent for wrapped lines.
+ """
+ return _stc.StyledTextCtrl_GetWrapStartIndent(*args, **kwargs)
+
+ def SetLayoutCache(*args, **kwargs):
+ """
+ SetLayoutCache(self, int mode)
+
+ Sets the degree of caching of layout information.
+ """
+ return _stc.StyledTextCtrl_SetLayoutCache(*args, **kwargs)
+
+ def GetLayoutCache(*args, **kwargs):
+ """
+ GetLayoutCache(self) -> int
+
+ Retrieve the degree of caching of layout information.
+ """
+ return _stc.StyledTextCtrl_GetLayoutCache(*args, **kwargs)
+
+ def SetScrollWidth(*args, **kwargs):
+ """
+ SetScrollWidth(self, int pixelWidth)
+
+ Sets the document width assumed for scrolling.
+ """
+ return _stc.StyledTextCtrl_SetScrollWidth(*args, **kwargs)
+
+ def GetScrollWidth(*args, **kwargs):
+ """
+ GetScrollWidth(self) -> int
+
+ Retrieve the document width assumed for scrolling.
+ """
+ return _stc.StyledTextCtrl_GetScrollWidth(*args, **kwargs)
+
+ def TextWidth(*args, **kwargs):
+ """
+ TextWidth(self, int style, String text) -> int
+
+ Measure the pixel width of some text in a particular style.
+ NUL terminated text argument.
+ Does not handle tab or control characters.
+ """
+ return _stc.StyledTextCtrl_TextWidth(*args, **kwargs)
+
+ def SetEndAtLastLine(*args, **kwargs):
+ """
+ SetEndAtLastLine(self, bool endAtLastLine)
+
+ Sets the scroll range so that maximum scroll position has
+ the last line at the bottom of the view (default).
+ Setting this to false allows scrolling one page below the last line.
+ """
+ return _stc.StyledTextCtrl_SetEndAtLastLine(*args, **kwargs)
+
+ def GetEndAtLastLine(*args, **kwargs):
+ """
+ GetEndAtLastLine(self) -> int
+
+ Retrieve whether the maximum scroll position has the last
+ line at the bottom of the view.
+ """
+ return _stc.StyledTextCtrl_GetEndAtLastLine(*args, **kwargs)
+
+ def TextHeight(*args, **kwargs):
+ """
+ TextHeight(self, int line) -> int
+
+ Retrieve the height of a particular line of text in pixels.
+ """
+ return _stc.StyledTextCtrl_TextHeight(*args, **kwargs)
+
+ def SetUseVerticalScrollBar(*args, **kwargs):
+ """
+ SetUseVerticalScrollBar(self, bool show)
+
+ Show or hide the vertical scroll bar.
+ """
+ return _stc.StyledTextCtrl_SetUseVerticalScrollBar(*args, **kwargs)
+
+ def GetUseVerticalScrollBar(*args, **kwargs):
+ """
+ GetUseVerticalScrollBar(self) -> bool
+
+ Is the vertical scroll bar visible?
+ """
+ return _stc.StyledTextCtrl_GetUseVerticalScrollBar(*args, **kwargs)
+
+ def AppendText(*args, **kwargs):
+ """
+ AppendText(self, String text)
+
+ Append a string to the end of the document without changing the selection.
+ """
+ return _stc.StyledTextCtrl_AppendText(*args, **kwargs)
+
+ def GetTwoPhaseDraw(*args, **kwargs):
+ """
+ GetTwoPhaseDraw(self) -> bool
+
+ Is drawing done in two phases with backgrounds drawn before foregrounds?
+ """
+ return _stc.StyledTextCtrl_GetTwoPhaseDraw(*args, **kwargs)
+
+ def SetTwoPhaseDraw(*args, **kwargs):
+ """
+ SetTwoPhaseDraw(self, bool twoPhase)
+
+ In twoPhaseDraw mode, drawing is performed in two phases, first the background
+ and then the foreground. This avoids chopping off characters that overlap the next run.
+ """
+ return _stc.StyledTextCtrl_SetTwoPhaseDraw(*args, **kwargs)
+
+ def TargetFromSelection(*args, **kwargs):
+ """
+ TargetFromSelection(self)
+
+ Make the target range start and end be the same as the selection range start and end.
+ """
+ return _stc.StyledTextCtrl_TargetFromSelection(*args, **kwargs)
+
+ def LinesJoin(*args, **kwargs):
+ """
+ LinesJoin(self)
+
+ Join the lines in the target.
+ """
+ return _stc.StyledTextCtrl_LinesJoin(*args, **kwargs)
+
+ def LinesSplit(*args, **kwargs):
+ """
+ LinesSplit(self, int pixelWidth)
+
+ Split the lines in the target into lines that are less wide than pixelWidth
+ where possible.
+ """
+ return _stc.StyledTextCtrl_LinesSplit(*args, **kwargs)
+
+ def SetFoldMarginColour(*args, **kwargs):
+ """
+ SetFoldMarginColour(self, bool useSetting, Colour back)
+
+ Set the colours used as a chequerboard pattern in the fold margin
+ """
+ return _stc.StyledTextCtrl_SetFoldMarginColour(*args, **kwargs)
+
+ def SetFoldMarginHiColour(*args, **kwargs):
+ """SetFoldMarginHiColour(self, bool useSetting, Colour fore)"""
+ return _stc.StyledTextCtrl_SetFoldMarginHiColour(*args, **kwargs)
+
+ def LineDown(*args, **kwargs):
+ """
+ LineDown(self)
+
+ Move caret down one line.
+ """
+ return _stc.StyledTextCtrl_LineDown(*args, **kwargs)
+
+
+ def LineDownExtend(*args, **kwargs):
+ """
+ LineDownExtend(self)
+
+ Move caret down one line extending selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_LineDownExtend(*args, **kwargs)
+
+ def LineUp(*args, **kwargs):
+ """
+ LineUp(self)
+
+ Move caret up one line.
+ """
+ return _stc.StyledTextCtrl_LineUp(*args, **kwargs)
+
+
+ def LineUpExtend(*args, **kwargs):
+ """
+ LineUpExtend(self)
+
+ Move caret up one line extending selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_LineUpExtend(*args, **kwargs)
+
+ def CharLeft(*args, **kwargs):
+ """
+ CharLeft(self)
+
+ Move caret left one character.
+ """
+ return _stc.StyledTextCtrl_CharLeft(*args, **kwargs)
+
+ def CharLeftExtend(*args, **kwargs):
+ """
+ CharLeftExtend(self)
+
+ Move caret left one character extending selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_CharLeftExtend(*args, **kwargs)
+
+ def CharRight(*args, **kwargs):
+ """
+ CharRight(self)
+
+ Move caret right one character.
+ """
+ return _stc.StyledTextCtrl_CharRight(*args, **kwargs)
+
+ def CharRightExtend(*args, **kwargs):
+ """
+ CharRightExtend(self)
+
+ Move caret right one character extending selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_CharRightExtend(*args, **kwargs)
+
+ def WordLeft(*args, **kwargs):
+ """
+ WordLeft(self)
+
+ Move caret left one word.
+ """
+ return _stc.StyledTextCtrl_WordLeft(*args, **kwargs)
+
+ def WordLeftExtend(*args, **kwargs):
+ """
+ WordLeftExtend(self)
+
+ Move caret left one word extending selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_WordLeftExtend(*args, **kwargs)
+
+ def WordRight(*args, **kwargs):
+ """
+ WordRight(self)
+
+ Move caret right one word.
+ """
+ return _stc.StyledTextCtrl_WordRight(*args, **kwargs)
+
+ def WordRightExtend(*args, **kwargs):
+ """
+ WordRightExtend(self)
+
+ Move caret right one word extending selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_WordRightExtend(*args, **kwargs)
+
+ def Home(*args, **kwargs):
+ """
+ Home(self)
+
+ Move caret to first position on line.
+ """
+ return _stc.StyledTextCtrl_Home(*args, **kwargs)
+
+ def HomeExtend(*args, **kwargs):
+ """
+ HomeExtend(self)
+
+ Move caret to first position on line extending selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_HomeExtend(*args, **kwargs)
+
+ def LineEnd(*args, **kwargs):
+ """
+ LineEnd(self)
+
+ Move caret to last position on line.
+ """
+ return _stc.StyledTextCtrl_LineEnd(*args, **kwargs)
+
+ def LineEndExtend(*args, **kwargs):
+ """
+ LineEndExtend(self)
+
+ Move caret to last position on line extending selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_LineEndExtend(*args, **kwargs)
+
+ def DocumentStart(*args, **kwargs):
+ """
+ DocumentStart(self)
+
+ Move caret to first position in document.
+ """
+ return _stc.StyledTextCtrl_DocumentStart(*args, **kwargs)
+
+ def DocumentStartExtend(*args, **kwargs):
+ """
+ DocumentStartExtend(self)
+
+ Move caret to first position in document extending selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_DocumentStartExtend(*args, **kwargs)
+
+ def DocumentEnd(*args, **kwargs):
+ """
+ DocumentEnd(self)
+
+ Move caret to last position in document.
+ """
+ return _stc.StyledTextCtrl_DocumentEnd(*args, **kwargs)
+
+ def DocumentEndExtend(*args, **kwargs):
+ """
+ DocumentEndExtend(self)
+
+ Move caret to last position in document extending selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_DocumentEndExtend(*args, **kwargs)
+
+ def PageUp(*args, **kwargs):
+ """
+ PageUp(self)
+
+ Move caret one page up.
+ """
+ return _stc.StyledTextCtrl_PageUp(*args, **kwargs)
+
+
+ def PageUpExtend(*args, **kwargs):
+ """
+ PageUpExtend(self)
+
+ Move caret one page up extending selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_PageUpExtend(*args, **kwargs)
+
+ def PageDown(*args, **kwargs):
+ """
+ PageDown(self)
+
+ Move caret one page down.
+ """
+ return _stc.StyledTextCtrl_PageDown(*args, **kwargs)
+
+
+ def PageDownExtend(*args, **kwargs):
+ """
+ PageDownExtend(self)
+
+ Move caret one page down extending selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_PageDownExtend(*args, **kwargs)
+
+ def EditToggleOvertype(*args, **kwargs):
+ """
+ EditToggleOvertype(self)
+
+ Switch from insert to overtype mode or the reverse.
+ """
+ return _stc.StyledTextCtrl_EditToggleOvertype(*args, **kwargs)
+
+ def Cancel(*args, **kwargs):
+ """
+ Cancel(self)
+
+ Cancel any modes such as call tip or auto-completion list display.
+ """
+ return _stc.StyledTextCtrl_Cancel(*args, **kwargs)
+
+ def DeleteBack(*args, **kwargs):
+ """
+ DeleteBack(self)
+
+ Delete the selection or if no selection, the character before the caret.
+ """
+ return _stc.StyledTextCtrl_DeleteBack(*args, **kwargs)
+
+ def Tab(*args, **kwargs):
+ """
+ Tab(self)
+
+ If selection is empty or all on one line replace the selection with a tab character.
+ If more than one line selected, indent the lines.
+ """
+ return _stc.StyledTextCtrl_Tab(*args, **kwargs)
+
+ def BackTab(*args, **kwargs):
+ """
+ BackTab(self)
+
+ Dedent the selected lines.
+ """
+ return _stc.StyledTextCtrl_BackTab(*args, **kwargs)
+
+ def NewLine(*args, **kwargs):
+ """
+ NewLine(self)
+
+ Insert a new line, may use a CRLF, CR or LF depending on EOL mode.
+ """
+ return _stc.StyledTextCtrl_NewLine(*args, **kwargs)
+
+ def FormFeed(*args, **kwargs):
+ """
+ FormFeed(self)
+
+ Insert a Form Feed character.
+ """
+ return _stc.StyledTextCtrl_FormFeed(*args, **kwargs)
+
+ def VCHome(*args, **kwargs):
+ """
+ VCHome(self)
+
+ Move caret to before first visible character on line.
+ If already there move to first character on line.
+ """
+ return _stc.StyledTextCtrl_VCHome(*args, **kwargs)
+
+ def VCHomeExtend(*args, **kwargs):
+ """
+ VCHomeExtend(self)
+
+ Like VCHome but extending selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_VCHomeExtend(*args, **kwargs)
+
+ def ZoomIn(*args, **kwargs):
+ """
+ ZoomIn(self)
+
+ Magnify the displayed text by increasing the sizes by 1 point.
+ """
+ return _stc.StyledTextCtrl_ZoomIn(*args, **kwargs)
+
+ def ZoomOut(*args, **kwargs):
+ """
+ ZoomOut(self)
+
+ Make the displayed text smaller by decreasing the sizes by 1 point.
+ """
+ return _stc.StyledTextCtrl_ZoomOut(*args, **kwargs)
+
+ def DelWordLeft(*args, **kwargs):
+ """
+ DelWordLeft(self)
+
+ Delete the word to the left of the caret.
+ """
+ return _stc.StyledTextCtrl_DelWordLeft(*args, **kwargs)
+
+ def DelWordRight(*args, **kwargs):
+ """
+ DelWordRight(self)
+
+ Delete the word to the right of the caret.
+ """
+ return _stc.StyledTextCtrl_DelWordRight(*args, **kwargs)
+
+ def LineCut(*args, **kwargs):
+ """
+ LineCut(self)
+
+ Cut the line containing the caret.
+ """
+ return _stc.StyledTextCtrl_LineCut(*args, **kwargs)
+
+ def LineDelete(*args, **kwargs):
+ """
+ LineDelete(self)
+
+ Delete the line containing the caret.
+ """
+ return _stc.StyledTextCtrl_LineDelete(*args, **kwargs)
+
+ def LineTranspose(*args, **kwargs):
+ """
+ LineTranspose(self)
+
+ Switch the current line with the previous.
+ """
+ return _stc.StyledTextCtrl_LineTranspose(*args, **kwargs)
+
+ def LineDuplicate(*args, **kwargs):
+ """
+ LineDuplicate(self)
+
+ Duplicate the current line.
+ """
+ return _stc.StyledTextCtrl_LineDuplicate(*args, **kwargs)
+
+ def LowerCase(*args, **kwargs):
+ """
+ LowerCase(self)
+
+ Transform the selection to lower case.
+ """
+ return _stc.StyledTextCtrl_LowerCase(*args, **kwargs)
+
+ def UpperCase(*args, **kwargs):
+ """
+ UpperCase(self)
+
+ Transform the selection to upper case.
+ """
+ return _stc.StyledTextCtrl_UpperCase(*args, **kwargs)
+
+ def LineScrollDown(*args, **kwargs):
+ """
+ LineScrollDown(self)
+
+ Scroll the document down, keeping the caret visible.
+ """
+ return _stc.StyledTextCtrl_LineScrollDown(*args, **kwargs)
+
+ def LineScrollUp(*args, **kwargs):
+ """
+ LineScrollUp(self)
+
+ Scroll the document up, keeping the caret visible.
+ """
+ return _stc.StyledTextCtrl_LineScrollUp(*args, **kwargs)
+
+ def DeleteBackNotLine(*args, **kwargs):
+ """
+ DeleteBackNotLine(self)
+
+ Delete the selection or if no selection, the character before the caret.
+ Will not delete the character before at the start of a line.
+ """
+ return _stc.StyledTextCtrl_DeleteBackNotLine(*args, **kwargs)
+
+ def HomeDisplay(*args, **kwargs):
+ """
+ HomeDisplay(self)
+
+ Move caret to first position on display line.
+ """
+ return _stc.StyledTextCtrl_HomeDisplay(*args, **kwargs)
+
+ def HomeDisplayExtend(*args, **kwargs):
+ """
+ HomeDisplayExtend(self)
+
+ Move caret to first position on display line extending selection to
+ new caret position.
+ """
+ return _stc.StyledTextCtrl_HomeDisplayExtend(*args, **kwargs)
+
+ def LineEndDisplay(*args, **kwargs):
+ """
+ LineEndDisplay(self)
+
+ Move caret to last position on display line.
+ """
+ return _stc.StyledTextCtrl_LineEndDisplay(*args, **kwargs)
+
+ def LineEndDisplayExtend(*args, **kwargs):
+ """
+ LineEndDisplayExtend(self)
+
+ Move caret to last position on display line extending selection to new
+ caret position.
+ """
+ return _stc.StyledTextCtrl_LineEndDisplayExtend(*args, **kwargs)
+
+ def HomeWrap(*args, **kwargs):
+ """
+ HomeWrap(self)
+
+ These are like their namesakes Home(Extend)?, LineEnd(Extend)?, VCHome(Extend)?
+ except they behave differently when word-wrap is enabled:
+ They go first to the start / end of the display line, like (Home|LineEnd)Display
+ The difference is that, the cursor is already at the point, it goes on to the start
+ or end of the document line, as appropriate for (Home|LineEnd|VCHome)(Extend)?.
+ """
+ return _stc.StyledTextCtrl_HomeWrap(*args, **kwargs)
+
+ def HomeWrapExtend(*args, **kwargs):
+ """HomeWrapExtend(self)"""
+ return _stc.StyledTextCtrl_HomeWrapExtend(*args, **kwargs)
+
+ def LineEndWrap(*args, **kwargs):
+ """LineEndWrap(self)"""
+ return _stc.StyledTextCtrl_LineEndWrap(*args, **kwargs)
+
+ def LineEndWrapExtend(*args, **kwargs):
+ """LineEndWrapExtend(self)"""
+ return _stc.StyledTextCtrl_LineEndWrapExtend(*args, **kwargs)
+
+ def VCHomeWrap(*args, **kwargs):
+ """VCHomeWrap(self)"""
+ return _stc.StyledTextCtrl_VCHomeWrap(*args, **kwargs)
+
+ def VCHomeWrapExtend(*args, **kwargs):
+ """VCHomeWrapExtend(self)"""
+ return _stc.StyledTextCtrl_VCHomeWrapExtend(*args, **kwargs)
+
+ def LineCopy(*args, **kwargs):
+ """
+ LineCopy(self)
+
+ Copy the line containing the caret.
+ """
+ return _stc.StyledTextCtrl_LineCopy(*args, **kwargs)
+
+ def MoveCaretInsideView(*args, **kwargs):
+ """
+ MoveCaretInsideView(self)
+
+ Move the caret inside current view if it's not there already.
+ """
+ return _stc.StyledTextCtrl_MoveCaretInsideView(*args, **kwargs)
+
+ def LineLength(*args, **kwargs):
+ """
+ LineLength(self, int line) -> int
+
+ How many characters are on a line, not including end of line characters?
+ """
+ return _stc.StyledTextCtrl_LineLength(*args, **kwargs)
+
+ def BraceHighlight(*args, **kwargs):
+ """
+ BraceHighlight(self, int pos1, int pos2)
+
+ Highlight the characters at two positions.
+ """
+ return _stc.StyledTextCtrl_BraceHighlight(*args, **kwargs)
+
+ def BraceBadLight(*args, **kwargs):
+ """
+ BraceBadLight(self, int pos)
+
+ Highlight the character at a position indicating there is no matching brace.
+ """
+ return _stc.StyledTextCtrl_BraceBadLight(*args, **kwargs)
+
+ def BraceMatch(*args, **kwargs):
+ """
+ BraceMatch(self, int pos) -> int
+
+ Find the position of a matching brace or INVALID_POSITION if no match.
+ """
+ return _stc.StyledTextCtrl_BraceMatch(*args, **kwargs)
+
+ def GetViewEOL(*args, **kwargs):
+ """
+ GetViewEOL(self) -> bool
+
+ Are the end of line characters visible?
+ """
+ return _stc.StyledTextCtrl_GetViewEOL(*args, **kwargs)
+
+ def SetViewEOL(*args, **kwargs):
+ """
+ SetViewEOL(self, bool visible)
+
+ Make the end of line characters visible or invisible.
+ """
+ return _stc.StyledTextCtrl_SetViewEOL(*args, **kwargs)
+
+ def GetDocPointer(*args, **kwargs):
+ """
+ GetDocPointer(self) -> void
+
+ Retrieve a pointer to the document object.
+ """
+ return _stc.StyledTextCtrl_GetDocPointer(*args, **kwargs)
+
+ def SetDocPointer(*args, **kwargs):
+ """
+ SetDocPointer(self, void docPointer)
+
+ Change the document object used.
+ """
+ return _stc.StyledTextCtrl_SetDocPointer(*args, **kwargs)
+
+ def SetModEventMask(*args, **kwargs):
+ """
+ SetModEventMask(self, int mask)
+
+ Set which document modification events are sent to the container.
+ """
+ return _stc.StyledTextCtrl_SetModEventMask(*args, **kwargs)
+
+ def GetEdgeColumn(*args, **kwargs):
+ """
+ GetEdgeColumn(self) -> int
+
+ Retrieve the column number which text should be kept within.
+ """
+ return _stc.StyledTextCtrl_GetEdgeColumn(*args, **kwargs)
+
+ def SetEdgeColumn(*args, **kwargs):
+ """
+ SetEdgeColumn(self, int column)
+
+ Set the column number of the edge.
+ If text goes past the edge then it is highlighted.
+ """
+ return _stc.StyledTextCtrl_SetEdgeColumn(*args, **kwargs)
+
+ def GetEdgeMode(*args, **kwargs):
+ """
+ GetEdgeMode(self) -> int
+
+ Retrieve the edge highlight mode.
+ """
+ return _stc.StyledTextCtrl_GetEdgeMode(*args, **kwargs)
+
+ def SetEdgeMode(*args, **kwargs):
+ """
+ SetEdgeMode(self, int mode)
+
+ The edge may be displayed by a line (EDGE_LINE) or by highlighting text that
+ goes beyond it (EDGE_BACKGROUND) or not displayed at all (EDGE_NONE).
+ """
+ return _stc.StyledTextCtrl_SetEdgeMode(*args, **kwargs)
+
+ def GetEdgeColour(*args, **kwargs):
+ """
+ GetEdgeColour(self) -> Colour
+
+ Retrieve the colour used in edge indication.
+ """
+ return _stc.StyledTextCtrl_GetEdgeColour(*args, **kwargs)
+
+ def SetEdgeColour(*args, **kwargs):
+ """
+ SetEdgeColour(self, Colour edgeColour)
+
+ Change the colour used in edge indication.
+ """
+ return _stc.StyledTextCtrl_SetEdgeColour(*args, **kwargs)
+
+ def SearchAnchor(*args, **kwargs):
+ """
+ SearchAnchor(self)
+
+ Sets the current caret position to be the search anchor.
+ """
+ return _stc.StyledTextCtrl_SearchAnchor(*args, **kwargs)
+
+ def SearchNext(*args, **kwargs):
+ """
+ SearchNext(self, int flags, String text) -> int
+
+ Find some text starting at the search anchor.
+ Does not ensure the selection is visible.
+ """
+ return _stc.StyledTextCtrl_SearchNext(*args, **kwargs)
+
+ def SearchPrev(*args, **kwargs):
+ """
+ SearchPrev(self, int flags, String text) -> int
+
+ Find some text starting at the search anchor and moving backwards.
+ Does not ensure the selection is visible.
+ """
+ return _stc.StyledTextCtrl_SearchPrev(*args, **kwargs)
+
+ def LinesOnScreen(*args, **kwargs):
+ """
+ LinesOnScreen(self) -> int
+
+ Retrieves the number of lines completely visible.
+ """
+ return _stc.StyledTextCtrl_LinesOnScreen(*args, **kwargs)
+
+ def UsePopUp(*args, **kwargs):
+ """
+ UsePopUp(self, bool allowPopUp)
+
+ Set whether a pop up menu is displayed automatically when the user presses
+ the wrong mouse button.
+ """
+ return _stc.StyledTextCtrl_UsePopUp(*args, **kwargs)
+
+ def SelectionIsRectangle(*args, **kwargs):
+ """
+ SelectionIsRectangle(self) -> bool
+
+ Is the selection rectangular? The alternative is the more common stream selection.
+ """
+ return _stc.StyledTextCtrl_SelectionIsRectangle(*args, **kwargs)
+
+ def SetZoom(*args, **kwargs):
+ """
+ SetZoom(self, int zoom)
+
+ Set the zoom level. This number of points is added to the size of all fonts.
+ It may be positive to magnify or negative to reduce.
+ """
+ return _stc.StyledTextCtrl_SetZoom(*args, **kwargs)
+
+ def GetZoom(*args, **kwargs):
+ """
+ GetZoom(self) -> int
+
+ Retrieve the zoom level.
+ """
+ return _stc.StyledTextCtrl_GetZoom(*args, **kwargs)
+
+ def CreateDocument(*args, **kwargs):
+ """
+ CreateDocument(self) -> void
+
+ Create a new document object.
+ Starts with reference count of 1 and not selected into editor.
+ """
+ return _stc.StyledTextCtrl_CreateDocument(*args, **kwargs)
+
+ def AddRefDocument(*args, **kwargs):
+ """
+ AddRefDocument(self, void docPointer)
+
+ Extend life of document.
+ """
+ return _stc.StyledTextCtrl_AddRefDocument(*args, **kwargs)
+
+ def ReleaseDocument(*args, **kwargs):
+ """
+ ReleaseDocument(self, void docPointer)
+
+ Release a reference to the document, deleting document if it fades to black.
+ """
+ return _stc.StyledTextCtrl_ReleaseDocument(*args, **kwargs)
+
+ def GetModEventMask(*args, **kwargs):
+ """
+ GetModEventMask(self) -> int
+
+ Get which document modification events are sent to the container.
+ """
+ return _stc.StyledTextCtrl_GetModEventMask(*args, **kwargs)
+
+ def SetSTCFocus(*args, **kwargs):
+ """
+ SetSTCFocus(self, bool focus)
+
+ Change internal focus flag.
+ """
+ return _stc.StyledTextCtrl_SetSTCFocus(*args, **kwargs)
+
+ def GetSTCFocus(*args, **kwargs):
+ """
+ GetSTCFocus(self) -> bool
+
+ Get internal focus flag.
+ """
+ return _stc.StyledTextCtrl_GetSTCFocus(*args, **kwargs)
+
+ def SetStatus(*args, **kwargs):
+ """
+ SetStatus(self, int statusCode)
+
+ Change error status - 0 = OK.
+ """
+ return _stc.StyledTextCtrl_SetStatus(*args, **kwargs)
+
+ def GetStatus(*args, **kwargs):
+ """
+ GetStatus(self) -> int
+
+ Get error status.
+ """
+ return _stc.StyledTextCtrl_GetStatus(*args, **kwargs)
+
+ def SetMouseDownCaptures(*args, **kwargs):
+ """
+ SetMouseDownCaptures(self, bool captures)
+
+ Set whether the mouse is captured when its button is pressed.
+ """
+ return _stc.StyledTextCtrl_SetMouseDownCaptures(*args, **kwargs)
+
+ def GetMouseDownCaptures(*args, **kwargs):
+ """
+ GetMouseDownCaptures(self) -> bool
+
+ Get whether mouse gets captured.
+ """
+ return _stc.StyledTextCtrl_GetMouseDownCaptures(*args, **kwargs)
+
+ def SetSTCCursor(*args, **kwargs):
+ """
+ SetSTCCursor(self, int cursorType)
+
+ Sets the cursor to one of the SC_CURSOR* values.
+ """
+ return _stc.StyledTextCtrl_SetSTCCursor(*args, **kwargs)
+
+ def GetSTCCursor(*args, **kwargs):
+ """
+ GetSTCCursor(self) -> int
+
+ Get cursor type.
+ """
+ return _stc.StyledTextCtrl_GetSTCCursor(*args, **kwargs)
+
+ def SetControlCharSymbol(*args, **kwargs):
+ """
+ SetControlCharSymbol(self, int symbol)
+
+ Change the way control characters are displayed:
+ If symbol is < 32, keep the drawn way, else, use the given character.
+ """
+ return _stc.StyledTextCtrl_SetControlCharSymbol(*args, **kwargs)
+
+ def GetControlCharSymbol(*args, **kwargs):
+ """
+ GetControlCharSymbol(self) -> int
+
+ Get the way control characters are displayed.
+ """
+ return _stc.StyledTextCtrl_GetControlCharSymbol(*args, **kwargs)
+
+ def WordPartLeft(*args, **kwargs):
+ """
+ WordPartLeft(self)
+
+ Move to the previous change in capitalisation.
+ """
+ return _stc.StyledTextCtrl_WordPartLeft(*args, **kwargs)
+
+ def WordPartLeftExtend(*args, **kwargs):
+ """
+ WordPartLeftExtend(self)
+
+ Move to the previous change in capitalisation extending selection
+ to new caret position.
+ """
+ return _stc.StyledTextCtrl_WordPartLeftExtend(*args, **kwargs)
+
+ def WordPartRight(*args, **kwargs):
+ """
+ WordPartRight(self)
+
+ Move to the change next in capitalisation.
+ """
+ return _stc.StyledTextCtrl_WordPartRight(*args, **kwargs)
+
+ def WordPartRightExtend(*args, **kwargs):
+ """
+ WordPartRightExtend(self)
+
+ Move to the next change in capitalisation extending selection
+ to new caret position.
+ """
+ return _stc.StyledTextCtrl_WordPartRightExtend(*args, **kwargs)
+
+ def SetVisiblePolicy(*args, **kwargs):
+ """
+ SetVisiblePolicy(self, int visiblePolicy, int visibleSlop)
+
+ Set the way the display area is determined when a particular line
+ is to be moved to by Find, FindNext, GotoLine, etc.
+ """
+ return _stc.StyledTextCtrl_SetVisiblePolicy(*args, **kwargs)
+
+ def DelLineLeft(*args, **kwargs):
+ """
+ DelLineLeft(self)
+
+ Delete back from the current position to the start of the line.
+ """
+ return _stc.StyledTextCtrl_DelLineLeft(*args, **kwargs)
+
+ def DelLineRight(*args, **kwargs):
+ """
+ DelLineRight(self)
+
+ Delete forwards from the current position to the end of the line.
+ """
+ return _stc.StyledTextCtrl_DelLineRight(*args, **kwargs)
+
+ def SetXOffset(*args, **kwargs):
+ """
+ SetXOffset(self, int newOffset)
+
+ Get and Set the xOffset (ie, horizonal scroll position).
+ """
+ return _stc.StyledTextCtrl_SetXOffset(*args, **kwargs)
+
+ def GetXOffset(*args, **kwargs):
+ """GetXOffset(self) -> int"""
+ return _stc.StyledTextCtrl_GetXOffset(*args, **kwargs)
+
+ def ChooseCaretX(*args, **kwargs):
+ """
+ ChooseCaretX(self)
+
+ Set the last x chosen value to be the caret x position.
+ """
+ return _stc.StyledTextCtrl_ChooseCaretX(*args, **kwargs)
+
+ def SetXCaretPolicy(*args, **kwargs):
+ """
+ SetXCaretPolicy(self, int caretPolicy, int caretSlop)
+
+ Set the way the caret is kept visible when going sideway.
+ The exclusion zone is given in pixels.
+ """
+ return _stc.StyledTextCtrl_SetXCaretPolicy(*args, **kwargs)
+
+ def SetYCaretPolicy(*args, **kwargs):
+ """
+ SetYCaretPolicy(self, int caretPolicy, int caretSlop)
+
+ Set the way the line the caret is on is kept visible.
+ The exclusion zone is given in lines.
+ """
+ return _stc.StyledTextCtrl_SetYCaretPolicy(*args, **kwargs)
+
+ def SetPrintWrapMode(*args, **kwargs):
+ """
+ SetPrintWrapMode(self, int mode)
+
+ Set printing to line wrapped (SC_WRAP_WORD) or not line wrapped (SC_WRAP_NONE).
+ """
+ return _stc.StyledTextCtrl_SetPrintWrapMode(*args, **kwargs)
+
+ def GetPrintWrapMode(*args, **kwargs):
+ """
+ GetPrintWrapMode(self) -> int
+
+ Is printing line wrapped?
+ """
+ return _stc.StyledTextCtrl_GetPrintWrapMode(*args, **kwargs)
+
+ def SetHotspotActiveForeground(*args, **kwargs):
+ """
+ SetHotspotActiveForeground(self, bool useSetting, Colour fore)
+
+ Set a fore colour for active hotspots.
+ """
+ return _stc.StyledTextCtrl_SetHotspotActiveForeground(*args, **kwargs)
+
+ def SetHotspotActiveBackground(*args, **kwargs):
+ """
+ SetHotspotActiveBackground(self, bool useSetting, Colour back)
+
+ Set a back colour for active hotspots.
+ """
+ return _stc.StyledTextCtrl_SetHotspotActiveBackground(*args, **kwargs)
+
+ def SetHotspotActiveUnderline(*args, **kwargs):
+ """
+ SetHotspotActiveUnderline(self, bool underline)
+
+ Enable / Disable underlining active hotspots.
+ """
+ return _stc.StyledTextCtrl_SetHotspotActiveUnderline(*args, **kwargs)
+
+ def SetHotspotSingleLine(*args, **kwargs):
+ """
+ SetHotspotSingleLine(self, bool singleLine)
+
+ Limit hotspots to single line so hotspots on two lines don't merge.
+ """
+ return _stc.StyledTextCtrl_SetHotspotSingleLine(*args, **kwargs)
+
+ def ParaDown(*args, **kwargs):
+ """
+ ParaDown(self)
+
+ Move caret between paragraphs (delimited by empty lines).
+ """
+ return _stc.StyledTextCtrl_ParaDown(*args, **kwargs)
+
+ def ParaDownExtend(*args, **kwargs):
+ """ParaDownExtend(self)"""
+ return _stc.StyledTextCtrl_ParaDownExtend(*args, **kwargs)
+
+ def ParaUp(*args, **kwargs):
+ """ParaUp(self)"""
+ return _stc.StyledTextCtrl_ParaUp(*args, **kwargs)
+
+ def ParaUpExtend(*args, **kwargs):
+ """ParaUpExtend(self)"""
+ return _stc.StyledTextCtrl_ParaUpExtend(*args, **kwargs)
+
+ def PositionBefore(*args, **kwargs):
+ """
+ PositionBefore(self, int pos) -> int
+
+ Given a valid document position, return the previous position taking code
+ page into account. Returns 0 if passed 0.
+ """
+ return _stc.StyledTextCtrl_PositionBefore(*args, **kwargs)
+
+ def PositionAfter(*args, **kwargs):
+ """
+ PositionAfter(self, int pos) -> int
+
+ Given a valid document position, return the next position taking code
+ page into account. Maximum value returned is the last position in the document.
+ """
+ return _stc.StyledTextCtrl_PositionAfter(*args, **kwargs)
+
+ def CopyRange(*args, **kwargs):
+ """
+ CopyRange(self, int start, int end)
+
+ Copy a range of text to the clipboard. Positions are clipped into the document.
+ """
+ return _stc.StyledTextCtrl_CopyRange(*args, **kwargs)
+
+ def CopyText(*args, **kwargs):
+ """
+ CopyText(self, int length, String text)
+
+ Copy argument text to the clipboard.
+ """
+ return _stc.StyledTextCtrl_CopyText(*args, **kwargs)
+
+ def SetSelectionMode(*args, **kwargs):
+ """
+ SetSelectionMode(self, int mode)
+
+ Set the selection mode to stream (SC_SEL_STREAM) or rectangular (SC_SEL_RECTANGLE) or
+ by lines (SC_SEL_LINES).
+ """
+ return _stc.StyledTextCtrl_SetSelectionMode(*args, **kwargs)
+
+ def GetSelectionMode(*args, **kwargs):
+ """
+ GetSelectionMode(self) -> int
+
+ Get the mode of the current selection.
+ """
+ return _stc.StyledTextCtrl_GetSelectionMode(*args, **kwargs)
+
+ def GetLineSelStartPosition(*args, **kwargs):
+ """
+ GetLineSelStartPosition(self, int line) -> int
+
+ Retrieve the position of the start of the selection at the given line (INVALID_POSITION if no selection on this line).
+ """
+ return _stc.StyledTextCtrl_GetLineSelStartPosition(*args, **kwargs)
+
+ def GetLineSelEndPosition(*args, **kwargs):
+ """
+ GetLineSelEndPosition(self, int line) -> int
+
+ Retrieve the position of the end of the selection at the given line (INVALID_POSITION if no selection on this line).
+ """
+ return _stc.StyledTextCtrl_GetLineSelEndPosition(*args, **kwargs)
+
+ def LineDownRectExtend(*args, **kwargs):
+ """
+ LineDownRectExtend(self)
+
+ Move caret down one line, extending rectangular selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_LineDownRectExtend(*args, **kwargs)
+
+ def LineUpRectExtend(*args, **kwargs):
+ """
+ LineUpRectExtend(self)
+
+ Move caret up one line, extending rectangular selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_LineUpRectExtend(*args, **kwargs)
+
+ def CharLeftRectExtend(*args, **kwargs):
+ """
+ CharLeftRectExtend(self)
+
+ Move caret left one character, extending rectangular selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_CharLeftRectExtend(*args, **kwargs)
+
+ def CharRightRectExtend(*args, **kwargs):
+ """
+ CharRightRectExtend(self)
+
+ Move caret right one character, extending rectangular selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_CharRightRectExtend(*args, **kwargs)
+
+ def HomeRectExtend(*args, **kwargs):
+ """
+ HomeRectExtend(self)
+
+ Move caret to first position on line, extending rectangular selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_HomeRectExtend(*args, **kwargs)
+
+ def VCHomeRectExtend(*args, **kwargs):
+ """
+ VCHomeRectExtend(self)
+
+ Move caret to before first visible character on line.
+ If already there move to first character on line.
+ In either case, extend rectangular selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_VCHomeRectExtend(*args, **kwargs)
+
+ def LineEndRectExtend(*args, **kwargs):
+ """
+ LineEndRectExtend(self)
+
+ Move caret to last position on line, extending rectangular selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_LineEndRectExtend(*args, **kwargs)
+
+ def PageUpRectExtend(*args, **kwargs):
+ """
+ PageUpRectExtend(self)
+
+ Move caret one page up, extending rectangular selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_PageUpRectExtend(*args, **kwargs)
+
+ def PageDownRectExtend(*args, **kwargs):
+ """
+ PageDownRectExtend(self)
+
+ Move caret one page down, extending rectangular selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_PageDownRectExtend(*args, **kwargs)
+
+ def StutteredPageUp(*args, **kwargs):
+ """
+ StutteredPageUp(self)
+
+ Move caret to top of page, or one page up if already at top of page.
+ """
+ return _stc.StyledTextCtrl_StutteredPageUp(*args, **kwargs)
+
+ def StutteredPageUpExtend(*args, **kwargs):
+ """
+ StutteredPageUpExtend(self)
+
+ Move caret to top of page, or one page up if already at top of page, extending selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_StutteredPageUpExtend(*args, **kwargs)
+
+ def StutteredPageDown(*args, **kwargs):
+ """
+ StutteredPageDown(self)
+
+ Move caret to bottom of page, or one page down if already at bottom of page.
+ """
+ return _stc.StyledTextCtrl_StutteredPageDown(*args, **kwargs)
+
+ def StutteredPageDownExtend(*args, **kwargs):
+ """
+ StutteredPageDownExtend(self)
+
+ Move caret to bottom of page, or one page down if already at bottom of page, extending selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_StutteredPageDownExtend(*args, **kwargs)
+
+ def WordLeftEnd(*args, **kwargs):
+ """
+ WordLeftEnd(self)
+
+ Move caret left one word, position cursor at end of word.
+ """
+ return _stc.StyledTextCtrl_WordLeftEnd(*args, **kwargs)
+
+ def WordLeftEndExtend(*args, **kwargs):
+ """
+ WordLeftEndExtend(self)
+
+ Move caret left one word, position cursor at end of word, extending selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_WordLeftEndExtend(*args, **kwargs)
+
+ def WordRightEnd(*args, **kwargs):
+ """
+ WordRightEnd(self)
+
+ Move caret right one word, position cursor at end of word.
+ """
+ return _stc.StyledTextCtrl_WordRightEnd(*args, **kwargs)
+
+ def WordRightEndExtend(*args, **kwargs):
+ """
+ WordRightEndExtend(self)
+
+ Move caret right one word, position cursor at end of word, extending selection to new caret position.
+ """
+ return _stc.StyledTextCtrl_WordRightEndExtend(*args, **kwargs)
+
+ def SetWhitespaceChars(*args, **kwargs):
+ """
+ SetWhitespaceChars(self, String characters)
+
+ Set the set of characters making up whitespace for when moving or selecting by word.
+ Should be called after SetWordChars.
+ """
+ return _stc.StyledTextCtrl_SetWhitespaceChars(*args, **kwargs)
+
+ def SetCharsDefault(*args, **kwargs):
+ """
+ SetCharsDefault(self)
+
+ Reset the set of characters for whitespace and word characters to the defaults.
+ """
+ return _stc.StyledTextCtrl_SetCharsDefault(*args, **kwargs)
+
+ def AutoCompGetCurrent(*args, **kwargs):
+ """
+ AutoCompGetCurrent(self) -> int
+
+ Get currently selected item position in the auto-completion list
+ """
+ return _stc.StyledTextCtrl_AutoCompGetCurrent(*args, **kwargs)
+
+ def Allocate(*args, **kwargs):
+ """
+ Allocate(self, int bytes)
+
+ Enlarge the document to a particular size of text bytes.
+ """
+ return _stc.StyledTextCtrl_Allocate(*args, **kwargs)
+
+ def FindColumn(*args, **kwargs):
+ """
+ FindColumn(self, int line, int column) -> int
+
+ Find the position of a column on a line taking into account tabs and
+ multi-byte characters. If beyond end of line, return line end position.
+ """
+ return _stc.StyledTextCtrl_FindColumn(*args, **kwargs)
+
+ def StartRecord(*args, **kwargs):
+ """
+ StartRecord(self)
+
+ Start notifying the container of all key presses and commands.
+ """
+ return _stc.StyledTextCtrl_StartRecord(*args, **kwargs)
+
+ def StopRecord(*args, **kwargs):
+ """
+ StopRecord(self)
+
+ Stop notifying the container of all key presses and commands.
+ """
+ return _stc.StyledTextCtrl_StopRecord(*args, **kwargs)
+
+ def SetLexer(*args, **kwargs):
+ """
+ SetLexer(self, int lexer)
+
+ Set the lexing language of the document.
+ """
+ return _stc.StyledTextCtrl_SetLexer(*args, **kwargs)
+
+ def GetLexer(*args, **kwargs):
+ """
+ GetLexer(self) -> int
+
+ Retrieve the lexing language of the document.
+ """
+ return _stc.StyledTextCtrl_GetLexer(*args, **kwargs)
+
+ def Colourise(*args, **kwargs):
+ """
+ Colourise(self, int start, int end)
+
+ Colourise a segment of the document using the current lexing language.
+ """
+ return _stc.StyledTextCtrl_Colourise(*args, **kwargs)
+
+ def SetProperty(*args, **kwargs):
+ """
+ SetProperty(self, String key, String value)
+
+ Set up a value that may be used by a lexer for some optional feature.
+ """
+ return _stc.StyledTextCtrl_SetProperty(*args, **kwargs)
+
+ def SetKeyWords(*args, **kwargs):
+ """
+ SetKeyWords(self, int keywordSet, String keyWords)
+
+ Set up the key words used by the lexer.
+ """
+ return _stc.StyledTextCtrl_SetKeyWords(*args, **kwargs)
+
+ def SetLexerLanguage(*args, **kwargs):
+ """
+ SetLexerLanguage(self, String language)
+
+ Set the lexing language of the document based on string name.
+ """
+ return _stc.StyledTextCtrl_SetLexerLanguage(*args, **kwargs)
+
+ def GetCurrentLine(*args, **kwargs):
+ """
+ GetCurrentLine(self) -> int
+
+ Returns the line number of the line with the caret.
+ """
+ return _stc.StyledTextCtrl_GetCurrentLine(*args, **kwargs)
+
+ def StyleSetSpec(*args, **kwargs):
+ """
+ StyleSetSpec(self, int styleNum, String spec)
+
+ Extract style settings from a spec-string which is composed of one or
+ more of the following comma separated elements::
+
+ bold turns on bold
+ italic turns on italics
+ fore:[name or #RRGGBB] sets the foreground colour
+ back:[name or #RRGGBB] sets the background colour
+ face:[facename] sets the font face name to use
+ size:[num] sets the font size in points
+ eol turns on eol filling
+ underline turns on underlining
+
+ """
+ return _stc.StyledTextCtrl_StyleSetSpec(*args, **kwargs)
+
+ def StyleSetFont(*args, **kwargs):
+ """
+ StyleSetFont(self, int styleNum, Font font)
+
+ Set style size, face, bold, italic, and underline attributes from the
+ attributes of a `wx.Font`.
+ """
+ return _stc.StyledTextCtrl_StyleSetFont(*args, **kwargs)
+
+ def StyleSetFontAttr(*args, **kwargs):
+ """
+ StyleSetFontAttr(self, int styleNum, int size, String faceName, bool bold,
+ bool italic, bool underline, int encoding=wxFONTENCODING_DEFAULT)
+
+ Set all font style attributes at once.
+ """
+ return _stc.StyledTextCtrl_StyleSetFontAttr(*args, **kwargs)
+
+ def StyleSetCharacterSet(*args, **kwargs):
+ """
+ StyleSetCharacterSet(self, int style, int characterSet)
+
+ Set the character set of the font in a style. Converts the Scintilla
+ wx.stc.STC_CHARSET_* set values to a wxFontEncoding.
+ """
+ return _stc.StyledTextCtrl_StyleSetCharacterSet(*args, **kwargs)
+
+ def StyleSetFontEncoding(*args, **kwargs):
+ """
+ StyleSetFontEncoding(self, int style, int encoding)
+
+ Set the font encoding to be used by a style.
+ """
+ return _stc.StyledTextCtrl_StyleSetFontEncoding(*args, **kwargs)
+
+ def CmdKeyExecute(*args, **kwargs):
+ """
+ CmdKeyExecute(self, int cmd)
+
+ Perform one of the operations defined by the wx.stc.STC_CMD_* constants.
+ """
+ return _stc.StyledTextCtrl_CmdKeyExecute(*args, **kwargs)
+
+ def SetMargins(*args, **kwargs):
+ """
+ SetMargins(self, int left, int right)
+
+ Set the left and right margin in the edit area, measured in pixels.
+ """
+ return _stc.StyledTextCtrl_SetMargins(*args, **kwargs)
+
+ def GetSelection(*args, **kwargs):
+ """
+ GetSelection(self) -> (startPos, endPos)
+
+ Retrieve the start and end positions of the current selection.
+ """
+ return _stc.StyledTextCtrl_GetSelection(*args, **kwargs)
+
+ def PointFromPosition(*args, **kwargs):
+ """
+ PointFromPosition(self, int pos) -> Point
+
+ Retrieve the point in the window where a position is displayed.
+ """
+ return _stc.StyledTextCtrl_PointFromPosition(*args, **kwargs)
+
+ def ScrollToLine(*args, **kwargs):
+ """
+ ScrollToLine(self, int line)
+
+ Scroll enough to make the given line visible.
+ """
+ return _stc.StyledTextCtrl_ScrollToLine(*args, **kwargs)
+
+ def ScrollToColumn(*args, **kwargs):
+ """
+ ScrollToColumn(self, int column)
+
+ Scroll enough to make the given column visible
+ """
+ return _stc.StyledTextCtrl_ScrollToColumn(*args, **kwargs)
+
+ def SendMsg(*args, **kwargs):
+ """
+ SendMsg(self, int msg, long wp=0, long lp=0) -> long
+
+ Send a message to Scintilla.
+ """
+ return _stc.StyledTextCtrl_SendMsg(*args, **kwargs)
+
+ def SetVScrollBar(*args, **kwargs):
+ """
+ SetVScrollBar(self, wxScrollBar bar)
+
+ Set the vertical scrollbar to use instead of the one that's built-in.
+ """
+ return _stc.StyledTextCtrl_SetVScrollBar(*args, **kwargs)
+
+ def SetHScrollBar(*args, **kwargs):
+ """
+ SetHScrollBar(self, wxScrollBar bar)
+
+ Set the horizontal scrollbar to use instead of the ont that's built-in.
+ """
+ return _stc.StyledTextCtrl_SetHScrollBar(*args, **kwargs)
+
+ def GetLastKeydownProcessed(*args, **kwargs):
+ """GetLastKeydownProcessed(self) -> bool"""
+ return _stc.StyledTextCtrl_GetLastKeydownProcessed(*args, **kwargs)
+
+ def SetLastKeydownProcessed(*args, **kwargs):
+ """SetLastKeydownProcessed(self, bool val)"""
+ return _stc.StyledTextCtrl_SetLastKeydownProcessed(*args, **kwargs)
+
+ def SaveFile(*args, **kwargs):
+ """
+ SaveFile(self, String filename) -> bool
+
+ Write the contents of the editor to filename
+ """
+ return _stc.StyledTextCtrl_SaveFile(*args, **kwargs)
+
+ def LoadFile(*args, **kwargs):
+ """
+ LoadFile(self, String filename) -> bool
+
+ Load the contents of filename into the editor
+ """
+ return _stc.StyledTextCtrl_LoadFile(*args, **kwargs)
+
+ def DoDragOver(*args, **kwargs):
+ """
+ DoDragOver(self, int x, int y, int def) -> int
+
+ Allow for simulating a DnD DragOver.
+ """
+ return _stc.StyledTextCtrl_DoDragOver(*args, **kwargs)
+
+ def DoDropText(*args, **kwargs):
+ """
+ DoDropText(self, long x, long y, String data) -> bool
+
+ Allow for simulating a DnD DropText.
+ """
+ return _stc.StyledTextCtrl_DoDropText(*args, **kwargs)
+
+ def SetUseAntiAliasing(*args, **kwargs):
+ """
+ SetUseAntiAliasing(self, bool useAA)
+
+ Specify whether anti-aliased fonts should be used. Will have no
+ effect on some platforms, but on some (wxMac for example) can greatly
+ improve performance.
+ """
+ return _stc.StyledTextCtrl_SetUseAntiAliasing(*args, **kwargs)
+
+ def GetUseAntiAliasing(*args, **kwargs):
+ """
+ GetUseAntiAliasing(self) -> bool
+
+ Returns the current UseAntiAliasing setting.
+ """
+ return _stc.StyledTextCtrl_GetUseAntiAliasing(*args, **kwargs)
+
+ def AddTextRaw(*args, **kwargs):
+ """
+ AddTextRaw(self, char text)
+
+ Add text to the document at current position. The text should be
+ utf-8 encoded on unicode builds of wxPython, or can be any 8-bit text
+ in ansi builds.
+ """
+ return _stc.StyledTextCtrl_AddTextRaw(*args, **kwargs)
+
+ def InsertTextRaw(*args, **kwargs):
+ """
+ InsertTextRaw(self, int pos, char text)
+
+ Insert string at a position. The text should be utf-8 encoded on
+ unicode builds of wxPython, or can be any 8-bit text in ansi builds.
+ """
+ return _stc.StyledTextCtrl_InsertTextRaw(*args, **kwargs)
+
+ def GetCurLineRaw(*args, **kwargs):
+ """
+ GetCurLineRaw() -> (text, index)
+
+ Retrieve the text of the line containing the caret, and also the index
+ of the caret on the line. The returned value is a utf-8 encoded
+ string in unicode builds of wxPython, or raw 8-bit text otherwise.
+ """
+ return _stc.StyledTextCtrl_GetCurLineRaw(*args, **kwargs)
+
+ def GetLineRaw(*args, **kwargs):
+ """
+ GetLineRaw(self, int line) -> wxCharBuffer
+
+ Retrieve the contents of a line. The returned value is a utf-8
+ encoded string in unicode builds of wxPython, or raw 8-bit text
+ otherwise.
+ """
+ return _stc.StyledTextCtrl_GetLineRaw(*args, **kwargs)
+
+ def GetSelectedTextRaw(*args, **kwargs):
+ """
+ GetSelectedTextRaw(self) -> wxCharBuffer
+
+ Retrieve the selected text. The returned value is a utf-8 encoded
+ string in unicode builds of wxPython, or raw 8-bit text otherwise.
+ """
+ return _stc.StyledTextCtrl_GetSelectedTextRaw(*args, **kwargs)
+
+ def GetTextRangeRaw(*args, **kwargs):
+ """
+ GetTextRangeRaw(self, int startPos, int endPos) -> wxCharBuffer
+
+ Retrieve a range of text. The returned value is a utf-8 encoded
+ string in unicode builds of wxPython, or raw 8-bit text otherwise.
+ """
+ return _stc.StyledTextCtrl_GetTextRangeRaw(*args, **kwargs)
+
+ def SetTextRaw(*args, **kwargs):
+ """
+ SetTextRaw(self, char text)
+
+ Replace the contents of the document with the argument text. The text
+ should be utf-8 encoded on unicode builds of wxPython, or can be any
+ 8-bit text in ansi builds.
+ """
+ return _stc.StyledTextCtrl_SetTextRaw(*args, **kwargs)
+
+ def GetTextRaw(*args, **kwargs):
+ """
+ GetTextRaw(self) -> wxCharBuffer
+
+ Retrieve all the text in the document. The returned value is a utf-8
+ encoded string in unicode builds of wxPython, or raw 8-bit text
+ otherwise.
+ """
+ return _stc.StyledTextCtrl_GetTextRaw(*args, **kwargs)
+
+ def AppendTextRaw(*args, **kwargs):
+ """
+ AppendTextRaw(self, char text)
+
+ Append a string to the end of the document without changing the
+ selection. The text should be utf-8 encoded on unicode builds of
+ wxPython, or can be any 8-bit text in ansi builds.
+ """
+ return _stc.StyledTextCtrl_AppendTextRaw(*args, **kwargs)
+
+ def AddTextUTF8(self, text):
+ """
+ Add UTF8 encoded text to the document at the current position.
+ Works 'natively' in a unicode build of wxPython, and will also work
+ in an ansi build if the UTF8 text is compatible with the current
+ encoding.
+ """
+ if not wx.USE_UNICODE:
+ u = text.decode('utf-8')
+ text = u.encode(wx.GetDefaultPyEncoding())
+ self.AddTextRaw(text)
+
+
+ def InsertTextUTF8(self, pos, text):
+ """
+ Insert UTF8 encoded text at a position. Works 'natively' in a
+ unicode build of wxPython, and will also work in an ansi build if
+ the UTF8 text is compatible with the current encoding.
+ """
+ if not wx.USE_UNICODE:
+ u = text.decode('utf-8')
+ text = u.encode(wx.GetDefaultPyEncoding())
+ self.InsertTextRaw(pos, text)
+
+
+ def GetCurLineUTF8(self):
+ """
+ Retrieve the UTF8 text of the line containing the caret, and also
+ the index of the caret on the line. In an ansi build of wxPython
+ the text retrieved from the document is assumed to be in the
+ current default encoding.
+ """
+ text, pos = self.GetCurLineRaw()
+ if not wx.USE_UNICODE:
+ u = text.decode(wx.GetDefaultPyEncoding())
+ text = u.encode('utf-8')
+ return text, pos
+
+
+ def GetLineUTF8(self, line):
+ """
+ Retrieve the contents of a line as UTF8. In an ansi build of wxPython
+ the text retrieved from the document is assumed to be in the
+ current default encoding.
+ """
+ text = self.GetLineRaw(line)
+ if not wx.USE_UNICODE:
+ u = text.decode(wx.GetDefaultPyEncoding())
+ text = u.encode('utf-8')
+ return text
+
+
+ def GetSelectedTextUTF8(self):
+ """
+ Retrieve the selected text as UTF8. In an ansi build of wxPython
+ the text retrieved from the document is assumed to be in the
+ current default encoding.
+ """
+ text = self.GetSelectedTextRaw()
+ if not wx.USE_UNICODE:
+ u = text.decode(wx.GetDefaultPyEncoding())
+ text = u.encode('utf-8')
+ return text
+
+
+ def GetTextRangeUTF8(self, startPos, endPos):
+ """
+ Retrieve a range of text as UTF8. In an ansi build of wxPython
+ the text retrieved from the document is assumed to be in the
+ current default encoding.
+ """
+ text = self.GetTextRangeRaw(startPos, endPos)
+ if not wx.USE_UNICODE:
+ u = text.decode(wx.GetDefaultPyEncoding())
+ text = u.encode('utf-8')
+ return text
+
+
+ def SetTextUTF8(self, text):
+ """
+ Replace the contents of the document with the UTF8 text given.
+ Works 'natively' in a unicode build of wxPython, and will also
+ work in an ansi build if the UTF8 text is compatible with the
+ current encoding.
+ """
+ if not wx.USE_UNICODE:
+ u = text.decode('utf-8')
+ text = u.encode(wx.GetDefaultPyEncoding())
+ self.SetTextRaw(text)
+
+
+ def GetTextUTF8(self):
+ """
+ Retrieve all the text in the document as UTF8. In an ansi build
+ of wxPython the text retrieved from the document is assumed to be
+ in the current default encoding.
+ """
+ text = self.GetTextRaw()
+ if not wx.USE_UNICODE:
+ u = text.decode(wx.GetDefaultPyEncoding())
+ text = u.encode('utf-8')
+ return text
+
+
+ def AppendTextUTF8(self, text):
+ """
+ Append a UTF8 string to the end of the document without changing
+ the selection. Works 'natively' in a unicode build of wxPython,
+ and will also work in an ansi build if the UTF8 text is compatible
+ with the current encoding.
+ """
+ if not wx.USE_UNICODE:
+ u = text.decode('utf-8')
+ text = u.encode(wx.GetDefaultPyEncoding())
+ self.AppendTextRaw(text)
+
+
+
+class StyledTextCtrlPtr(StyledTextCtrl):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = StyledTextCtrl
+_stc.StyledTextCtrl_swigregister(StyledTextCtrlPtr)
+cvar = _stc.cvar
+STCNameStr = cvar.STCNameStr
+
+def PreStyledTextCtrl(*args, **kwargs):
+ """PreStyledTextCtrl() -> StyledTextCtrl"""
+ val = _stc.new_PreStyledTextCtrl(*args, **kwargs)
+ val.thisown = 1
+ return val
+
+class StyledTextEvent(_core.CommandEvent):
+ """Proxy of C++ StyledTextEvent class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxStyledTextEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self, wxEventType commandType=0, int id=0) -> StyledTextEvent"""
+ newobj = _stc.new_StyledTextEvent(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def __del__(self, destroy=_stc.delete_StyledTextEvent):
+ """__del__(self)"""
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+
+ def SetPosition(*args, **kwargs):
+ """SetPosition(self, int pos)"""
+ return _stc.StyledTextEvent_SetPosition(*args, **kwargs)
+
+ def SetKey(*args, **kwargs):
+ """SetKey(self, int k)"""
+ return _stc.StyledTextEvent_SetKey(*args, **kwargs)
+
+ def SetModifiers(*args, **kwargs):
+ """SetModifiers(self, int m)"""
+ return _stc.StyledTextEvent_SetModifiers(*args, **kwargs)
+
+ def SetModificationType(*args, **kwargs):
+ """SetModificationType(self, int t)"""
+ return _stc.StyledTextEvent_SetModificationType(*args, **kwargs)
+
+ def SetText(*args, **kwargs):
+ """SetText(self, String t)"""
+ return _stc.StyledTextEvent_SetText(*args, **kwargs)
+
+ def SetLength(*args, **kwargs):
+ """SetLength(self, int len)"""
+ return _stc.StyledTextEvent_SetLength(*args, **kwargs)
+
+ def SetLinesAdded(*args, **kwargs):
+ """SetLinesAdded(self, int num)"""
+ return _stc.StyledTextEvent_SetLinesAdded(*args, **kwargs)
+
+ def SetLine(*args, **kwargs):
+ """SetLine(self, int val)"""
+ return _stc.StyledTextEvent_SetLine(*args, **kwargs)
+
+ def SetFoldLevelNow(*args, **kwargs):
+ """SetFoldLevelNow(self, int val)"""
+ return _stc.StyledTextEvent_SetFoldLevelNow(*args, **kwargs)
+
+ def SetFoldLevelPrev(*args, **kwargs):
+ """SetFoldLevelPrev(self, int val)"""
+ return _stc.StyledTextEvent_SetFoldLevelPrev(*args, **kwargs)
+
+ def SetMargin(*args, **kwargs):
+ """SetMargin(self, int val)"""
+ return _stc.StyledTextEvent_SetMargin(*args, **kwargs)
+
+ def SetMessage(*args, **kwargs):
+ """SetMessage(self, int val)"""
+ return _stc.StyledTextEvent_SetMessage(*args, **kwargs)
+
+ def SetWParam(*args, **kwargs):
+ """SetWParam(self, int val)"""
+ return _stc.StyledTextEvent_SetWParam(*args, **kwargs)
+
+ def SetLParam(*args, **kwargs):
+ """SetLParam(self, int val)"""
+ return _stc.StyledTextEvent_SetLParam(*args, **kwargs)
+
+ def SetListType(*args, **kwargs):
+ """SetListType(self, int val)"""
+ return _stc.StyledTextEvent_SetListType(*args, **kwargs)
+
+ def SetX(*args, **kwargs):
+ """SetX(self, int val)"""
+ return _stc.StyledTextEvent_SetX(*args, **kwargs)
+
+ def SetY(*args, **kwargs):
+ """SetY(self, int val)"""
+ return _stc.StyledTextEvent_SetY(*args, **kwargs)
+
+ def SetDragText(*args, **kwargs):
+ """SetDragText(self, String val)"""
+ return _stc.StyledTextEvent_SetDragText(*args, **kwargs)
+
+ def SetDragAllowMove(*args, **kwargs):
+ """SetDragAllowMove(self, bool val)"""
+ return _stc.StyledTextEvent_SetDragAllowMove(*args, **kwargs)
+
+ def SetDragResult(*args, **kwargs):
+ """SetDragResult(self, int val)"""
+ return _stc.StyledTextEvent_SetDragResult(*args, **kwargs)
+
+ def GetPosition(*args, **kwargs):
+ """GetPosition(self) -> int"""
+ return _stc.StyledTextEvent_GetPosition(*args, **kwargs)
+
+ def GetKey(*args, **kwargs):
+ """GetKey(self) -> int"""
+ return _stc.StyledTextEvent_GetKey(*args, **kwargs)
+
+ def GetModifiers(*args, **kwargs):
+ """GetModifiers(self) -> int"""
+ return _stc.StyledTextEvent_GetModifiers(*args, **kwargs)
+
+ def GetModificationType(*args, **kwargs):
+ """GetModificationType(self) -> int"""
+ return _stc.StyledTextEvent_GetModificationType(*args, **kwargs)
+
+ def GetText(*args, **kwargs):
+ """GetText(self) -> String"""
+ return _stc.StyledTextEvent_GetText(*args, **kwargs)
+
+ def GetLength(*args, **kwargs):
+ """GetLength(self) -> int"""
+ return _stc.StyledTextEvent_GetLength(*args, **kwargs)
+
+ def GetLinesAdded(*args, **kwargs):
+ """GetLinesAdded(self) -> int"""
+ return _stc.StyledTextEvent_GetLinesAdded(*args, **kwargs)
+
+ def GetLine(*args, **kwargs):
+ """GetLine(self) -> int"""
+ return _stc.StyledTextEvent_GetLine(*args, **kwargs)
+
+ def GetFoldLevelNow(*args, **kwargs):
+ """GetFoldLevelNow(self) -> int"""
+ return _stc.StyledTextEvent_GetFoldLevelNow(*args, **kwargs)
+
+ def GetFoldLevelPrev(*args, **kwargs):
+ """GetFoldLevelPrev(self) -> int"""
+ return _stc.StyledTextEvent_GetFoldLevelPrev(*args, **kwargs)
+
+ def GetMargin(*args, **kwargs):
+ """GetMargin(self) -> int"""
+ return _stc.StyledTextEvent_GetMargin(*args, **kwargs)
+
+ def GetMessage(*args, **kwargs):
+ """GetMessage(self) -> int"""
+ return _stc.StyledTextEvent_GetMessage(*args, **kwargs)
+
+ def GetWParam(*args, **kwargs):
+ """GetWParam(self) -> int"""
+ return _stc.StyledTextEvent_GetWParam(*args, **kwargs)
+
+ def GetLParam(*args, **kwargs):
+ """GetLParam(self) -> int"""
+ return _stc.StyledTextEvent_GetLParam(*args, **kwargs)
+
+ def GetListType(*args, **kwargs):
+ """GetListType(self) -> int"""
+ return _stc.StyledTextEvent_GetListType(*args, **kwargs)
+
+ def GetX(*args, **kwargs):
+ """GetX(self) -> int"""
+ return _stc.StyledTextEvent_GetX(*args, **kwargs)
+
+ def GetY(*args, **kwargs):
+ """GetY(self) -> int"""
+ return _stc.StyledTextEvent_GetY(*args, **kwargs)
+
+ def GetDragText(*args, **kwargs):
+ """GetDragText(self) -> String"""
+ return _stc.StyledTextEvent_GetDragText(*args, **kwargs)
+
+ def GetDragAllowMove(*args, **kwargs):
+ """GetDragAllowMove(self) -> bool"""
+ return _stc.StyledTextEvent_GetDragAllowMove(*args, **kwargs)
+
+ def GetDragResult(*args, **kwargs):
+ """GetDragResult(self) -> int"""
+ return _stc.StyledTextEvent_GetDragResult(*args, **kwargs)
+
+ def GetShift(*args, **kwargs):
+ """GetShift(self) -> bool"""
+ return _stc.StyledTextEvent_GetShift(*args, **kwargs)
+
+ def GetControl(*args, **kwargs):
+ """GetControl(self) -> bool"""
+ return _stc.StyledTextEvent_GetControl(*args, **kwargs)
+
+ def GetAlt(*args, **kwargs):
+ """GetAlt(self) -> bool"""
+ return _stc.StyledTextEvent_GetAlt(*args, **kwargs)
+
+ def Clone(*args, **kwargs):
+ """Clone(self) -> Event"""
+ return _stc.StyledTextEvent_Clone(*args, **kwargs)
+
+
+class StyledTextEventPtr(StyledTextEvent):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = StyledTextEvent
+_stc.StyledTextEvent_swigregister(StyledTextEventPtr)
+
+wxEVT_STC_CHANGE = _stc.wxEVT_STC_CHANGE
+wxEVT_STC_STYLENEEDED = _stc.wxEVT_STC_STYLENEEDED
+wxEVT_STC_CHARADDED = _stc.wxEVT_STC_CHARADDED
+wxEVT_STC_SAVEPOINTREACHED = _stc.wxEVT_STC_SAVEPOINTREACHED
+wxEVT_STC_SAVEPOINTLEFT = _stc.wxEVT_STC_SAVEPOINTLEFT
+wxEVT_STC_ROMODIFYATTEMPT = _stc.wxEVT_STC_ROMODIFYATTEMPT
+wxEVT_STC_KEY = _stc.wxEVT_STC_KEY
+wxEVT_STC_DOUBLECLICK = _stc.wxEVT_STC_DOUBLECLICK
+wxEVT_STC_UPDATEUI = _stc.wxEVT_STC_UPDATEUI
+wxEVT_STC_MODIFIED = _stc.wxEVT_STC_MODIFIED
+wxEVT_STC_MACRORECORD = _stc.wxEVT_STC_MACRORECORD
+wxEVT_STC_MARGINCLICK = _stc.wxEVT_STC_MARGINCLICK
+wxEVT_STC_NEEDSHOWN = _stc.wxEVT_STC_NEEDSHOWN
+wxEVT_STC_PAINTED = _stc.wxEVT_STC_PAINTED
+wxEVT_STC_USERLISTSELECTION = _stc.wxEVT_STC_USERLISTSELECTION
+wxEVT_STC_URIDROPPED = _stc.wxEVT_STC_URIDROPPED
+wxEVT_STC_DWELLSTART = _stc.wxEVT_STC_DWELLSTART
+wxEVT_STC_DWELLEND = _stc.wxEVT_STC_DWELLEND
+wxEVT_STC_START_DRAG = _stc.wxEVT_STC_START_DRAG
+wxEVT_STC_DRAG_OVER = _stc.wxEVT_STC_DRAG_OVER
+wxEVT_STC_DO_DROP = _stc.wxEVT_STC_DO_DROP
+wxEVT_STC_ZOOM = _stc.wxEVT_STC_ZOOM
+wxEVT_STC_HOTSPOT_CLICK = _stc.wxEVT_STC_HOTSPOT_CLICK
+wxEVT_STC_HOTSPOT_DCLICK = _stc.wxEVT_STC_HOTSPOT_DCLICK
+wxEVT_STC_CALLTIP_CLICK = _stc.wxEVT_STC_CALLTIP_CLICK
+EVT_STC_CHANGE = wx.PyEventBinder( wxEVT_STC_CHANGE, 1 )
+EVT_STC_STYLENEEDED = wx.PyEventBinder( wxEVT_STC_STYLENEEDED, 1 )
+EVT_STC_CHARADDED = wx.PyEventBinder( wxEVT_STC_CHARADDED, 1 )
+EVT_STC_SAVEPOINTREACHED = wx.PyEventBinder( wxEVT_STC_SAVEPOINTREACHED, 1 )
+EVT_STC_SAVEPOINTLEFT = wx.PyEventBinder( wxEVT_STC_SAVEPOINTLEFT, 1 )
+EVT_STC_ROMODIFYATTEMPT = wx.PyEventBinder( wxEVT_STC_ROMODIFYATTEMPT, 1 )
+EVT_STC_KEY = wx.PyEventBinder( wxEVT_STC_KEY, 1 )
+EVT_STC_DOUBLECLICK = wx.PyEventBinder( wxEVT_STC_DOUBLECLICK, 1 )
+EVT_STC_UPDATEUI = wx.PyEventBinder( wxEVT_STC_UPDATEUI, 1 )
+EVT_STC_MODIFIED = wx.PyEventBinder( wxEVT_STC_MODIFIED, 1 )
+EVT_STC_MACRORECORD = wx.PyEventBinder( wxEVT_STC_MACRORECORD, 1 )
+EVT_STC_MARGINCLICK = wx.PyEventBinder( wxEVT_STC_MARGINCLICK, 1 )
+EVT_STC_NEEDSHOWN = wx.PyEventBinder( wxEVT_STC_NEEDSHOWN, 1 )
+EVT_STC_PAINTED = wx.PyEventBinder( wxEVT_STC_PAINTED, 1 )
+EVT_STC_USERLISTSELECTION = wx.PyEventBinder( wxEVT_STC_USERLISTSELECTION, 1 )
+EVT_STC_URIDROPPED = wx.PyEventBinder( wxEVT_STC_URIDROPPED, 1 )
+EVT_STC_DWELLSTART = wx.PyEventBinder( wxEVT_STC_DWELLSTART, 1 )
+EVT_STC_DWELLEND = wx.PyEventBinder( wxEVT_STC_DWELLEND, 1 )
+EVT_STC_START_DRAG = wx.PyEventBinder( wxEVT_STC_START_DRAG, 1 )
+EVT_STC_DRAG_OVER = wx.PyEventBinder( wxEVT_STC_DRAG_OVER, 1 )
+EVT_STC_DO_DROP = wx.PyEventBinder( wxEVT_STC_DO_DROP, 1 )
+EVT_STC_ZOOM = wx.PyEventBinder( wxEVT_STC_ZOOM, 1 )
+EVT_STC_HOTSPOT_CLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_CLICK, 1 )
+EVT_STC_HOTSPOT_DCLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_DCLICK, 1 )
+EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
+
+
+
PyObject *robj = 0;
if (!type) {
if (!PyErr_Occurred()) {
- PyErr_Forma
\ No newline at end of file
+ PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
+ }
+ return robj;
+ }
+ if (!ptr) {
+ Py_INCREF(Py_None);
+ return Py_None;
+ }
+#ifdef SWIG_COBJECT_TYPES
+ robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
+#else
+ {
+ char result[SWIG_BUFFER_SIZE];
+ robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
+ PyString_FromString(result) : 0;
+ }
+#endif
+ if (!robj || (robj == Py_None)) return robj;
+ if (type->clientdata) {
+ PyObject *inst;
+ PyObject *args = Py_BuildValue((char*)"(O)", robj);
+ Py_DECREF(robj);
+ inst = PyObject_CallObject((PyObject *) type->clientdata, args);
+ Py_DECREF(args);
+ if (inst) {
+ if (own) {
+ PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
+ }
+ robj = inst;
+ }
+ }
+ return robj;
+}
+
+SWIGRUNTIME PyObject *
+SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
+ PyObject *robj = 0;
+ if (!ptr) {
+ Py_INCREF(Py_None);
+ return Py_None;
+ }
+#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
+ robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
+#else
+ {
+ char result[SWIG_BUFFER_SIZE];
+ robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
+ PyString_FromString(result) : 0;
+ }
+#endif
+ return robj;
+}
+
+/* -----------------------------------------------------------------------------*
+ * Get type list
+ * -----------------------------------------------------------------------------*/
+
+#ifdef SWIG_LINK_RUNTIME
+void *SWIG_ReturnGlobalTypeList(void *);
+#endif
+
+SWIGRUNTIME swig_module_info *
+SWIG_Python_GetModule(void) {
+ static void *type_pointer = (void *)0;
+ /* first check if module already created */
+ if (!type_pointer) {
+#ifdef SWIG_LINK_RUNTIME
+ type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
+#else
+ type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
+ (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
+ if (PyErr_Occurred()) {
+ PyErr_Clear();
+ type_pointer = (void *)0;
+ }
+#endif
+ }
+ return (swig_module_info *) type_pointer;
+}
+
+#if PY_MAJOR_VERSION < 2
+/* PyModule_AddObject function was introduced in Python 2.0. The following function
+is copied out of Python/modsupport.c in python version 2.3.4 */
+SWIGINTERN int
+PyModule_AddObject(PyObject *m, char *name, PyObject *o)
+{
+ PyObject *dict;
+ if (!PyModule_Check(m)) {
+ PyErr_SetString(PyExc_TypeError,
+ "PyModule_AddObject() needs module as first arg");
+ return -1;
+ }
+ if (!o) {
+ PyErr_SetString(PyExc_TypeError,
+ "PyModule_AddObject() needs non-NULL value");
+ return -1;
+ }
+
+ dict = PyModule_GetDict(m);
+ if (dict == NULL) {
+ /* Internal error -- modules must have a dict! */
+ PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
+ PyModule_GetName(m));
+ return -1;
+ }
+ if (PyDict_SetItemString(dict, name, o))
+ return -1;
+ Py_DECREF(o);
+ return 0;
+}
+#endif
+
+SWIGRUNTIME void
+SWIG_Python_SetModule(swig_module_info *swig_module) {
+ static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
+
+ PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
+ swig_empty_runtime_method_table);
+ PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
+ if (pointer && module) {
+ PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
+ }
+}
+
+#ifdef __cplusplus
+}
+#endif
+
+
+/* -------- TYPES TABLE (BEGIN) -------- */
+
+#define SWIGTYPE_p_char swig_types[0]
+#define SWIGTYPE_p_form_ops_t swig_types[1]
+#define SWIGTYPE_p_int swig_types[2]
+#define SWIGTYPE_p_unsigned_char swig_types[3]
+#define SWIGTYPE_p_unsigned_int swig_types[4]
+#define SWIGTYPE_p_unsigned_long swig_types[5]
+#define SWIGTYPE_p_void swig_types[6]
+#define SWIGTYPE_p_wxANIHandler swig_types[7]
+#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
+#define SWIGTYPE_p_wxActivateEvent swig_types[9]
+#define SWIGTYPE_p_wxBMPHandler swig_types[10]
+#define SWIGTYPE_p_wxBitmap swig_types[11]
+#define SWIGTYPE_p_wxBoxSizer swig_types[12]
+#define SWIGTYPE_p_wxBusyInfo swig_types[13]
+#define SWIGTYPE_p_wxCURHandler swig_types[14]
+#define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
+#define SWIGTYPE_p_wxClipboard swig_types[16]
+#define SWIGTYPE_p_wxCloseEvent swig_types[17]
+#define SWIGTYPE_p_wxColour swig_types[18]
+#define SWIGTYPE_p_wxCommandEvent swig_types[19]
+#define SWIGTYPE_p_wxContextMenuEvent swig_types[20]
+#define SWIGTYPE_p_wxControl swig_types[21]
+#define SWIGTYPE_p_wxControlWithItems swig_types[22]
+#define SWIGTYPE_p_wxDC swig_types[23]
+#define SWIGTYPE_p_wxDateEvent swig_types[24]
+#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[25]
+#define SWIGTYPE_p_wxDropFilesEvent swig_types[26]
+#define SWIGTYPE_p_wxDuplexMode swig_types[27]
+#define SWIGTYPE_p_wxEraseEvent swig_types[28]
+#define SWIGTYPE_p_wxEvent swig_types[29]
+#define SWIGTYPE_p_wxEvtHandler swig_types[30]
+#define SWIGTYPE_p_wxFSFile swig_types[31]
+#define SWIGTYPE_p_wxFileHistory swig_types[32]
+#define SWIGTYPE_p_wxFileSystem swig_types[33]
+#define SWIGTYPE_p_wxFlexGridSizer swig_types[34]
+#define SWIGTYPE_p_wxFocusEvent swig_types[35]
+#define SWIGTYPE_p_wxFont swig_types[36]
+#define SWIGTYPE_p_wxGBSizerItem swig_types[37]
+#define SWIGTYPE_p_wxGIFHandler swig_types[38]
+#define SWIGTYPE_p_wxGridBagSizer swig_types[39]
+#define SWIGTYPE_p_wxGridSizer swig_types[40]
+#define SWIGTYPE_p_wxICOHandler swig_types[41]
+#define SWIGTYPE_p_wxIconizeEvent swig_types[42]
+#define SWIGTYPE_p_wxIdleEvent swig_types[43]
+#define SWIGTYPE_p_wxImage swig_types[44]
+#define SWIGTYPE_p_wxImageHandler swig_types[45]
+#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[46]
+#define SWIGTYPE_p_wxInitDialogEvent swig_types[47]
+#define SWIGTYPE_p_wxJPEGHandler swig_types[48]
+#define SWIGTYPE_p_wxJoystickEvent swig_types[49]
+#define SWIGTYPE_p_wxKeyEvent swig_types[50]
+#define SWIGTYPE_p_wxLayoutConstraints swig_types[51]
+#define SWIGTYPE_p_wxMaximizeEvent swig_types[52]
+#define SWIGTYPE_p_wxMemoryBuffer swig_types[53]
+#define SWIGTYPE_p_wxMenu swig_types[54]
+#define SWIGTYPE_p_wxMenuBar swig_types[55]
+#define SWIGTYPE_p_wxMenuEvent swig_types[56]
+#define SWIGTYPE_p_wxMenuItem swig_types[57]
+#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[58]
+#define SWIGTYPE_p_wxMouseEvent swig_types[59]
+#define SWIGTYPE_p_wxMoveEvent swig_types[60]
+#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[61]
+#define SWIGTYPE_p_wxNcPaintEvent swig_types[62]
+#define SWIGTYPE_p_wxNotifyEvent swig_types[63]
+#define SWIGTYPE_p_wxObject swig_types[64]
+#define SWIGTYPE_p_wxPCXHandler swig_types[65]
+#define SWIGTYPE_p_wxPNGHandler swig_types[66]
+#define SWIGTYPE_p_wxPNMHandler swig_types[67]
+#define SWIGTYPE_p_wxPaintEvent swig_types[68]
+#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[69]
+#define SWIGTYPE_p_wxPaperSize swig_types[70]
+#define SWIGTYPE_p_wxPoint swig_types[71]
+#define SWIGTYPE_p_wxProcessEvent swig_types[72]
+#define SWIGTYPE_p_wxPyApp swig_types[73]
+#define SWIGTYPE_p_wxPyCommandEvent swig_types[74]
+#define SWIGTYPE_p_wxPyEvent swig_types[75]
+#define SWIGTYPE_p_wxPyImageHandler swig_types[76]
+#define SWIGTYPE_p_wxPyProcess swig_types[77]
+#define SWIGTYPE_p_wxPySizer swig_types[78]
+#define SWIGTYPE_p_wxPyTimer swig_types[79]
+#define SWIGTYPE_p_wxPyValidator swig_types[80]
+#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[81]
+#define SWIGTYPE_p_wxRect swig_types[82]
+#define SWIGTYPE_p_wxScrollBar swig_types[83]
+#define SWIGTYPE_p_wxScrollEvent swig_types[84]
+#define SWIGTYPE_p_wxScrollWinEvent swig_types[85]
+#define SWIGTYPE_p_wxSetCursorEvent swig_types[86]
+#define SWIGTYPE_p_wxShowEvent swig_types[87]
+#define SWIGTYPE_p_wxSizeEvent swig_types[88]
+#define SWIGTYPE_p_wxSizer swig_types[89]
+#define SWIGTYPE_p_wxSizerItem swig_types[90]
+#define SWIGTYPE_p_wxStaticBoxSizer swig_types[91]
+#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[92]
+#define SWIGTYPE_p_wxStyledTextCtrl swig_types[93]
+#define SWIGTYPE_p_wxStyledTextEvent swig_types[94]
+#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[95]
+#define SWIGTYPE_p_wxSystemOptions swig_types[96]
+#define SWIGTYPE_p_wxTIFFHandler swig_types[97]
+#define SWIGTYPE_p_wxTimerEvent swig_types[98]
+#define SWIGTYPE_p_wxToolTip swig_types[99]
+#define SWIGTYPE_p_wxUpdateUIEvent swig_types[100]
+#define SWIGTYPE_p_wxValidator swig_types[101]
+#define SWIGTYPE_p_wxWindow swig_types[102]
+#define SWIGTYPE_p_wxWindowCreateEvent swig_types[103]
+#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[104]
+#define SWIGTYPE_p_wxXPMHandler swig_types[105]
+#define SWIGTYPE_ptrdiff_t swig_types[106]
+#define SWIGTYPE_std__ptrdiff_t swig_types[107]
+#define SWIGTYPE_unsigned_int swig_types[108]
+static swig_type_info *swig_types[110];
+static swig_module_info swig_module = {swig_types, 109, 0, 0, 0, 0};
+#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
+#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
+
+/* -------- TYPES TABLE (END) -------- */
+
+
+/*-----------------------------------------------
+ @(target):= _stc.so
+ ------------------------------------------------*/
+#define SWIG_init init_stc
+
+#define SWIG_name "_stc"
+
+#include "wx/wxPython/wxPython.h"
+#include "wx/wxPython/pyclasses.h"
+#include <wx/stc/stc.h>
+
+
+ static const wxString wxPySTCNameStr(wxSTCNameStr);
+
+ /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
+#define SWIG_From_int PyInt_FromLong
+/*@@*/
+
+
+#include <limits.h>
+
+
+SWIGINTERN int
+ SWIG_CheckLongInRange(long value, long min_value, long max_value,
+ const char *errmsg)
+{
+ if (value < min_value) {
+ if (errmsg) {
+ PyErr_Format(PyExc_OverflowError,
+ "value %ld is less than '%s' minimum %ld",
+ value, errmsg, min_value);
+ }
+ return 0;
+ } else if (value > max_value) {
+ if (errmsg) {
+ PyErr_Format(PyExc_OverflowError,
+ "value %ld is greater than '%s' maximum %ld",
+ value, errmsg, max_value);
+ }
+ return 0;
+ }
+ return 1;
+}
+
+
+SWIGINTERN int
+SWIG_AsVal_long(PyObject* obj, long* val)
+{
+ if (PyNumber_Check(obj)) {
+ if (val) *val = PyInt_AsLong(obj);
+ return 1;
+ }
+ else {
+ SWIG_type_error("number", obj);
+ }
+ return 0;
+}
+
+
+#if INT_MAX != LONG_MAX
+SWIGINTERN int
+ SWIG_AsVal_int(PyObject *obj, int *val)
+{
+ const char* errmsg = val ? "int" : (char*)0;
+ long v;
+ if (SWIG_AsVal_long(obj, &v)) {
+ if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
+ if (val) *val = static_cast<int >(v);
+ return 1;
+ } else {
+ return 0;
+ }
+ } else {
+ PyErr_Clear();
+ }
+ if (val) {
+ SWIG_type_error(errmsg, obj);
+ }
+ return 0;
+}
+#else
+SWIGINTERNINLINE int
+ SWIG_AsVal_int(PyObject *obj, int *val)
+{
+ return SWIG_AsVal_long(obj,(long*)val);
+}
+#endif
+
+
+SWIGINTERNINLINE int
+SWIG_As_int(PyObject* obj)
+{
+ int v;
+ if (!SWIG_AsVal_int(obj, &v)) {
+ /*
+ this is needed to make valgrind/purify happier.
+ */
+ memset((void*)&v, 0, sizeof(int));
+ }
+ return v;
+}
+
+
+SWIGINTERNINLINE long
+SWIG_As_long(PyObject* obj)
+{
+ long v;
+ if (!SWIG_AsVal_long(obj, &v)) {
+ /*
+ this is needed to make valgrind/purify happier.
+ */
+ memset((void*)&v, 0, sizeof(long));
+ }
+ return v;
+}
+
+
+SWIGINTERNINLINE int
+SWIG_Check_int(PyObject* obj)
+{
+ return SWIG_AsVal_int(obj, (int*)0);
+}
+
+
+SWIGINTERNINLINE int
+SWIG_Check_long(PyObject* obj)
+{
+ return SWIG_AsVal_long(obj, (long*)0);
+}
+
+
+SWIGINTERN int
+ SWIG_AsVal_bool(PyObject *obj, bool *val)
+{
+ if (obj == Py_True) {
+ if (val) *val = true;
+ return 1;
+ }
+ if (obj == Py_False) {
+ if (val) *val = false;
+ return 1;
+ }
+ int res = 0;
+ if (SWIG_AsVal_int(obj, &res)) {
+ if (val) *val = res ? true : false;
+ return 1;
+ } else {
+ PyErr_Clear();
+ }
+ if (val) {
+ SWIG_type_error("bool", obj);
+ }
+ return 0;
+}
+
+
+SWIGINTERNINLINE bool
+SWIG_As_bool(PyObject* obj)
+{
+ bool v;
+ if (!SWIG_AsVal_bool(obj, &v)) {
+ /*
+ this is needed to make valgrind/purify happier.
+ */
+ memset((void*)&v, 0, sizeof(bool));
+ }
+ return v;
+}
+
+
+SWIGINTERNINLINE int
+SWIG_Check_bool(PyObject* obj)
+{
+ return SWIG_AsVal_bool(obj, (bool*)0);
+}
+
+
+ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
+ PyObject* o2;
+ PyObject* o3;
+
+ if (!target) {
+ target = o;
+ } else if (target == Py_None) {
+ Py_DECREF(Py_None);
+ target = o;
+ } else {
+ if (!PyTuple_Check(target)) {
+ o2 = target;
+ target = PyTuple_New(1);
+ PyTuple_SetItem(target, 0, o2);
+ }
+ o3 = PyTuple_New(1);
+ PyTuple_SetItem(o3, 0, o);
+
+ o2 = target;
+ target = PySequence_Concat(o2, o3);
+ Py_DECREF(o2);
+ Py_DECREF(o3);
+ }
+ return target;
+ }
+
+
+
+/* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
+SWIGINTERN int
+SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize)
+{
+ static swig_type_info* pchar_info = 0;
+ char* vptr = 0;
+ if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
+ if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) {
+ if (cptr) *cptr = vptr;
+ if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
+ return SWIG_OLDOBJ;
+ } else {
+ PyErr_Clear();
+ if (PyString_Check(obj)) {
+ if (cptr) {
+ *cptr = PyString_AS_STRING(obj);
+ if (psize) {
+ *psize = PyString_GET_SIZE(obj) + 1;
+ }
+ }
+ return SWIG_PYSTR;
+ }
+ }
+ if (cptr) {
+ SWIG_type_error("char *", obj);
+ }
+ return 0;
+}
+
+
+SWIGINTERNINLINE int
+SWIG_AsCharPtr(PyObject *obj, char **val)
+{
+ if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) {
+ return 1;
+ }
+ if (val) {
+ PyErr_Clear();
+ SWIG_type_error("char *", obj);
+ }
+ return 0;
+}
+
+
+ /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
+#define SWIG_From_long PyInt_FromLong
+/*@@*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+static int _wrap_STCNameStr_set(PyObject *) {
+ PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only.");
+ return 1;
+}
+
+
+static PyObject *_wrap_STCNameStr_get(void) {
+ PyObject *pyobj = NULL;
+
+ {
+#if wxUSE_UNICODE
+ pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
+#else
+ pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
+#endif
+ }
+ return pyobj;
+}
+
+
+static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxWindow *arg1 = (wxWindow *) 0 ;
+ int arg2 = (int) wxID_ANY ;
+ wxPoint const &arg3_defvalue = wxDefaultPosition ;
+ wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
+ wxSize const &arg4_defvalue = wxDefaultSize ;
+ wxSize *arg4 = (wxSize *) &arg4_defvalue ;
+ long arg5 = (long) 0 ;
+ wxString const &arg6_defvalue = wxPySTCNameStr ;
+ wxString *arg6 = (wxString *) &arg6_defvalue ;
+ wxStyledTextCtrl *result;
+ wxPoint temp3 ;
+ wxSize temp4 ;
+ bool temp6 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ PyObject * obj4 = 0 ;
+ PyObject * obj5 = 0 ;
+ char *kwnames[] = {
+ (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ if (obj1) {
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ }
+ if (obj2) {
+ {
+ arg3 = &temp3;
+ if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
+ }
+ }
+ if (obj3) {
+ {
+ arg4 = &temp4;
+ if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
+ }
+ }
+ if (obj4) {
+ {
+ arg5 = static_cast<long >(SWIG_As_long(obj4));
+ if (SWIG_arg_fail(5)) SWIG_fail;
+ }
+ }
+ if (obj5) {
+ {
+ arg6 = wxString_in_helper(obj5);
+ if (arg6 == NULL) SWIG_fail;
+ temp6 = true;
+ }
+ }
+ {
+ if (!wxPyCheckForApp()) SWIG_fail;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
+ {
+ if (temp6)
+ delete arg6;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp6)
+ delete arg6;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *result;
+ char *kwnames[] = {
+ NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
+ {
+ if (!wxPyCheckForApp()) SWIG_fail;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxWindow *arg2 = (wxWindow *) 0 ;
+ int arg3 = (int) wxID_ANY ;
+ wxPoint const &arg4_defvalue = wxDefaultPosition ;
+ wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
+ wxSize const &arg5_defvalue = wxDefaultSize ;
+ wxSize *arg5 = (wxSize *) &arg5_defvalue ;
+ long arg6 = (long) 0 ;
+ wxString const &arg7_defvalue = wxSTCNameStr ;
+ wxString *arg7 = (wxString *) &arg7_defvalue ;
+ bool result;
+ wxPoint temp4 ;
+ wxSize temp5 ;
+ bool temp7 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ PyObject * obj4 = 0 ;
+ PyObject * obj5 = 0 ;
+ PyObject * obj6 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ if (obj2) {
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ }
+ if (obj3) {
+ {
+ arg4 = &temp4;
+ if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
+ }
+ }
+ if (obj4) {
+ {
+ arg5 = &temp5;
+ if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
+ }
+ }
+ if (obj5) {
+ {
+ arg6 = static_cast<long >(SWIG_As_long(obj5));
+ if (SWIG_arg_fail(6)) SWIG_fail;
+ }
+ }
+ if (obj6) {
+ {
+ arg7 = wxString_in_helper(obj6);
+ if (arg7 == NULL) SWIG_fail;
+ temp7 = true;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp7)
+ delete arg7;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp7)
+ delete arg7;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxString *arg2 = 0 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "text", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AddText((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxMemoryBuffer *arg2 = 0 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "data", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ if (!PyString_Check(obj1)) {
+ PyErr_SetString(PyExc_TypeError, "String buffer expected");
+ SWIG_fail;
+ }
+ char* str = PyString_AS_STRING(obj1);
+ int len = PyString_GET_SIZE(obj1);
+ arg2 = new wxMemoryBuffer(len);
+ temp2 = true;
+ memcpy(arg2->GetData(), str, len);
+ arg2->SetDataLen(len);
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2) delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2) delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxString *arg3 = 0 ;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos",(char *) "text", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->InsertText(arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->ClearAll();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->ClearDocumentStyle();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetLength();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetCharAt(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetCurrentPos();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetAnchor();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetStyleAt(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->Redo();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "collectUndo", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetUndoCollection(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SelectAll();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetSavePoint();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ wxMemoryBuffer result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "startPos",(char *) "endPos", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetStyledText(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->CanRedo();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "handle", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->MarkerLineFromHandle(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "handle", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->MarkerDeleteHandle(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetUndoCollection();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetViewWhiteSpace();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "viewWS", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetViewWhiteSpace(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxPoint arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pt", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ wxPoint * argp;
+ SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION);
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ if (argp == NULL) {
+ SWIG_null_ref("wxPoint");
+ }
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ arg2 = *argp;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->PositionFromPoint(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "x",(char *) "y", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->GotoLine(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->GotoPos(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "posAnchor", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetAnchor(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int *arg2 = (int *) 0 ;
+ wxString result;
+ int temp2 ;
+ int res2 = 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ arg2 = &temp2; res2 = SWIG_NEWOBJ;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetCurLine(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
+#else
+ resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
+#endif
+ }
+ resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
+ SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetEndStyled();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "eolMode", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->ConvertEOLs(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetEOLMode();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "eolMode", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetEOLMode(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos",(char *) "mask", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StartStyling(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "length",(char *) "style", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetStyling(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetBufferedDraw();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "buffered", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetBufferedDraw(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "tabWidth", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetTabWidth(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetTabWidth();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "codePage", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetCodePage(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ wxColour const &arg4_defvalue = wxNullColour ;
+ wxColour *arg4 = (wxColour *) &arg4_defvalue ;
+ wxColour const &arg5_defvalue = wxNullColour ;
+ wxColour *arg5 = (wxColour *) &arg5_defvalue ;
+ wxColour temp4 ;
+ wxColour temp5 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ PyObject * obj4 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ if (obj3) {
+ {
+ arg4 = &temp4;
+ if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
+ }
+ }
+ if (obj4) {
+ {
+ arg5 = &temp5;
+ if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxColour *arg3 = 0 ;
+ wxColour temp3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = &temp3;
+ if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxColour *arg3 = 0 ;
+ wxColour temp3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "markerNumber",(char *) "back", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = &temp3;
+ if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line",(char *) "markerNumber", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->MarkerAdd(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line",(char *) "markerNumber", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->MarkerDelete(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "markerNumber", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->MarkerDeleteAll(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->MarkerGet(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->MarkerNext(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->MarkerPrevious(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxBitmap *arg3 = 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ if (arg3 == NULL) {
+ SWIG_null_ref("wxBitmap");
+ }
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "margin",(char *) "marginType", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetMarginType(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "margin", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetMarginType(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetMarginWidth(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "margin", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetMarginWidth(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "margin",(char *) "mask", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetMarginMask(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "margin", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetMarginMask(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ bool arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "margin",(char *) "sensitive", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetMarginSensitive(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "margin", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetMarginSensitive(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StyleClearAll();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxColour *arg3 = 0 ;
+ wxColour temp3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "style",(char *) "fore", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = &temp3;
+ if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxColour *arg3 = 0 ;
+ wxColour temp3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "style",(char *) "back", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = &temp3;
+ if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ bool arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "style",(char *) "bold", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StyleSetBold(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ bool arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "style",(char *) "italic", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StyleSetItalic(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "style",(char *) "sizePoints", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StyleSetSize(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxString *arg3 = 0 ;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "style",(char *) "fontName", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ bool arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "style",(char *) "filled", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StyleSetEOLFilled(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StyleResetDefault();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ bool arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "style",(char *) "underline", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StyleSetUnderline(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "style",(char *) "caseForce", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StyleSetCase(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ bool arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "style",(char *) "hotspot", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StyleSetHotSpot(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ wxColour *arg3 = 0 ;
+ wxColour temp3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "useSetting",(char *) "fore", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = &temp3;
+ if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ wxColour *arg3 = 0 ;
+ wxColour temp3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "useSetting",(char *) "back", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = &temp3;
+ if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxColour *arg2 = 0 ;
+ wxColour temp2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "fore", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = &temp2;
+ if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetCaretForeground((wxColour const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ int arg4 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
+ if (SWIG_arg_fail(4)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CmdKeyAssign(arg2,arg3,arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "key",(char *) "modifiers", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CmdKeyClear(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CmdKeyClearAll();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ char *arg3 = (char *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "length",(char *) "styleBytes", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) {
+ SWIG_arg_fail(3);SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetStyleBytes(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ bool arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "style",(char *) "visible", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StyleSetVisible(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetCaretPeriod();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "periodMilliseconds", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetCaretPeriod(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxString *arg2 = 0 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "characters", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetWordChars((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->BeginUndoAction();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->EndUndoAction();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "indic",(char *) "style", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->IndicatorSetStyle(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "indic", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->IndicatorGetStyle(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxColour *arg3 = 0 ;
+ wxColour temp3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "indic",(char *) "fore", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = &temp3;
+ if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxColour result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "indic", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->IndicatorGetForeground(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxColour * resultptr;
+ resultptr = new wxColour(static_cast<wxColour & >(result));
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ wxColour *arg3 = 0 ;
+ wxColour temp3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "useSetting",(char *) "fore", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = &temp3;
+ if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ wxColour *arg3 = 0 ;
+ wxColour temp3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "useSetting",(char *) "back", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = &temp3;
+ if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "bits", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetStyleBits(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetStyleBits();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line",(char *) "state", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetLineState(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetLineState(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetMaxLineState();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetCaretLineVisible();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "show", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetCaretLineVisible(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxColour result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetCaretLineBack();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxColour * resultptr;
+ resultptr = new wxColour(static_cast<wxColour & >(result));
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxColour *arg2 = 0 ;
+ wxColour temp2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "back", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = &temp2;
+ if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetCaretLineBack((wxColour const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ bool arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "style",(char *) "changeable", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StyleSetChangeable(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxString *arg3 = 0 ;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AutoCompCancel();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->AutoCompActive();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->AutoCompPosStart();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AutoCompComplete();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxString *arg2 = 0 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "characterSet", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AutoCompStops((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "separatorCharacter", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AutoCompSetSeparator(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->AutoCompGetSeparator();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxString *arg2 = 0 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "text", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AutoCompSelect((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "cancel", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AutoCompSetCancelAtStart(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->AutoCompGetCancelAtStart();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxString *arg2 = 0 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "characterSet", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "chooseSingle", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AutoCompSetChooseSingle(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->AutoCompGetChooseSingle();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "ignoreCase", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AutoCompSetIgnoreCase(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->AutoCompGetIgnoreCase();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxString *arg3 = 0 ;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "listType",(char *) "itemList", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->UserListShow(arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "autoHide", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AutoCompSetAutoHide(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->AutoCompGetAutoHide();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "dropRestOfWord", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AutoCompSetDropRestOfWord(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->AutoCompGetDropRestOfWord();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxBitmap *arg3 = 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "type",(char *) "bmp", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ if (arg3 == NULL) {
+ SWIG_null_ref("wxBitmap");
+ }
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->ClearRegisteredImages();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->AutoCompGetTypeSeparator();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "separatorCharacter", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AutoCompSetTypeSeparator(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "indentSize", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetIndent(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetIndent();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "useTabs", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetUseTabs(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetUseTabs();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line",(char *) "indentSize", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetLineIndentation(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetLineIndentation(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetLineIndentPosition(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetColumn(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "show", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetUseHorizontalScrollBar(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetUseHorizontalScrollBar();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "show", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetIndentationGuides(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetIndentationGuides();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "column", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetHighlightGuide(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetHighlightGuide();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetLineEndPosition(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetCodePage();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxColour result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetCaretForeground();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxColour * resultptr;
+ resultptr = new wxColour(static_cast<wxColour & >(result));
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetReadOnly();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetCurrentPos(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetSelectionStart(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetSelectionStart();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetSelectionEnd(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetSelectionEnd();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "magnification", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetPrintMagnification(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetPrintMagnification();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "mode", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetPrintColourMode(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetPrintColourMode();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ wxString *arg4 = 0 ;
+ int arg5 = (int) 0 ;
+ int result;
+ bool temp4 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ PyObject * obj4 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ arg4 = wxString_in_helper(obj3);
+ if (arg4 == NULL) SWIG_fail;
+ temp4 = true;
+ }
+ if (obj4) {
+ {
+ arg5 = static_cast<int >(SWIG_As_int(obj4));
+ if (SWIG_arg_fail(5)) SWIG_fail;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ int arg3 ;
+ int arg4 ;
+ wxDC *arg5 = (wxDC *) 0 ;
+ wxDC *arg6 = (wxDC *) 0 ;
+ wxRect arg7 ;
+ wxRect arg8 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ PyObject * obj4 = 0 ;
+ PyObject * obj5 = 0 ;
+ PyObject * obj6 = 0 ;
+ PyObject * obj7 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ arg4 = static_cast<int >(SWIG_As_int(obj3));
+ if (SWIG_arg_fail(4)) SWIG_fail;
+ }
+ SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(5)) SWIG_fail;
+ SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(6)) SWIG_fail;
+ {
+ wxRect * argp;
+ SWIG_Python_ConvertPtr(obj6, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION);
+ if (SWIG_arg_fail(7)) SWIG_fail;
+ if (argp == NULL) {
+ SWIG_null_ref("wxRect");
+ }
+ if (SWIG_arg_fail(7)) SWIG_fail;
+ arg7 = *argp;
+ }
+ {
+ wxRect * argp;
+ SWIG_Python_ConvertPtr(obj7, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION);
+ if (SWIG_arg_fail(8)) SWIG_fail;
+ if (argp == NULL) {
+ SWIG_null_ref("wxRect");
+ }
+ if (SWIG_arg_fail(8)) SWIG_fail;
+ arg8 = *argp;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetFirstVisibleLine();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxString result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetLine(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
+#else
+ resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
+#endif
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetLineCount();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pixelWidth", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetMarginLeft(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetMarginLeft();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pixelWidth", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetMarginRight(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetMarginRight();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetModify();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "start",(char *) "end", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetSelection(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxString result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetSelectedText();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
+#else
+ resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
+#endif
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ wxString result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "startPos",(char *) "endPos", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetTextRange(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
+#else
+ resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
+#endif
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "normal", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->HideSelection(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->LineFromPosition(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->PositionFromLine(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "columns",(char *) "lines", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineScroll(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->EnsureCaretVisible();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxString *arg2 = 0 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "text", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->ReplaceSelection((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "readOnly", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetReadOnly(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->CanPaste();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->CanUndo();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->EmptyUndoBuffer();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->Undo();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->Cut();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->Copy();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->Paste();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->Clear();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxString *arg2 = 0 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "text", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetText((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxString result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetText();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
+#else
+ resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
+#endif
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetTextLength();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "overtype", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetOvertype(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetOvertype();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pixelWidth", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetCaretWidth(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetCaretWidth();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetTargetStart(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetTargetStart();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetTargetEnd(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetTargetEnd();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxString *arg2 = 0 ;
+ int result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "text", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxString *arg2 = 0 ;
+ int result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "text", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxString *arg2 = 0 ;
+ int result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "text", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "flags", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetSearchFlags(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetSearchFlags();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxString *arg3 = 0 ;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos",(char *) "definition", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CallTipCancel();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->CallTipActive();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->CallTipPosAtStart();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "start",(char *) "end", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CallTipSetHighlight(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxColour *arg2 = 0 ;
+ wxColour temp2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "back", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = &temp2;
+ if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CallTipSetBackground((wxColour const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxColour *arg2 = 0 ;
+ wxColour temp2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "fore", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = &temp2;
+ if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CallTipSetForeground((wxColour const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxColour *arg2 = 0 ;
+ wxColour temp2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "fore", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = &temp2;
+ if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->VisibleFromDocLine(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "lineDisplay", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->DocLineFromVisible(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line",(char *) "level", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetFoldLevel(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetFoldLevel(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line",(char *) "level", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetLastChild(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetFoldParent(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->ShowLines(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->HideLines(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetLineVisible(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ bool arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line",(char *) "expanded", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetFoldExpanded(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetFoldExpanded(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->ToggleFold(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->EnsureVisible(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "flags", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetFoldFlags(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->EnsureVisibleEnforcePolicy(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "tabIndents", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetTabIndents(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetTabIndents();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "bsUnIndents", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetBackSpaceUnIndents(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetBackSpaceUnIndents();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "periodMilliseconds", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetMouseDwellTime(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetMouseDwellTime();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ bool arg3 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->WordStartPosition(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ bool arg3 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<bool >(SWIG_As_bool(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->WordEndPosition(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "mode", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetWrapMode(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetWrapMode();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "wrapVisualFlags", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetWrapVisualFlags(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlags",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetWrapVisualFlags();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "wrapVisualFlagsLocation", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetWrapVisualFlagsLocation(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlagsLocation",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetWrapVisualFlagsLocation();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "indent", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetWrapStartIndent(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapStartIndent",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetWrapStartIndent();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "mode", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetLayoutCache(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetLayoutCache();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pixelWidth", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetScrollWidth(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetScrollWidth();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxString *arg3 = 0 ;
+ int result;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "style",(char *) "text", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "endAtLastLine", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetEndAtLastLine(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetEndAtLastLine();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->TextHeight(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "show", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetUseVerticalScrollBar(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetUseVerticalScrollBar();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxString *arg2 = 0 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "text", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AppendText((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetTwoPhaseDraw();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "twoPhase", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetTwoPhaseDraw(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->TargetFromSelection();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LinesJoin();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pixelWidth", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LinesSplit(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ wxColour *arg3 = 0 ;
+ wxColour temp3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "useSetting",(char *) "back", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = &temp3;
+ if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ wxColour *arg3 = 0 ;
+ wxColour temp3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "useSetting",(char *) "fore", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = &temp3;
+ if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineDown();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineDownExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineUp();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineUpExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CharLeft();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CharLeftExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CharRight();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CharRightExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->WordLeft();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->WordLeftExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->WordRight();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->WordRightExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->Home();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->HomeExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineEnd();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineEndExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->DocumentStart();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->DocumentStartExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->DocumentEnd();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->DocumentEndExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->PageUp();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->PageUpExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->PageDown();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->PageDownExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->EditToggleOvertype();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->Cancel();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->DeleteBack();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->Tab();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->BackTab();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->NewLine();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->FormFeed();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->VCHome();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->VCHomeExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->ZoomIn();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->ZoomOut();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->DelWordLeft();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->DelWordRight();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineCut();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineDelete();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineTranspose();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineDuplicate();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LowerCase();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->UpperCase();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineScrollDown();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineScrollUp();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->DeleteBackNotLine();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->HomeDisplay();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->HomeDisplayExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineEndDisplay();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineEndDisplayExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->HomeWrap();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->HomeWrapExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineEndWrap();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineEndWrapExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->VCHomeWrap();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->VCHomeWrapExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineCopy();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->MoveCaretInsideView();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->LineLength(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos1",(char *) "pos2", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->BraceHighlight(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->BraceBadLight(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->BraceMatch(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetViewEOL();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "visible", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetViewEOL(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ void *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (void *)(arg1)->GetDocPointer();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ void *arg2 = (void *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "docPointer", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
+ SWIG_arg_fail(2);SWIG_fail;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetDocPointer(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "mask", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetModEventMask(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetEdgeColumn();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "column", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetEdgeColumn(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetEdgeMode();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "mode", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetEdgeMode(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxColour result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetEdgeColour();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxColour * resultptr;
+ resultptr = new wxColour(static_cast<wxColour & >(result));
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxColour *arg2 = 0 ;
+ wxColour temp2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "edgeColour", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = &temp2;
+ if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetEdgeColour((wxColour const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SearchAnchor();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxString *arg3 = 0 ;
+ int result;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "flags",(char *) "text", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxString *arg3 = 0 ;
+ int result;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "flags",(char *) "text", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->LinesOnScreen();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "allowPopUp", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->UsePopUp(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->SelectionIsRectangle();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "zoom", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetZoom(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetZoom();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ void *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (void *)(arg1)->CreateDocument();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ void *arg2 = (void *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "docPointer", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
+ SWIG_arg_fail(2);SWIG_fail;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AddRefDocument(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ void *arg2 = (void *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "docPointer", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
+ SWIG_arg_fail(2);SWIG_fail;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->ReleaseDocument(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetModEventMask();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "focus", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetSTCFocus(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetSTCFocus();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "statusCode", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetStatus(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetStatus();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "captures", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetMouseDownCaptures(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetMouseDownCaptures();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "cursorType", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetSTCCursor(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetSTCCursor();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "symbol", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetControlCharSymbol(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetControlCharSymbol();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->WordPartLeft();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->WordPartLeftExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->WordPartRight();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->WordPartRightExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetVisiblePolicy(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->DelLineLeft();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->DelLineRight();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "newOffset", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetXOffset(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetXOffset();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->ChooseCaretX();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetXCaretPolicy(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetYCaretPolicy(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "mode", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetPrintWrapMode(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetPrintWrapMode();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ wxColour *arg3 = 0 ;
+ wxColour temp3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "useSetting",(char *) "fore", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = &temp3;
+ if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ wxColour *arg3 = 0 ;
+ wxColour temp3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "useSetting",(char *) "back", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = &temp3;
+ if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "underline", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetHotspotActiveUnderline(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "singleLine", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetHotspotSingleLine(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->ParaDown();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->ParaDownExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->ParaUp();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->ParaUpExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->PositionBefore(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->PositionAfter(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "start",(char *) "end", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CopyRange(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxString *arg3 = 0 ;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "length",(char *) "text", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CopyText(arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "mode", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetSelectionMode(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetSelectionMode();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetLineSelStartPosition(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetLineSelEndPosition(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineDownRectExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineUpRectExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CharLeftRectExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CharRightRectExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->HomeRectExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->VCHomeRectExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->LineEndRectExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->PageUpRectExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->PageDownRectExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StutteredPageUp();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StutteredPageUpExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StutteredPageDown();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StutteredPageDownExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->WordLeftEnd();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->WordLeftEndExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->WordRightEnd();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->WordRightEndExtend();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxString *arg2 = 0 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "characters", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetWhitespaceChars((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetCharsDefault();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->AutoCompGetCurrent();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "bytes", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->Allocate(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line",(char *) "column", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->FindColumn(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StartRecord();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StopRecord();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "lexer", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetLexer(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetLexer();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "start",(char *) "end", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->Colourise(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxString *arg2 = 0 ;
+ wxString *arg3 = 0 ;
+ bool temp2 = false ;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "key",(char *) "value", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxString *arg3 = 0 ;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxString *arg2 = 0 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "language", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetLexerLanguage((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetCurrentLine();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxString *arg3 = 0 ;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "styleNum",(char *) "spec", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxFont *arg3 = 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "styleNum",(char *) "font", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ if (arg3 == NULL) {
+ SWIG_null_ref("wxFont");
+ }
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StyleSetFont(arg2,*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ wxString *arg4 = 0 ;
+ bool arg5 ;
+ bool arg6 ;
+ bool arg7 ;
+ wxFontEncoding arg8 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
+ bool temp4 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ PyObject * obj4 = 0 ;
+ PyObject * obj5 = 0 ;
+ PyObject * obj6 = 0 ;
+ PyObject * obj7 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline",(char *) "encoding", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ arg4 = wxString_in_helper(obj3);
+ if (arg4 == NULL) SWIG_fail;
+ temp4 = true;
+ }
+ {
+ arg5 = static_cast<bool >(SWIG_As_bool(obj4));
+ if (SWIG_arg_fail(5)) SWIG_fail;
+ }
+ {
+ arg6 = static_cast<bool >(SWIG_As_bool(obj5));
+ if (SWIG_arg_fail(6)) SWIG_fail;
+ }
+ {
+ arg7 = static_cast<bool >(SWIG_As_bool(obj6));
+ if (SWIG_arg_fail(7)) SWIG_fail;
+ }
+ if (obj7) {
+ {
+ arg8 = static_cast<wxFontEncoding >(SWIG_As_int(obj7));
+ if (SWIG_arg_fail(8)) SWIG_fail;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7,arg8);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "style",(char *) "characterSet", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StyleSetCharacterSet(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxFontEncoding arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "style",(char *) "encoding", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFontEncoding",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<wxFontEncoding >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->StyleSetFontEncoding(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "cmd", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CmdKeyExecute(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "left",(char *) "right", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetMargins(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int *arg2 = (int *) 0 ;
+ int *arg3 = (int *) 0 ;
+ int temp2 ;
+ int res2 = 0 ;
+ int temp3 ;
+ int res3 = 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ arg2 = &temp2; res2 = SWIG_NEWOBJ;
+ arg3 = &temp3; res3 = SWIG_NEWOBJ;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->GetSelection(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
+ SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
+ resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
+ SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxPoint result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->PointFromPosition(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxPoint * resultptr;
+ resultptr = new wxPoint(static_cast<wxPoint & >(result));
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->ScrollToLine(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "column", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->ScrollToColumn(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ long arg3 = (long) 0 ;
+ long arg4 = (long) 0 ;
+ long result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ if (obj2) {
+ {
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ }
+ if (obj3) {
+ {
+ arg4 = static_cast<long >(SWIG_As_long(obj3));
+ if (SWIG_arg_fail(4)) SWIG_fail;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_long(static_cast<long >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxScrollBar *arg2 = (wxScrollBar *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "bar", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetVScrollBar(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxScrollBar *arg2 = (wxScrollBar *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "bar", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetHScrollBar(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetLastKeydownProcessed();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "val", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetLastKeydownProcessed(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxString *arg2 = 0 ;
+ bool result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "filename", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxString *arg2 = 0 ;
+ bool result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "filename", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ wxDragResult arg4 ;
+ wxDragResult result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
+ if (SWIG_arg_fail(4)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_From_int((result));
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ long arg2 ;
+ long arg3 ;
+ wxString *arg4 = 0 ;
+ bool result;
+ bool temp4 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<long >(SWIG_As_long(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<long >(SWIG_As_long(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ arg4 = wxString_in_helper(obj3);
+ if (arg4 == NULL) SWIG_fail;
+ temp4 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "useAA", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetUseAntiAliasing(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetUseAntiAliasing();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ char *arg2 = (char *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "text", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddTextRaw",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) {
+ SWIG_arg_fail(2);SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AddTextRaw((char const *)arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ char *arg3 = (char *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos",(char *) "text", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertTextRaw",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) {
+ SWIG_arg_fail(3);SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->InsertTextRaw(arg2,(char const *)arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int *arg2 = (int *) 0 ;
+ wxCharBuffer result;
+ int temp2 ;
+ int res2 = 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ arg2 = &temp2; res2 = SWIG_NEWOBJ;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLineRaw",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetCurLineRaw(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = PyString_FromString((char*)(&result)->data());
+ }
+ resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
+ SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ wxCharBuffer result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "line", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineRaw",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetLineRaw(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = PyString_FromString((char*)(&result)->data());
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxCharBuffer result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedTextRaw",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetSelectedTextRaw();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = PyString_FromString((char*)(&result)->data());
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ wxCharBuffer result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "startPos",(char *) "endPos", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRangeRaw",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ arg3 = static_cast<int >(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetTextRangeRaw(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = PyString_FromString((char*)(&result)->data());
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ char *arg2 = (char *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "text", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTextRaw",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) {
+ SWIG_arg_fail(2);SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetTextRaw((char const *)arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ wxCharBuffer result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextRaw",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetTextRaw();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = PyString_FromString((char*)(&result)->data());
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextCtrl_AppendTextRaw(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
+ char *arg2 = (char *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "text", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendTextRaw",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) {
+ SWIG_arg_fail(2);SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AppendTextRaw((char const *)arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * StyledTextCtrl_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
+static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxEventType arg1 = (wxEventType) 0 ;
+ int arg2 = (int) 0 ;
+ wxStyledTextEvent *result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "commandType",(char *) "id", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail;
+ if (obj0) {
+ {
+ arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ }
+ }
+ if (obj1) {
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ delete arg1;
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pos", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetPosition(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "k", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetKey(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "m", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetModifiers(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "t", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetModificationType(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ wxString *arg2 = 0 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "t", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetText((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "len", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetLength(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "num", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetLinesAdded(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "val", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetLine(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "val", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetFoldLevelNow(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "val", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetFoldLevelPrev(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "val", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetMargin(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "val", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetMessage(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "val", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetWParam(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "val", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetLParam(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "val", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetListType(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "val", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetX(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "val", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<int >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetY(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ wxString *arg2 = 0 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "val", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetDragText((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ bool arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "val", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<bool >(SWIG_As_bool(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetDragAllowMove(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ wxDragResult arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "val", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ arg2 = static_cast<wxDragResult >(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetDragResult(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ wxString result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = ((wxStyledTextEvent const *)arg1)->GetText();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
+#else
+ resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
+#endif
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)((wxStyledTextEvent const *)arg1)->GetX();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)((wxStyledTextEvent const *)arg1)->GetY();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = SWIG_From_int(static_cast<int >(result));
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ wxString result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetDragText();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
+#else
+ resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
+#endif
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetDragAllowMove();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ wxDragResult result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxDragResult)(arg1)->GetDragResult();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_From_int((result));
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_StyledTextEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj = NULL;
+ wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
+ wxEvent *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
+ SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
+ if (SWIG_arg_fail(1)) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * StyledTextEvent_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
+static PyMethodDef SwigMethods[] = {
+ { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_GetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_FindColumn", (PyCFunction) _wrap_StyledTextCtrl_FindColumn, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_StyleSetFontEncoding", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AddTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AddTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_InsertTextRaw", (PyCFunction) _wrap_StyledTextCtrl_InsertTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetCurLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetCurLineRaw, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetLineRaw, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetSelectedTextRaw", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetTextRangeRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRangeRaw, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_SetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_SetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_GetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_AppendTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AppendTextRaw, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL},
+ { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL},
+ { NULL, NULL, 0, NULL }
+};
+
+
+/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
+
+static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxLayoutConstraints *) x));
+}
+static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
+}
+static void *_p_wxSizerItemTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxSizerItem *) x));
+}
+static void *_p_wxScrollEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
+}
+static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
+}
+static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
+}
+static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
+}
+static void *_p_wxSizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxSizer *) x));
+}
+static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
+}
+static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxFileHistory *) x));
+}
+static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
+}
+static void *_p_wxEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxEvent *) x));
+}
+static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
+}
+static void *_p_wxGridSizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
+}
+static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
+}
+static void *_p_wxPaintEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
+}
+static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
+}
+static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
+}
+static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
+}
+static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
+}
+static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
+}
+static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
+}
+static void *_p_wxControlTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
+}
+static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
+}
+static void *_p_wxTimerEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
+}
+static void *_p_wxFSFileTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxFSFile *) x));
+}
+static void *_p_wxClipboardTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxClipboard *) x));
+}
+static void *_p_wxPySizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
+}
+static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
+}
+static void *_p_wxPyEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
+}
+static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
+}
+static void *_p_wxShowEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
+}
+static void *_p_wxToolTipTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxToolTip *) x));
+}
+static void *_p_wxMenuItemTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxMenuItem *) x));
+}
+static void *_p_wxDateEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
+}
+static void *_p_wxIdleEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
+}
+static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
+}
+static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
+}
+static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
+}
+static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
+}
+static void *_p_wxSizeEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
+}
+static void *_p_wxMoveEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
+}
+static void *_p_wxActivateEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
+}
+static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
+}
+static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
+}
+static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
+}
+static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
+}
+static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
+}
+static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
+}
+static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
+}
+static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
+}
+static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
+}
+static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
+}
+static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxImageHandler *) x));
+}
+static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
+}
+static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
+}
+static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxEvtHandler *) x));
+}
+static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
+}
+static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxAcceleratorTable *) x));
+}
+static void *_p_wxImageTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxImage *) x));
+}
+static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
+}
+static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxSystemOptions *) x));
+}
+static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
+}
+static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
+}
+static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
+}
+static void *_p_wxKeyEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
+}
+static void *_p_wxWindowTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
+}
+static void *_p_wxMenuTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
+}
+static void *_p_wxMenuBarTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
+}
+static void *_p_wxPyProcessTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
+}
+static void *_p_wxFileSystemTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxFileSystem *) x));
+}
+static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
+}
+static void *_p_wxMenuEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
+}
+static void *_p_wxPyAppTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
+}
+static void *_p_wxCloseEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
+}
+static void *_p_wxMouseEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
+}
+static void *_p_wxEraseEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
+}
+static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxBusyInfo *) x));
+}
+static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
+}
+static void *_p_wxCommandEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
+}
+static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
+}
+static void *_p_wxFocusEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
+}
+static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
+}
+static void *_p_wxProcessEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
+}
+static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
+}
+static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
+}
+static void *_p_wxValidatorTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
+}
+static void *_p_wxPyTimerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
+}
+static void *_p_wxControlTo_p_wxWindow(void *x) {
+ return (void *)((wxWindow *) ((wxControl *) x));
+}
+static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
+ return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
+}
+static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
+ return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
+}
+static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
+ return (void *)((wxWindow *) ((wxMenuBar *) x));
+}
+static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
+ return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
+}
+static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
+ return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
+}
+static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
+ return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
+}
+static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
+ return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
+}
+static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
+ return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
+}
+static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
+ return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
+}
+static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
+ return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
+}
+static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
+ return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
+}
+static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
+ return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
+}
+static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
+ return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
+}
+static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
+ return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
+}
+static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
+ return (void *)((wxEvtHandler *) ((wxWindow *) x));
+}
+static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
+ return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
+}
+static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
+ return (void *)((wxEvtHandler *) ((wxPyApp *) x));
+}
+static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
+ return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
+}
+static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
+ return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
+}
+static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
+ return (void *)((wxEvtHandler *) ((wxValidator *) x));
+}
+static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
+ return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
+}
+static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
+ return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
+}
+static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
+ return (void *)((wxEvtHandler *) ((wxMenu *) x));
+}
+static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
+ return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
+}
+static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxControlWithItems *) x));
+}
+static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
+}
+static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
+}
+static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxMenuEvent *) x));
+}
+static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxCloseEvent *) x));
+}
+static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxMouseEvent *) x));
+}
+static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxEraseEvent *) x));
+}
+static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
+}
+static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxTimerEvent *) x));
+}
+static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
+}
+static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
+}
+static void *_p_wxPyEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxPyEvent *) x));
+}
+static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
+}
+static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxJoystickEvent *) x));
+}
+static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxIdleEvent *) x));
+}
+static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
+}
+static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
+}
+static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
+}
+static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxIconizeEvent *) x));
+}
+static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxActivateEvent *) x));
+}
+static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxSizeEvent *) x));
+}
+static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxMoveEvent *) x));
+}
+static void *_p_wxDateEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
+}
+static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxPaintEvent *) x));
+}
+static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
+}
+static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
+}
+static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
+}
+static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
+}
+static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
+}
+static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
+}
+static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
+}
+static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
+}
+static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxFocusEvent *) x));
+}
+static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
+}
+static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxProcessEvent *) x));
+}
+static void *_p_wxShowEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxShowEvent *) x));
+}
+static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxCommandEvent *) x));
+}
+static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
+}
+static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
+}
+static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
+}
+static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxKeyEvent *) x));
+}
+static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
+}
+static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
+static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
+static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
+static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
+static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
+static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0};
+static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0};
+static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
+static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
+static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0};
+static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
+static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
+static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxTimerEvent = {"_p_wxTimerEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxProcessEvent = {"_p_wxProcessEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
+static swig_type_info _swigt__p_wxMemoryBuffer = {"_p_wxMemoryBuffer", "wxMemoryBuffer *", 0, 0, 0};
+static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
+static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxFileHistory = {"_p_wxFileHistory", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxClipboard = {"_p_wxClipboard", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", 0, 0, 0, 0};
+static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
+static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
+static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
+static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0};
+static swig_type_info _swigt__p_wxStyledTextCtrl = {"_p_wxStyledTextCtrl", "wxStyledTextCtrl *", 0, 0, 0};
+static swig_type_info _swigt__p_wxStyledTextEvent = {"_p_wxStyledTextEvent", "wxStyledTextEvent *", 0, 0, 0};
+static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
+static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
+static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
+static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
+
+static swig_type_info *swig_type_initial[] = {
+ &_swigt__p_char,
+ &_swigt__p_form_ops_t,
+ &_swigt__p_int,
+ &_swigt__p_unsigned_char,
+ &_swigt__p_unsigned_int,
+ &_swigt__p_unsigned_long,
+ &_swigt__p_void,
+ &_swigt__p_wxANIHandler,
+ &_swigt__p_wxAcceleratorTable,
+ &_swigt__p_wxActivateEvent,
+ &_swigt__p_wxBMPHandler,
+ &_swigt__p_wxBitmap,
+ &_swigt__p_wxBoxSizer,
+ &_swigt__p_wxBusyInfo,
+ &_swigt__p_wxCURHandler,
+ &_swigt__p_wxChildFocusEvent,
+ &_swigt__p_wxClipboard,
+ &_swigt__p_wxCloseEvent,
+ &_swigt__p_wxColour,
+ &_swigt__p_wxCommandEvent,
+ &_swigt__p_wxContextMenuEvent,
+ &_swigt__p_wxControl,
+ &_swigt__p_wxControlWithItems,
+ &_swigt__p_wxDC,
+ &_swigt__p_wxDateEvent,
+ &_swigt__p_wxDisplayChangedEvent,
+ &_swigt__p_wxDropFilesEvent,
+ &_swigt__p_wxDuplexMode,
+ &_swigt__p_wxEraseEvent,
+ &_swigt__p_wxEvent,
+ &_swigt__p_wxEvtHandler,
+ &_swigt__p_wxFSFile,
+ &_swigt__p_wxFileHistory,
+ &_swigt__p_wxFileSystem,
+ &_swigt__p_wxFlexGridSizer,
+ &_swigt__p_wxFocusEvent,
+ &_swigt__p_wxFont,
+ &_swigt__p_wxGBSizerItem,
+ &_swigt__p_wxGIFHandler,
+ &_swigt__p_wxGridBagSizer,
+ &_swigt__p_wxGridSizer,
+ &_swigt__p_wxICOHandler,
+ &_swigt__p_wxIconizeEvent,
+ &_swigt__p_wxIdleEvent,
+ &_swigt__p_wxImage,
+ &_swigt__p_wxImageHandler,
+ &_swigt__p_wxIndividualLayoutConstraint,
+ &_swigt__p_wxInitDialogEvent,
+ &_swigt__p_wxJPEGHandler,
+ &_swigt__p_wxJoystickEvent,
+ &_swigt__p_wxKeyEvent,
+ &_swigt__p_wxLayoutConstraints,
+ &_swigt__p_wxMaximizeEvent,
+ &_swigt__p_wxMemoryBuffer,
+ &_swigt__p_wxMenu,
+ &_swigt__p_wxMenuBar,
+ &_swigt__p_wxMenuEvent,
+ &_swigt__p_wxMenuItem,
+ &_swigt__p_wxMouseCaptureChangedEvent,
+ &_swigt__p_wxMouseEvent,
+ &_swigt__p_wxMoveEvent,
+ &_swigt__p_wxNavigationKeyEvent,
+ &_swigt__p_wxNcPaintEvent,
+ &_swigt__p_wxNotifyEvent,
+ &_swigt__p_wxObject,
+ &_swigt__p_wxPCXHandler,
+ &_swigt__p_wxPNGHandler,
+ &_swigt__p_wxPNMHandler,
+ &_swigt__p_wxPaintEvent,
+ &_swigt__p_wxPaletteChangedEvent,
+ &_swigt__p_wxPaperSize,
+ &_swigt__p_wxPoint,
+ &_swigt__p_wxProcessEvent,
+ &_swigt__p_wxPyApp,
+ &_swigt__p_wxPyCommandEvent,
+ &_swigt__p_wxPyEvent,
+ &_swigt__p_wxPyImageHandler,
+ &_swigt__p_wxPyProcess,
+ &_swigt__p_wxPySizer,
+ &_swigt__p_wxPyTimer,
+ &_swigt__p_wxPyValidator,
+ &_swigt__p_wxQueryNewPaletteEvent,
+ &_swigt__p_wxRect,
+ &_swigt__p_wxScrollBar,
+ &_swigt__p_wxScrollEvent,
+ &_swigt__p_wxScrollWinEvent,
+ &_swigt__p_wxSetCursorEvent,
+ &_swigt__p_wxShowEvent,
+ &_swigt__p_wxSizeEvent,
+ &_swigt__p_wxSizer,
+ &_swigt__p_wxSizerItem,
+ &_swigt__p_wxStaticBoxSizer,
+ &_swigt__p_wxStdDialogButtonSizer,
+ &_swigt__p_wxStyledTextCtrl,
+ &_swigt__p_wxStyledTextEvent,
+ &_swigt__p_wxSysColourChangedEvent,
+ &_swigt__p_wxSystemOptions,
+ &_swigt__p_wxTIFFHandler,
+ &_swigt__p_wxTimerEvent,
+ &_swigt__p_wxToolTip,
+ &_swigt__p_wxUpdateUIEvent,
+ &_swigt__p_wxValidator,
+ &_swigt__p_wxWindow,
+ &_swigt__p_wxWindowCreateEvent,
+ &_swigt__p_wxWindowDestroyEvent,
+ &_swigt__p_wxXPMHandler,
+ &_swigt__ptrdiff_t,
+ &_swigt__std__ptrdiff_t,
+ &_swigt__unsigned_int,
+};
+
+static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTimerEvent[] = {{&_swigt__p_wxTimerEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxJoystickEvent[] = {{&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxProcessEvent[] = {{&_swigt__p_wxProcessEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyTimer[] = {{&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyProcess[] = {{&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMemoryBuffer[] = { {&_swigt__p_wxMemoryBuffer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFileHistory[] = {{&_swigt__p_wxFileHistory, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxClipboard[] = {{&_swigt__p_wxClipboard, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxToolTip[] = {{&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxSystemOptions[] = {{&_swigt__p_wxSystemOptions, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxBusyInfo[] = {{&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileHistory, _p_wxFileHistoryTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboard, _p_wxClipboardTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolTip, _p_wxToolTipTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSystemOptions, _p_wxSystemOptionsTo_p_wxObject, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBusyInfo, _p_wxBusyInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxStyledTextCtrl[] = { {&_swigt__p_wxStyledTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxStyledTextEvent[] = { {&_swigt__p_wxStyledTextEvent, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
+static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
+
+static swig_cast_info *swig_cast_initial[] = {
+ _swigc__p_char,
+ _swigc__p_form_ops_t,
+ _swigc__p_int,
+ _swigc__p_unsigned_char,
+ _swigc__p_unsigned_int,
+ _swigc__p_unsigned_long,
+ _swigc__p_void,
+ _swigc__p_wxANIHandler,
+ _swigc__p_wxAcceleratorTable,
+ _swigc__p_wxActivateEvent,
+ _swigc__p_wxBMPHandler,
+ _swigc__p_wxBitmap,
+ _swigc__p_wxBoxSizer,
+ _swigc__p_wxBusyInfo,
+ _swigc__p_wxCURHandler,
+ _swigc__p_wxChildFocusEvent,
+ _swigc__p_wxClipboard,
+ _swigc__p_wxCloseEvent,
+ _swigc__p_wxColour,
+ _swigc__p_wxCommandEvent,
+ _swigc__p_wxContextMenuEvent,
+ _swigc__p_wxControl,
+ _swigc__p_wxControlWithItems,
+ _swigc__p_wxDC,
+ _swigc__p_wxDateEvent,
+ _swigc__p_wxDisplayChangedEvent,
+ _swigc__p_wxDropFilesEvent,
+ _swigc__p_wxDuplexMode,
+ _swigc__p_wxEraseEvent,
+ _swigc__p_wxEvent,
+ _swigc__p_wxEvtHandler,
+ _swigc__p_wxFSFile,
+ _swigc__p_wxFileHistory,
+ _swigc__p_wxFileSystem,
+ _swigc__p_wxFlexGridSizer,
+ _swigc__p_wxFocusEvent,
+ _swigc__p_wxFont,
+ _swigc__p_wxGBSizerItem,
+ _swigc__p_wxGIFHandler,
+ _swigc__p_wxGridBagSizer,
+ _swigc__p_wxGridSizer,
+ _swigc__p_wxICOHandler,
+ _swigc__p_wxIconizeEvent,
+ _swigc__p_wxIdleEvent,
+ _swigc__p_wxImage,
+ _swigc__p_wxImageHandler,
+ _swigc__p_wxIndividualLayoutConstraint,
+ _swigc__p_wxInitDialogEvent,
+ _swigc__p_wxJPEGHandler,
+ _swigc__p_wxJoystickEvent,
+ _swigc__p_wxKeyEvent,
+ _swigc__p_wxLayoutConstraints,
+ _swigc__p_wxMaximizeEvent,
+ _swigc__p_wxMemoryBuffer,
+ _swigc__p_wxMenu,
+ _swigc__p_wxMenuBar,
+ _swigc__p_wxMenuEvent,
+ _swigc__p_wxMenuItem,
+ _swigc__p_wxMouseCaptureChangedEvent,
+ _swigc__p_wxMouseEvent,
+ _swigc__p_wxMoveEvent,
+ _swigc__p_wxNavigationKeyEvent,
+ _swigc__p_wxNcPaintEvent,
+ _swigc__p_wxNotifyEvent,
+ _swigc__p_wxObject,
+ _swigc__p_wxPCXHandler,
+ _swigc__p_wxPNGHandler,
+ _swigc__p_wxPNMHandler,
+ _swigc__p_wxPaintEvent,
+ _swigc__p_wxPaletteChangedEvent,
+ _swigc__p_wxPaperSize,
+ _swigc__p_wxPoint,
+ _swigc__p_wxProcessEvent,
+ _swigc__p_wxPyApp,
+ _swigc__p_wxPyCommandEvent,
+ _swigc__p_wxPyEvent,
+ _swigc__p_wxPyImageHandler,
+ _swigc__p_wxPyProcess,
+ _swigc__p_wxPySizer,
+ _swigc__p_wxPyTimer,
+ _swigc__p_wxPyValidator,
+ _swigc__p_wxQueryNewPaletteEvent,
+ _swigc__p_wxRect,
+ _swigc__p_wxScrollBar,
+ _swigc__p_wxScrollEvent,
+ _swigc__p_wxScrollWinEvent,
+ _swigc__p_wxSetCursorEvent,
+ _swigc__p_wxShowEvent,
+ _swigc__p_wxSizeEvent,
+ _swigc__p_wxSizer,
+ _swigc__p_wxSizerItem,
+ _swigc__p_wxStaticBoxSizer,
+ _swigc__p_wxStdDialogButtonSizer,
+ _swigc__p_wxStyledTextCtrl,
+ _swigc__p_wxStyledTextEvent,
+ _swigc__p_wxSysColourChangedEvent,
+ _swigc__p_wxSystemOptions,
+ _swigc__p_wxTIFFHandler,
+ _swigc__p_wxTimerEvent,
+ _swigc__p_wxToolTip,
+ _swigc__p_wxUpdateUIEvent,
+ _swigc__p_wxValidator,
+ _swigc__p_wxWindow,
+ _swigc__p_wxWindowCreateEvent,
+ _swigc__p_wxWindowDestroyEvent,
+ _swigc__p_wxXPMHandler,
+ _swigc__ptrdiff_t,
+ _swigc__std__ptrdiff_t,
+ _swigc__unsigned_int,
+};
+
+
+/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
+
+static swig_const_info swig_const_table[] = {
+{0, 0, 0, 0.0, 0, 0}};
+
+#ifdef __cplusplus
+}
+#endif
+/*************************************************************************
+ * Type initialization:
+ * This problem is tough by the requirement that no dynamic
+ * memory is used. Also, since swig_type_info structures store pointers to
+ * swig_cast_info structures and swig_cast_info structures store pointers back
+ * to swig_type_info structures, we need some lookup code at initialization.
+ * The idea is that swig generates all the structures that are needed.
+ * The runtime then collects these partially filled structures.
+ * The SWIG_InitializeModule function takes these initial arrays out of
+ * swig_module, and does all the lookup, filling in the swig_module.types
+ * array with the correct data and linking the correct swig_cast_info
+ * structures together.
+
+ * The generated swig_type_info structures are assigned staticly to an initial
+ * array. We just loop though that array, and handle each type individually.
+ * First we lookup if this type has been already loaded, and if so, use the
+ * loaded structure instead of the generated one. Then we have to fill in the
+ * cast linked list. The cast data is initially stored in something like a
+ * two-dimensional array. Each row corresponds to a type (there are the same
+ * number of rows as there are in the swig_type_initial array). Each entry in
+ * a column is one of the swig_cast_info structures for that type.
+ * The cast_initial array is actually an array of arrays, because each row has
+ * a variable number of columns. So to actually build the cast linked list,
+ * we find the array of casts associated with the type, and loop through it
+ * adding the casts to the list. The one last trick we need to do is making
+ * sure the type pointer in the swig_cast_info struct is correct.
+
+ * First off, we lookup the cast->type name to see if it is already loaded.
+ * There are three cases to handle:
+ * 1) If the cast->type has already been loaded AND the type we are adding
+ * casting info to has not been loaded (it is in this module), THEN we
+ * replace the cast->type pointer with the type pointer that has already
+ * been loaded.
+ * 2) If BOTH types (the one we are adding casting info to, and the
+ * cast->type) are loaded, THEN the cast info has already been loaded by
+ * the previous module so we just ignore it.
+ * 3) Finally, if cast->type has not already been loaded, then we add that
+ * swig_cast_info to the linked list (because the cast->type) pointer will
+ * be correct.
+**/
+
+#ifdef __cplusplus
+extern "C" {
+#if 0
+} /* c-mode */
+#endif
+#endif
+
+#if 0
+#define SWIGRUNTIME_DEBUG
+#endif
+
+SWIGRUNTIME void
+SWIG_InitializeModule(void *clientdata) {
+ size_t i;
+ swig_module_info *module_head;
+ static int init_run = 0;
+
+ clientdata = clientdata;
+
+ if (init_run) return;
+ init_run = 1;
+
+ /* Initialize the swig_module */
+ swig_module.type_initial = swig_type_initial;
+ swig_module.cast_initial = swig_cast_initial;
+
+ /* Try and load any already created modules */
+ module_head = SWIG_GetModule(clientdata);
+ if (module_head) {
+ swig_module.next = module_head->next;
+ module_head->next = &swig_module;
+ } else {
+ /* This is the first module loaded */
+ swig_module.next = &swig_module;
+ SWIG_SetModule(clientdata, &swig_module);
+ }
+
+ /* Now work on filling in swig_module.types */
+#ifdef SWIGRUNTIME_DEBUG
+ printf("SWIG_InitializeModule: size %d\n", swig_module.size);
+#endif
+ for (i = 0; i < swig_module.size; ++i) {
+ swig_type_info *type = 0;
+ swig_type_info *ret;
+ swig_cast_info *cast;
+
+#ifdef SWIGRUNTIME_DEBUG
+ printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
+#endif
+
+ /* if there is another module already loaded */
+ if (swig_module.next != &swig_module) {
+ type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
+ }
+ if (type) {
+ /* Overwrite clientdata field */
+#ifdef SWIGRUNTIME_DEBUG
+ printf("SWIG_InitializeModule: found type %s\n", type->name);
+#endif
+ if (swig_module.type_initial[i]->clientdata) {
+ type->clientdata = swig_module.type_initial[i]->clientdata;
+#ifdef SWIGRUNTIME_DEBUG
+ printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
+#endif
+ }
+ } else {
+ type = swig_module.type_initial[i];
+ }
+
+ /* Insert casting types */
+ cast = swig_module.cast_initial[i];
+ while (cast->type) {
+ /* Don't need to add information already in the list */
+ ret = 0;
+#ifdef SWIGRUNTIME_DEBUG
+ printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
+#endif
+ if (swig_module.next != &swig_module) {
+ ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
+#ifdef SWIGRUNTIME_DEBUG
+ if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
+#endif
+ }
+ if (ret) {
+ if (type == swig_module.type_initial[i]) {
+#ifdef SWIGRUNTIME_DEBUG
+ printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
+#endif
+ cast->type = ret;
+ ret = 0;
+ } else {
+ /* Check for casting already in the list */
+ swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
+#ifdef SWIGRUNTIME_DEBUG
+ if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
+#endif
+ if (!ocast) ret = 0;
+ }
+ }
+
+ if (!ret) {
+#ifdef SWIGRUNTIME_DEBUG
+ printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
+#endif
+ if (type->cast) {
+ type->cast->prev = cast;
+ cast->next = type->cast;
+ }
+ type->cast = cast;
+ }
+ cast++;
+ }
+ /* Set entry in modules->types array equal to the type */
+ swig_module.types[i] = type;
+ }
+ swig_module.types[i] = 0;
+
+#ifdef SWIGRUNTIME_DEBUG
+ printf("**** SWIG_InitializeModule: Cast List ******\n");
+ for (i = 0; i < swig_module.size; ++i) {
+ int j = 0;
+ swig_cast_info *cast = swig_module.cast_initial[i];
+ printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
+ while (cast->type) {
+ printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
+ cast++;
+ ++j;
+ }
+ printf("---- Total casts: %d\n",j);
+ }
+ printf("**** SWIG_InitializeModule: Cast List ******\n");
+#endif
+}
+
+/* This function will propagate the clientdata field of type to
+* any new swig_type_info structures that have been added into the list
+* of equivalent types. It is like calling
+* SWIG_TypeClientData(type, clientdata) a second time.
+*/
+SWIGRUNTIME void
+SWIG_PropagateClientData(void) {
+ size_t i;
+ swig_cast_info *equiv;
+ static int init_run = 0;
+
+ if (init_run) return;
+ init_run = 1;
+
+ for (i = 0; i < swig_module.size; i++) {
+ if (swig_module.types[i]->clientdata) {
+ equiv = swig_module.types[i]->cast;
+ while (equiv) {
+ if (!equiv->converter) {
+ if (equiv->type && !equiv->type->clientdata)
+ SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
+ }
+ equiv = equiv->next;
+ }
+ }
+ }
+}
+
+#ifdef __cplusplus
+#if 0
+{
+ /* c-mode */
+#endif
+}
+#endif
+
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+ /* Python-specific SWIG API */
+#define SWIG_newvarlink() SWIG_Python_newvarlink()
+#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
+#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
+
+ /* -----------------------------------------------------------------------------
+ * global variable support code.
+ * ----------------------------------------------------------------------------- */
+
+ typedef struct swig_globalvar {
+ char *name; /* Name of global variable */
+ PyObject *(*get_attr)(void); /* Return the current value */
+ int (*set_attr)(PyObject *); /* Set the value */
+ struct swig_globalvar *next;
+ } swig_globalvar;
+
+ typedef struct swig_varlinkobject {
+ PyObject_HEAD
+ swig_globalvar *vars;
+ } swig_varlinkobject;
+
+ SWIGINTERN PyObject *
+ swig_varlink_repr(swig_varlinkobject *v) {
+ v = v;
+ return PyString_FromString("<Swig global variables>");
+ }
+
+ SWIGINTERN int
+ swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
+ swig_globalvar *var;
+ flags = flags;
+ fprintf(fp,"Swig global variables { ");
+ for (var = v->vars; var; var=var->next) {
+ fprintf(fp,"%s", var->name);
+ if (var->next) fprintf(fp,", ");
+ }
+ fprintf(fp," }\n");
+ return 0;
+ }
+
+ SWIGINTERN PyObject *
+ swig_varlink_getattr(swig_varlinkobject *v, char *n) {
+ swig_globalvar *var = v->vars;
+ while (var) {
+ if (strcmp(var->name,n) == 0) {
+ return (*var->get_attr)();
+ }
+ var = var->next;
+ }
+ PyErr_SetString(PyExc_NameError,"Unknown C global variable");
+ return NULL;
+ }
+
+ SWIGINTERN int
+ swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
+ swig_globalvar *var = v->vars;
+ while (var) {
+ if (strcmp(var->name,n) == 0) {
+ return (*var->set_attr)(p);
+ }
+ var = var->next;
+ }
+ PyErr_SetString(PyExc_NameError,"Unknown C global variable");
+ return 1;
+ }
+
+ SWIGINTERN PyTypeObject*
+ swig_varlink_type(void) {
+ static char varlink__doc__[] = "Swig var link object";
+ static PyTypeObject varlink_type
+#if !defined(__cplusplus)
+ ;
+ static int type_init = 0;
+ if (!type_init) {
+ PyTypeObject tmp
+#endif
+ = {
+ PyObject_HEAD_INIT(&PyType_Type)
+ 0, /* Number of items in variable part (ob_size) */
+ (char *)"swigvarlink", /* Type name (tp_name) */
+ sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
+ 0, /* Itemsize (tp_itemsize) */
+ 0, /* Deallocator (tp_dealloc) */
+ (printfunc) swig_varlink_print, /* Print (tp_print) */
+ (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
+ (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
+ 0, /* tp_compare */
+ (reprfunc) swig_varlink_repr, /* tp_repr */
+ 0, /* tp_as_number */
+ 0, /* tp_as_sequence */
+ 0, /* tp_as_mapping */
+ 0, /* tp_hash */
+ 0, /* tp_call */
+ 0, /* tp_str */
+ 0, /* tp_getattro */
+ 0, /* tp_setattro */
+ 0, /* tp_as_buffer */
+ 0, /* tp_flags */
+ varlink__doc__, /* tp_doc */
+#if PY_VERSION_HEX >= 0x02000000
+ 0, /* tp_traverse */
+ 0, /* tp_clear */
+#endif
+#if PY_VERSION_HEX >= 0x02010000
+ 0, /* tp_richcompare */
+ 0, /* tp_weaklistoffset */
+#endif
+#if PY_VERSION_HEX >= 0x02020000
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
+#endif
+#if PY_VERSION_HEX >= 0x02030000
+ 0, /* tp_del */
+#endif
+#ifdef COUNT_ALLOCS
+ 0,0,0,0 /* tp_alloc -> tp_next */
+#endif
+ };
+#if !defined(__cplusplus)
+ varlink_type = tmp;
+ type_init = 1;
+ }
+#endif
+ return &varlink_type;
+ }
+
+ /* Create a variable linking object for use later */
+ SWIGINTERN PyObject *
+ SWIG_Python_newvarlink(void) {
+ swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
+ if (result) {
+ result->vars = 0;
+ }
+ return ((PyObject*) result);
+ }
+
+ SWIGINTERN void
+ SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
+ swig_varlinkobject *v = (swig_varlinkobject *) p;
+ swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
+ if (gv) {
+ size_t size = strlen(name)+1;
+ gv->name = (char *)malloc(size);
+ if (gv->name) {
+ strncpy(gv->name,name,size);
+ gv->get_attr = get_attr;
+ gv->set_attr = set_attr;
+ gv->next = v->vars;
+ }
+ }
+ v->vars = gv;
+ }
+
+ /* -----------------------------------------------------------------------------
+ * constants/methods manipulation
+ * ----------------------------------------------------------------------------- */
+
+ /* Install Constants */
+ SWIGINTERN void
+ SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
+ PyObject *obj = 0;
+ size_t i;
+ for (i = 0; constants[i].type; ++i) {
+ switch(constants[i].type) {
+ case SWIG_PY_INT:
+ obj = PyInt_FromLong(constants[i].lvalue);
+ break;
+ case SWIG_PY_FLOAT:
+ obj = PyFloat_FromDouble(constants[i].dvalue);
+ break;
+ case SWIG_PY_STRING:
+ if (constants[i].pvalue) {
+ obj = PyString_FromString((char *) constants[i].pvalue);
+ } else {
+ Py_INCREF(Py_None);
+ obj = Py_None;
+ }
+ break;
+ case SWIG_PY_POINTER:
+ obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
+ break;
+ case SWIG_PY_BINARY:
+ obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
+ break;
+ default:
+ obj = 0;
+ break;
+ }
+ if (obj) {
+ PyDict_SetItemString(d,constants[i].name,obj);
+ Py_DECREF(obj);
+ }
+ }
+ }
+
+ /* -----------------------------------------------------------------------------*/
+ /* Fix SwigMethods to carry the callback ptrs when needed */
+ /* -----------------------------------------------------------------------------*/
+
+ SWIGINTERN void
+ SWIG_Python_FixMethods(PyMethodDef *methods,
+ swig_const_info *const_table,
+ swig_type_info **types,
+ swig_type_info **types_initial) {
+ size_t i;
+ for (i = 0; methods[i].ml_name; ++i) {
+ char *c = methods[i].ml_doc;
+ if (c && (c = strstr(c, "swig_ptr: "))) {
+ int j;
+ swig_const_info *ci = 0;
+ char *name = c + 10;
+ for (j = 0; const_table[j].type; ++j) {
+ if (strncmp(const_table[j].name, name,
+ strlen(const_table[j].name)) == 0) {
+ ci = &(const_table[j]);
+ break;
+ }
+ }
+ if (ci) {
+ size_t shift = (ci->ptype) - types;
+ swig_type_info *ty = types_initial[shift];
+ size_t ldoc = (c - methods[i].ml_doc);
+ size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
+ char *ndoc = (char*)malloc(ldoc + lptr + 10);
+ if (ndoc) {
+ char *buff = ndoc;
+ void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
+ if (ptr) {
+ strncpy(buff, methods[i].ml_doc, ldoc);
+ buff += ldoc;
+ strncpy(buff, "swig_ptr: ", 10);
+ buff += 10;
+ SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
+ methods[i].ml_doc = ndoc;
+ }
+ }
+ }
+ }
+ }
+ }
+
+ /* -----------------------------------------------------------------------------*
+ * Initialize type list
+ * -----------------------------------------------------------------------------*/
+
+#ifdef __cplusplus
+}
+#endif
+
+/* -----------------------------------------------------------------------------*
+ * Partial Init method
+ * -----------------------------------------------------------------------------*/
+
+#ifdef __cplusplus
+extern "C"
+#endif
+SWIGEXPORT void SWIG_init(void) {
+ static PyObject *SWIG_globals = 0;
+ PyObject *m, *d;
+ if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
+
+ /* Fix SwigMethods to carry the callback ptrs when needed */
+ SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
+
+ m = Py_InitModule((char *) SWIG_name, SwigMethods);
+ d = PyModule_GetDict(m);
+
+ SWIG_InitializeModule(0);
+ SWIG_InstallConstants(d,swig_const_table);
+
+ PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
+ SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set);
+ {
+ PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int(static_cast<int >(-1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_START", SWIG_From_int(static_cast<int >(2000)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int(static_cast<int >(3000)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int(static_cast<int >(4000)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int(static_cast<int >(65001)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int(static_cast<int >(31)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int(static_cast<int >(15)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int(static_cast<int >(16)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int(static_cast<int >(17)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int(static_cast<int >(18)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int(static_cast<int >(19)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int(static_cast<int >(20)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int(static_cast<int >(21)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int(static_cast<int >(22)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int(static_cast<int >(23)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int(static_cast<int >(24)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int(static_cast<int >(25)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int(static_cast<int >(10000)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int(static_cast<int >(25)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int(static_cast<int >(26)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int(static_cast<int >(27)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int(static_cast<int >(28)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int(static_cast<int >(29)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int(static_cast<int >(30)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int(static_cast<int >(31)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int(static_cast<int >(0xFE000000)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int(static_cast<int >(32)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int(static_cast<int >(33)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int(static_cast<int >(34)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int(static_cast<int >(35)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int(static_cast<int >(36)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int(static_cast<int >(37)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int(static_cast<int >(39)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int(static_cast<int >(127)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int(static_cast<int >(186)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int(static_cast<int >(136)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int(static_cast<int >(238)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int(static_cast<int >(134)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int(static_cast<int >(161)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int(static_cast<int >(129)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int(static_cast<int >(77)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int(static_cast<int >(255)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int(static_cast<int >(204)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int(static_cast<int >(128)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int(static_cast<int >(162)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int(static_cast<int >(130)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int(static_cast<int >(177)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int(static_cast<int >(178)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int(static_cast<int >(163)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int(static_cast<int >(222)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int(static_cast<int >(0x20)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int(static_cast<int >(0x40)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int(static_cast<int >(0x80)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int(static_cast<int >(0xE0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int(static_cast<int >(0x00100000)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int(static_cast<int >(0x00200000)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int(static_cast<int >(0x00400000)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int(static_cast<int >(0x400)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int(static_cast<int >(0x1000)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int(static_cast<int >(0x2000)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int(static_cast<int >(0x4000)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int(static_cast<int >(0x8000)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int(static_cast<int >(0x10000)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int(static_cast<int >(0x20000)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int(static_cast<int >(0x0FFF)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int(static_cast<int >(0x0002)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int(static_cast<int >(0x0004)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int(static_cast<int >(0x0008)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int(static_cast<int >(0x0010)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int(static_cast<int >(0x0040)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int(static_cast<int >(0x0001)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int(static_cast<int >(10000000)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int(static_cast<int >(0x0000)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int(static_cast<int >(0x0001)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int(static_cast<int >(0x0002)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int(static_cast<int >(0x0000)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int(static_cast<int >(0x0001)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int(static_cast<int >(0x0002)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int(static_cast<int >(-1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int(static_cast<int >(0x01)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int(static_cast<int >(0x04)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int(static_cast<int >(0x01)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int(static_cast<int >(0x04)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int(static_cast<int >(0x10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int(static_cast<int >(0x08)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int(static_cast<int >(0x1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int(static_cast<int >(0x2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int(static_cast<int >(0x4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int(static_cast<int >(0x8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int(static_cast<int >(0x10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int(static_cast<int >(0x20)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int(static_cast<int >(0x40)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int(static_cast<int >(0x100)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int(static_cast<int >(0x200)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int(static_cast<int >(0x400)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int(static_cast<int >(0x800)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int(static_cast<int >(0xF77)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int(static_cast<int >(300)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int(static_cast<int >(301)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int(static_cast<int >(302)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int(static_cast<int >(303)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int(static_cast<int >(304)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int(static_cast<int >(305)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int(static_cast<int >(306)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int(static_cast<int >(307)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int(static_cast<int >(308)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int(static_cast<int >(309)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int(static_cast<int >(310)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int(static_cast<int >(311)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int(static_cast<int >(312)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int(static_cast<int >(15)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int(static_cast<int >(16)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int(static_cast<int >(17)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int(static_cast<int >(18)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int(static_cast<int >(19)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int(static_cast<int >(20)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int(static_cast<int >(21)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int(static_cast<int >(22)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int(static_cast<int >(23)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int(static_cast<int >(24)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int(static_cast<int >(25)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int(static_cast<int >(26)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int(static_cast<int >(27)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int(static_cast<int >(28)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int(static_cast<int >(29)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int(static_cast<int >(30)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int(static_cast<int >(31)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int(static_cast<int >(32)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int(static_cast<int >(33)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int(static_cast<int >(34)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int(static_cast<int >(35)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int(static_cast<int >(36)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int(static_cast<int >(37)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int(static_cast<int >(38)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int(static_cast<int >(39)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int(static_cast<int >(40)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int(static_cast<int >(41)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int(static_cast<int >(42)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int(static_cast<int >(43)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int(static_cast<int >(44)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int(static_cast<int >(45)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int(static_cast<int >(46)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int(static_cast<int >(47)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int(static_cast<int >(48)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int(static_cast<int >(49)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int(static_cast<int >(50)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int(static_cast<int >(51)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int(static_cast<int >(52)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int(static_cast<int >(53)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int(static_cast<int >(54)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int(static_cast<int >(55)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int(static_cast<int >(56)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int(static_cast<int >(57)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int(static_cast<int >(58)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int(static_cast<int >(59)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int(static_cast<int >(60)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int(static_cast<int >(61)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int(static_cast<int >(62)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_ASN1", SWIG_From_int(static_cast<int >(63)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_VHDL", SWIG_From_int(static_cast<int >(64)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int(static_cast<int >(1000)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int(static_cast<int >(15)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int(static_cast<int >(16)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int(static_cast<int >(17)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int(static_cast<int >(18)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int(static_cast<int >(19)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int(static_cast<int >(15)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int(static_cast<int >(16)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int(static_cast<int >(17)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int(static_cast<int >(18)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int(static_cast<int >(19)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int(static_cast<int >(20)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int(static_cast<int >(21)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int(static_cast<int >(22)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int(static_cast<int >(23)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int(static_cast<int >(24)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int(static_cast<int >(25)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int(static_cast<int >(26)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int(static_cast<int >(27)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int(static_cast<int >(28)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int(static_cast<int >(29)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int(static_cast<int >(30)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int(static_cast<int >(31)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int(static_cast<int >(40)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int(static_cast<int >(41)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int(static_cast<int >(42)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int(static_cast<int >(43)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int(static_cast<int >(44)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int(static_cast<int >(45)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int(static_cast<int >(46)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int(static_cast<int >(47)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int(static_cast<int >(48)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int(static_cast<int >(49)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int(static_cast<int >(50)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int(static_cast<int >(51)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int(static_cast<int >(52)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int(static_cast<int >(55)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int(static_cast<int >(56)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int(static_cast<int >(57)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int(static_cast<int >(58)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int(static_cast<int >(59)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int(static_cast<int >(60)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int(static_cast<int >(61)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int(static_cast<int >(62)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int(static_cast<int >(63)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int(static_cast<int >(64)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int(static_cast<int >(65)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int(static_cast<int >(66)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int(static_cast<int >(67)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int(static_cast<int >(70)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int(static_cast<int >(71)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int(static_cast<int >(72)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int(static_cast<int >(73)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int(static_cast<int >(74)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int(static_cast<int >(75)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int(static_cast<int >(76)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int(static_cast<int >(77)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int(static_cast<int >(80)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int(static_cast<int >(81)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int(static_cast<int >(82)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int(static_cast<int >(83)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int(static_cast<int >(84)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int(static_cast<int >(85)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int(static_cast<int >(86)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int(static_cast<int >(87)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int(static_cast<int >(90)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int(static_cast<int >(91)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int(static_cast<int >(92)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int(static_cast<int >(93)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int(static_cast<int >(94)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int(static_cast<int >(95)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int(static_cast<int >(96)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int(static_cast<int >(97)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int(static_cast<int >(98)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int(static_cast<int >(99)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int(static_cast<int >(100)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int(static_cast<int >(101)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int(static_cast<int >(102)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int(static_cast<int >(104)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int(static_cast<int >(105)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int(static_cast<int >(106)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int(static_cast<int >(107)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int(static_cast<int >(108)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int(static_cast<int >(109)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int(static_cast<int >(110)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int(static_cast<int >(111)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int(static_cast<int >(112)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int(static_cast<int >(113)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int(static_cast<int >(114)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int(static_cast<int >(115)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int(static_cast<int >(116)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int(static_cast<int >(117)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int(static_cast<int >(118)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int(static_cast<int >(119)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int(static_cast<int >(120)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int(static_cast<int >(121)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int(static_cast<int >(122)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int(static_cast<int >(123)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int(static_cast<int >(124)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int(static_cast<int >(125)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int(static_cast<int >(126)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int(static_cast<int >(127)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int(static_cast<int >(15)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int(static_cast<int >(17)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int(static_cast<int >(18)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int(static_cast<int >(19)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int(static_cast<int >(20)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int(static_cast<int >(21)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int(static_cast<int >(22)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int(static_cast<int >(23)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int(static_cast<int >(24)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int(static_cast<int >(25)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int(static_cast<int >(26)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int(static_cast<int >(27)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int(static_cast<int >(28)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int(static_cast<int >(29)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int(static_cast<int >(30)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int(static_cast<int >(15)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int(static_cast<int >(16)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int(static_cast<int >(17)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int(static_cast<int >(18)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int(static_cast<int >(19)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int(static_cast<int >(15)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int(static_cast<int >(16)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int(static_cast<int >(17)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int(static_cast<int >(18)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int(static_cast<int >(19)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERR_JAVA_STACK", SWIG_From_int(static_cast<int >(20)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int(static_cast<int >(15)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int(static_cast<int >(16)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int(static_cast<int >(15)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CSS_IDENTIFIER2", SWIG_From_int(static_cast<int >(15)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int(static_cast<int >(15)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int(static_cast<int >(16)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int(static_cast<int >(15)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int(static_cast<int >(15)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int(static_cast<int >(16)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int(static_cast<int >(17)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int(static_cast<int >(31)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int(static_cast<int >(15)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int(static_cast<int >(16)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int(static_cast<int >(19)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int(static_cast<int >(31)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int(static_cast<int >(19)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_AU3_SPECIAL", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_APDL_OPERATOR", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_APDL_SLASHCOMMAND", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_APDL_STARCOMMAND", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_APDL_ARGUMENT", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASN1_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASN1_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASN1_IDENTIFIER", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASN1_STRING", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASN1_OID", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASN1_SCALAR", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASN1_KEYWORD", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASN1_ATTRIBUTE", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASN1_DESCRIPTOR", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASN1_TYPE", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_ASN1_OPERATOR", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_VHDL_DEFAULT", SWIG_From_int(static_cast<int >(0)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_VHDL_COMMENT", SWIG_From_int(static_cast<int >(1)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_VHDL_COMMENTLINEBANG", SWIG_From_int(static_cast<int >(2)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_VHDL_NUMBER", SWIG_From_int(static_cast<int >(3)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_VHDL_STRING", SWIG_From_int(static_cast<int >(4)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_VHDL_OPERATOR", SWIG_From_int(static_cast<int >(5)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_VHDL_IDENTIFIER", SWIG_From_int(static_cast<int >(6)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_VHDL_STRINGEOL", SWIG_From_int(static_cast<int >(7)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_VHDL_KEYWORD", SWIG_From_int(static_cast<int >(8)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_VHDL_STDOPERATOR", SWIG_From_int(static_cast<int >(9)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_VHDL_ATTRIBUTE", SWIG_From_int(static_cast<int >(10)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_VHDL_STDFUNCTION", SWIG_From_int(static_cast<int >(11)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_VHDL_STDPACKAGE", SWIG_From_int(static_cast<int >(12)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_VHDL_STDTYPE", SWIG_From_int(static_cast<int >(13)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_VHDL_USERWORD", SWIG_From_int(static_cast<int >(14)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int(static_cast<int >(2011)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int(static_cast<int >(2013)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int(static_cast<int >(2176)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int(static_cast<int >(2177)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int(static_cast<int >(2178)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int(static_cast<int >(2179)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int(static_cast<int >(2180)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int(static_cast<int >(2300)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int(static_cast<int >(2301)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int(static_cast<int >(2302)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int(static_cast<int >(2303)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int(static_cast<int >(2304)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int(static_cast<int >(2305)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int(static_cast<int >(2306)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int(static_cast<int >(2307)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int(static_cast<int >(2308)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int(static_cast<int >(2309)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int(static_cast<int >(2310)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int(static_cast<int >(2311)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int(static_cast<int >(2312)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int(static_cast<int >(2313)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int(static_cast<int >(2314)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int(static_cast<int >(2315)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int(static_cast<int >(2316)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int(static_cast<int >(2317)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int(static_cast<int >(2318)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int(static_cast<int >(2319)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int(static_cast<int >(2320)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int(static_cast<int >(2321)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int(static_cast<int >(2322)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int(static_cast<int >(2323)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int(static_cast<int >(2324)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int(static_cast<int >(2325)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int(static_cast<int >(2326)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int(static_cast<int >(2327)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int(static_cast<int >(2328)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int(static_cast<int >(2329)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int(static_cast<int >(2330)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int(static_cast<int >(2331)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int(static_cast<int >(2332)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int(static_cast<int >(2333)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int(static_cast<int >(2334)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int(static_cast<int >(2335)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int(static_cast<int >(2336)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int(static_cast<int >(2337)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int(static_cast<int >(2338)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int(static_cast<int >(2339)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int(static_cast<int >(2404)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int(static_cast<int >(2340)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int(static_cast<int >(2341)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int(static_cast<int >(2342)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int(static_cast<int >(2343)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int(static_cast<int >(2344)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int(static_cast<int >(2345)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int(static_cast<int >(2346)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int(static_cast<int >(2347)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int(static_cast<int >(2348)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int(static_cast<int >(2349)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int(static_cast<int >(2450)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int(static_cast<int >(2451)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int(static_cast<int >(2452)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int(static_cast<int >(2453)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int(static_cast<int >(2454)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int(static_cast<int >(2455)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int(static_cast<int >(2390)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int(static_cast<int >(2391)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int(static_cast<int >(2392)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int(static_cast<int >(2393)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int(static_cast<int >(2395)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int(static_cast<int >(2396)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int(static_cast<int >(2413)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int(static_cast<int >(2414)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int(static_cast<int >(2415)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int(static_cast<int >(2416)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int(static_cast<int >(2426)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int(static_cast<int >(2427)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int(static_cast<int >(2428)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int(static_cast<int >(2429)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int(static_cast<int >(2430)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int(static_cast<int >(2431)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int(static_cast<int >(2432)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int(static_cast<int >(2433)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int(static_cast<int >(2434)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int(static_cast<int >(2435)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int(static_cast<int >(2436)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int(static_cast<int >(2437)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int(static_cast<int >(2438)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int(static_cast<int >(2439)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int(static_cast<int >(2440)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int(static_cast<int >(2441)));
+ }
+ {
+ PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int(static_cast<int >(2442)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int(static_cast<int >(wxEVT_STC_CHANGE)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int(static_cast<int >(wxEVT_STC_STYLENEEDED)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int(static_cast<int >(wxEVT_STC_CHARADDED)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int(static_cast<int >(wxEVT_STC_SAVEPOINTREACHED)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int(static_cast<int >(wxEVT_STC_SAVEPOINTLEFT)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int(static_cast<int >(wxEVT_STC_ROMODIFYATTEMPT)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int(static_cast<int >(wxEVT_STC_KEY)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_DOUBLECLICK)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int(static_cast<int >(wxEVT_STC_UPDATEUI)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int(static_cast<int >(wxEVT_STC_MODIFIED)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int(static_cast<int >(wxEVT_STC_MACRORECORD)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_MARGINCLICK)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int(static_cast<int >(wxEVT_STC_NEEDSHOWN)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int(static_cast<int >(wxEVT_STC_PAINTED)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int(static_cast<int >(wxEVT_STC_USERLISTSELECTION)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int(static_cast<int >(wxEVT_STC_URIDROPPED)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int(static_cast<int >(wxEVT_STC_DWELLSTART)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int(static_cast<int >(wxEVT_STC_DWELLEND)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int(static_cast<int >(wxEVT_STC_START_DRAG)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int(static_cast<int >(wxEVT_STC_DRAG_OVER)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int(static_cast<int >(wxEVT_STC_DO_DROP)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int(static_cast<int >(wxEVT_STC_ZOOM)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_HOTSPOT_CLICK)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_HOTSPOT_DCLICK)));
+ }
+ {
+ PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_CALLTIP_CLICK)));
+ }
+
+
+}
+