-# This file was created automatically by SWIG.
+# This file was created automatically by SWIG 1.3.29.
# Don't modify this file, modify the SWIG interface instead.
"""
"""
import _stc
-
+import new
+new_instancemethod = new.instancemethod
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
+ if (name == "thisown"): return self.this.own(value)
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
+ if type(value).__name__ == 'PySwigObject':
+ self.__dict__[name] = value
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"):
+ if (not static) or hasattr(self,name):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
+ if (name == "thisown"): return self.this.own()
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
+def _swig_repr(self):
+ try: strthis = "proxy of " + self.this.__repr__()
+ except: strthis = ""
+ return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
+
import types
try:
_object = types.ObjectType
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
- if hasattr(self,name) or (name in ("this", "thisown")):
+ if (name == "thisown"): return self.this.own(value)
+ if hasattr(self,name) or (name == "this"):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
STC_MARK_DOTDOTDOT = _stc.STC_MARK_DOTDOTDOT
STC_MARK_ARROWS = _stc.STC_MARK_ARROWS
STC_MARK_PIXMAP = _stc.STC_MARK_PIXMAP
+STC_MARK_FULLRECT = _stc.STC_MARK_FULLRECT
STC_MARK_CHARACTER = _stc.STC_MARK_CHARACTER
STC_MARKNUM_FOLDEREND = _stc.STC_MARKNUM_FOLDEREND
STC_MARKNUM_FOLDEROPENMID = _stc.STC_MARKNUM_FOLDEROPENMID
STC_MASK_FOLDERS = _stc.STC_MASK_FOLDERS
STC_MARGIN_SYMBOL = _stc.STC_MARGIN_SYMBOL
STC_MARGIN_NUMBER = _stc.STC_MARGIN_NUMBER
+STC_MARGIN_BACK = _stc.STC_MARGIN_BACK
+STC_MARGIN_FORE = _stc.STC_MARGIN_FORE
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_CALLTIP = _stc.STC_STYLE_CALLTIP
STC_STYLE_LASTPREDEFINED = _stc.STC_STYLE_LASTPREDEFINED
STC_STYLE_MAX = _stc.STC_STYLE_MAX
STC_CHARSET_ANSI = _stc.STC_CHARSET_ANSI
STC_CHARSET_MAC = _stc.STC_CHARSET_MAC
STC_CHARSET_OEM = _stc.STC_CHARSET_OEM
STC_CHARSET_RUSSIAN = _stc.STC_CHARSET_RUSSIAN
+STC_CHARSET_CYRILLIC = _stc.STC_CHARSET_CYRILLIC
STC_CHARSET_SHIFTJIS = _stc.STC_CHARSET_SHIFTJIS
STC_CHARSET_SYMBOL = _stc.STC_CHARSET_SYMBOL
STC_CHARSET_TURKISH = _stc.STC_CHARSET_TURKISH
STC_CHARSET_ARABIC = _stc.STC_CHARSET_ARABIC
STC_CHARSET_VIETNAMESE = _stc.STC_CHARSET_VIETNAMESE
STC_CHARSET_THAI = _stc.STC_CHARSET_THAI
+STC_CHARSET_8859_15 = _stc.STC_CHARSET_8859_15
STC_CASE_MIXED = _stc.STC_CASE_MIXED
STC_CASE_UPPER = _stc.STC_CASE_UPPER
STC_CASE_LOWER = _stc.STC_CASE_LOWER
STC_INDIC_STRIKE = _stc.STC_INDIC_STRIKE
STC_INDIC_HIDDEN = _stc.STC_INDIC_HIDDEN
STC_INDIC_BOX = _stc.STC_INDIC_BOX
+STC_INDIC_ROUNDBOX = _stc.STC_INDIC_ROUNDBOX
STC_INDIC0_MASK = _stc.STC_INDIC0_MASK
STC_INDIC1_MASK = _stc.STC_INDIC1_MASK
STC_INDIC2_MASK = _stc.STC_INDIC2_MASK
STC_TIME_FOREVER = _stc.STC_TIME_FOREVER
STC_WRAP_NONE = _stc.STC_WRAP_NONE
STC_WRAP_WORD = _stc.STC_WRAP_WORD
+STC_WRAP_CHAR = _stc.STC_WRAP_CHAR
STC_WRAPVISUALFLAG_NONE = _stc.STC_WRAPVISUALFLAG_NONE
STC_WRAPVISUALFLAG_END = _stc.STC_WRAPVISUALFLAG_END
STC_WRAPVISUALFLAG_START = _stc.STC_WRAPVISUALFLAG_START
STC_SEL_STREAM = _stc.STC_SEL_STREAM
STC_SEL_RECTANGLE = _stc.STC_SEL_RECTANGLE
STC_SEL_LINES = _stc.STC_SEL_LINES
+STC_ALPHA_TRANSPARENT = _stc.STC_ALPHA_TRANSPARENT
+STC_ALPHA_OPAQUE = _stc.STC_ALPHA_OPAQUE
+STC_ALPHA_NOALPHA = _stc.STC_ALPHA_NOALPHA
STC_KEYWORDSET_MAX = _stc.STC_KEYWORDSET_MAX
STC_MOD_INSERTTEXT = _stc.STC_MOD_INSERTTEXT
STC_MOD_DELETETEXT = _stc.STC_MOD_DELETETEXT
STC_PERFORMED_USER = _stc.STC_PERFORMED_USER
STC_PERFORMED_UNDO = _stc.STC_PERFORMED_UNDO
STC_PERFORMED_REDO = _stc.STC_PERFORMED_REDO
+STC_MULTISTEPUNDOREDO = _stc.STC_MULTISTEPUNDOREDO
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_MULTILINEUNDOREDO = _stc.STC_MULTILINEUNDOREDO
STC_MODEVENTMASKALL = _stc.STC_MODEVENTMASKALL
STC_KEY_DOWN = _stc.STC_KEY_DOWN
STC_KEY_UP = _stc.STC_KEY_UP
STC_KEY_ADD = _stc.STC_KEY_ADD
STC_KEY_SUBTRACT = _stc.STC_KEY_SUBTRACT
STC_KEY_DIVIDE = _stc.STC_KEY_DIVIDE
+STC_SCMOD_NORM = _stc.STC_SCMOD_NORM
STC_SCMOD_SHIFT = _stc.STC_SCMOD_SHIFT
STC_SCMOD_CTRL = _stc.STC_SCMOD_CTRL
STC_SCMOD_ALT = _stc.STC_SCMOD_ALT
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_BASH = _stc.STC_LEX_BASH
STC_LEX_ASN1 = _stc.STC_LEX_ASN1
STC_LEX_VHDL = _stc.STC_LEX_VHDL
+STC_LEX_CAML = _stc.STC_LEX_CAML
+STC_LEX_BLITZBASIC = _stc.STC_LEX_BLITZBASIC
+STC_LEX_PUREBASIC = _stc.STC_LEX_PUREBASIC
+STC_LEX_HASKELL = _stc.STC_LEX_HASKELL
+STC_LEX_PHPSCRIPT = _stc.STC_LEX_PHPSCRIPT
+STC_LEX_TADS3 = _stc.STC_LEX_TADS3
+STC_LEX_REBOL = _stc.STC_LEX_REBOL
+STC_LEX_SMALLTALK = _stc.STC_LEX_SMALLTALK
+STC_LEX_FLAGSHIP = _stc.STC_LEX_FLAGSHIP
+STC_LEX_CSOUND = _stc.STC_LEX_CSOUND
+STC_LEX_FREEBASIC = _stc.STC_LEX_FREEBASIC
+STC_LEX_INNOSETUP = _stc.STC_LEX_INNOSETUP
+STC_LEX_OPAL = _stc.STC_LEX_OPAL
+STC_LEX_SPICE = _stc.STC_LEX_SPICE
STC_LEX_AUTOMATIC = _stc.STC_LEX_AUTOMATIC
STC_P_DEFAULT = _stc.STC_P_DEFAULT
STC_P_COMMENTLINE = _stc.STC_P_COMMENTLINE
STC_P_IDENTIFIER = _stc.STC_P_IDENTIFIER
STC_P_COMMENTBLOCK = _stc.STC_P_COMMENTBLOCK
STC_P_STRINGEOL = _stc.STC_P_STRINGEOL
+STC_P_WORD2 = _stc.STC_P_WORD2
+STC_P_DECORATOR = _stc.STC_P_DECORATOR
STC_C_DEFAULT = _stc.STC_C_DEFAULT
STC_C_COMMENT = _stc.STC_C_COMMENT
STC_C_COMMENTLINE = _stc.STC_C_COMMENTLINE
STC_C_COMMENTDOCKEYWORD = _stc.STC_C_COMMENTDOCKEYWORD
STC_C_COMMENTDOCKEYWORDERROR = _stc.STC_C_COMMENTDOCKEYWORDERROR
STC_C_GLOBALCLASS = _stc.STC_C_GLOBALCLASS
+STC_TCL_DEFAULT = _stc.STC_TCL_DEFAULT
+STC_TCL_COMMENT = _stc.STC_TCL_COMMENT
+STC_TCL_COMMENTLINE = _stc.STC_TCL_COMMENTLINE
+STC_TCL_NUMBER = _stc.STC_TCL_NUMBER
+STC_TCL_WORD_IN_QUOTE = _stc.STC_TCL_WORD_IN_QUOTE
+STC_TCL_IN_QUOTE = _stc.STC_TCL_IN_QUOTE
+STC_TCL_OPERATOR = _stc.STC_TCL_OPERATOR
+STC_TCL_IDENTIFIER = _stc.STC_TCL_IDENTIFIER
+STC_TCL_SUBSTITUTION = _stc.STC_TCL_SUBSTITUTION
+STC_TCL_SUB_BRACE = _stc.STC_TCL_SUB_BRACE
+STC_TCL_MODIFIER = _stc.STC_TCL_MODIFIER
+STC_TCL_EXPAND = _stc.STC_TCL_EXPAND
+STC_TCL_WORD = _stc.STC_TCL_WORD
+STC_TCL_WORD2 = _stc.STC_TCL_WORD2
+STC_TCL_WORD3 = _stc.STC_TCL_WORD3
+STC_TCL_WORD4 = _stc.STC_TCL_WORD4
+STC_TCL_WORD5 = _stc.STC_TCL_WORD5
+STC_TCL_WORD6 = _stc.STC_TCL_WORD6
+STC_TCL_WORD7 = _stc.STC_TCL_WORD7
+STC_TCL_WORD8 = _stc.STC_TCL_WORD8
+STC_TCL_COMMENT_BOX = _stc.STC_TCL_COMMENT_BOX
+STC_TCL_BLOCK_COMMENT = _stc.STC_TCL_BLOCK_COMMENT
STC_H_DEFAULT = _stc.STC_H_DEFAULT
STC_H_TAG = _stc.STC_H_TAG
STC_H_TAGUNKNOWN = _stc.STC_H_TAGUNKNOWN
STC_PL_ARRAY = _stc.STC_PL_ARRAY
STC_PL_HASH = _stc.STC_PL_HASH
STC_PL_SYMBOLTABLE = _stc.STC_PL_SYMBOLTABLE
+STC_PL_VARIABLE_INDEXER = _stc.STC_PL_VARIABLE_INDEXER
STC_PL_REGEX = _stc.STC_PL_REGEX
STC_PL_REGSUBST = _stc.STC_PL_REGSUBST
STC_PL_LONGQUOTE = _stc.STC_PL_LONGQUOTE
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_PL_POD_VERB = _stc.STC_PL_POD_VERB
+STC_RB_DEFAULT = _stc.STC_RB_DEFAULT
+STC_RB_ERROR = _stc.STC_RB_ERROR
+STC_RB_COMMENTLINE = _stc.STC_RB_COMMENTLINE
+STC_RB_POD = _stc.STC_RB_POD
+STC_RB_NUMBER = _stc.STC_RB_NUMBER
+STC_RB_WORD = _stc.STC_RB_WORD
+STC_RB_STRING = _stc.STC_RB_STRING
+STC_RB_CHARACTER = _stc.STC_RB_CHARACTER
+STC_RB_CLASSNAME = _stc.STC_RB_CLASSNAME
+STC_RB_DEFNAME = _stc.STC_RB_DEFNAME
+STC_RB_OPERATOR = _stc.STC_RB_OPERATOR
+STC_RB_IDENTIFIER = _stc.STC_RB_IDENTIFIER
+STC_RB_REGEX = _stc.STC_RB_REGEX
+STC_RB_GLOBAL = _stc.STC_RB_GLOBAL
+STC_RB_SYMBOL = _stc.STC_RB_SYMBOL
+STC_RB_MODULE_NAME = _stc.STC_RB_MODULE_NAME
+STC_RB_INSTANCE_VAR = _stc.STC_RB_INSTANCE_VAR
+STC_RB_CLASS_VAR = _stc.STC_RB_CLASS_VAR
+STC_RB_BACKTICKS = _stc.STC_RB_BACKTICKS
+STC_RB_DATASECTION = _stc.STC_RB_DATASECTION
+STC_RB_HERE_DELIM = _stc.STC_RB_HERE_DELIM
+STC_RB_HERE_Q = _stc.STC_RB_HERE_Q
+STC_RB_HERE_QQ = _stc.STC_RB_HERE_QQ
+STC_RB_HERE_QX = _stc.STC_RB_HERE_QX
+STC_RB_STRING_Q = _stc.STC_RB_STRING_Q
+STC_RB_STRING_QQ = _stc.STC_RB_STRING_QQ
+STC_RB_STRING_QX = _stc.STC_RB_STRING_QX
+STC_RB_STRING_QR = _stc.STC_RB_STRING_QR
+STC_RB_STRING_QW = _stc.STC_RB_STRING_QW
+STC_RB_WORD_DEMOTED = _stc.STC_RB_WORD_DEMOTED
+STC_RB_STDIN = _stc.STC_RB_STDIN
+STC_RB_STDOUT = _stc.STC_RB_STDOUT
+STC_RB_STDERR = _stc.STC_RB_STDERR
+STC_RB_UPPER_BOUND = _stc.STC_RB_UPPER_BOUND
STC_B_DEFAULT = _stc.STC_B_DEFAULT
STC_B_COMMENT = _stc.STC_B_COMMENT
STC_B_NUMBER = _stc.STC_B_NUMBER
STC_B_KEYWORD4 = _stc.STC_B_KEYWORD4
STC_B_CONSTANT = _stc.STC_B_CONSTANT
STC_B_ASM = _stc.STC_B_ASM
+STC_B_LABEL = _stc.STC_B_LABEL
+STC_B_ERROR = _stc.STC_B_ERROR
+STC_B_HEXNUMBER = _stc.STC_B_HEXNUMBER
+STC_B_BINNUMBER = _stc.STC_B_BINNUMBER
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_PROPS_KEY = _stc.STC_PROPS_KEY
STC_L_DEFAULT = _stc.STC_L_DEFAULT
STC_L_COMMAND = _stc.STC_L_COMMAND
STC_L_TAG = _stc.STC_L_TAG
STC_LISP_COMMENT = _stc.STC_LISP_COMMENT
STC_LISP_NUMBER = _stc.STC_LISP_NUMBER
STC_LISP_KEYWORD = _stc.STC_LISP_KEYWORD
+STC_LISP_KEYWORD_KW = _stc.STC_LISP_KEYWORD_KW
+STC_LISP_SYMBOL = _stc.STC_LISP_SYMBOL
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_LISP_SPECIAL = _stc.STC_LISP_SPECIAL
+STC_LISP_MULTI_COMMENT = _stc.STC_LISP_MULTI_COMMENT
STC_EIFFEL_DEFAULT = _stc.STC_EIFFEL_DEFAULT
STC_EIFFEL_COMMENTLINE = _stc.STC_EIFFEL_COMMENTLINE
STC_EIFFEL_NUMBER = _stc.STC_EIFFEL_NUMBER
STC_CSS_DOUBLESTRING = _stc.STC_CSS_DOUBLESTRING
STC_CSS_SINGLESTRING = _stc.STC_CSS_SINGLESTRING
STC_CSS_IDENTIFIER2 = _stc.STC_CSS_IDENTIFIER2
+STC_CSS_ATTRIBUTE = _stc.STC_CSS_ATTRIBUTE
STC_POV_DEFAULT = _stc.STC_POV_DEFAULT
STC_POV_COMMENT = _stc.STC_POV_COMMENT
STC_POV_COMMENTLINE = _stc.STC_POV_COMMENTLINE
STC_NSIS_MACRODEF = _stc.STC_NSIS_MACRODEF
STC_NSIS_STRINGVAR = _stc.STC_NSIS_STRINGVAR
STC_NSIS_NUMBER = _stc.STC_NSIS_NUMBER
+STC_NSIS_SECTIONGROUP = _stc.STC_NSIS_SECTIONGROUP
+STC_NSIS_PAGEEX = _stc.STC_NSIS_PAGEEX
+STC_NSIS_FUNCTIONDEF = _stc.STC_NSIS_FUNCTIONDEF
+STC_NSIS_COMMENTBOX = _stc.STC_NSIS_COMMENTBOX
STC_MMIXAL_LEADWS = _stc.STC_MMIXAL_LEADWS
STC_MMIXAL_COMMENT = _stc.STC_MMIXAL_COMMENT
STC_MMIXAL_LABEL = _stc.STC_MMIXAL_LABEL
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_RUNTIME_EXPRESSIONS = _stc.STC_CLW_RUNTIME_EXPRESSIONS
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_CLW_DEPRECATED = _stc.STC_CLW_DEPRECATED
STC_LOT_DEFAULT = _stc.STC_LOT_DEFAULT
STC_LOT_HEADER = _stc.STC_LOT_HEADER
STC_LOT_BREAK = _stc.STC_LOT_BREAK
STC_AU3_SENT = _stc.STC_AU3_SENT
STC_AU3_PREPROCESSOR = _stc.STC_AU3_PREPROCESSOR
STC_AU3_SPECIAL = _stc.STC_AU3_SPECIAL
+STC_AU3_EXPAND = _stc.STC_AU3_EXPAND
+STC_AU3_COMOBJ = _stc.STC_AU3_COMOBJ
+STC_AU3_UDF = _stc.STC_AU3_UDF
STC_APDL_DEFAULT = _stc.STC_APDL_DEFAULT
STC_APDL_COMMENT = _stc.STC_APDL_COMMENT
STC_APDL_COMMENTBLOCK = _stc.STC_APDL_COMMENTBLOCK
STC_VHDL_STDPACKAGE = _stc.STC_VHDL_STDPACKAGE
STC_VHDL_STDTYPE = _stc.STC_VHDL_STDTYPE
STC_VHDL_USERWORD = _stc.STC_VHDL_USERWORD
+STC_CAML_DEFAULT = _stc.STC_CAML_DEFAULT
+STC_CAML_IDENTIFIER = _stc.STC_CAML_IDENTIFIER
+STC_CAML_TAGNAME = _stc.STC_CAML_TAGNAME
+STC_CAML_KEYWORD = _stc.STC_CAML_KEYWORD
+STC_CAML_KEYWORD2 = _stc.STC_CAML_KEYWORD2
+STC_CAML_KEYWORD3 = _stc.STC_CAML_KEYWORD3
+STC_CAML_LINENUM = _stc.STC_CAML_LINENUM
+STC_CAML_OPERATOR = _stc.STC_CAML_OPERATOR
+STC_CAML_NUMBER = _stc.STC_CAML_NUMBER
+STC_CAML_CHAR = _stc.STC_CAML_CHAR
+STC_CAML_STRING = _stc.STC_CAML_STRING
+STC_CAML_COMMENT = _stc.STC_CAML_COMMENT
+STC_CAML_COMMENT1 = _stc.STC_CAML_COMMENT1
+STC_CAML_COMMENT2 = _stc.STC_CAML_COMMENT2
+STC_CAML_COMMENT3 = _stc.STC_CAML_COMMENT3
+STC_HA_DEFAULT = _stc.STC_HA_DEFAULT
+STC_HA_IDENTIFIER = _stc.STC_HA_IDENTIFIER
+STC_HA_KEYWORD = _stc.STC_HA_KEYWORD
+STC_HA_NUMBER = _stc.STC_HA_NUMBER
+STC_HA_STRING = _stc.STC_HA_STRING
+STC_HA_CHARACTER = _stc.STC_HA_CHARACTER
+STC_HA_CLASS = _stc.STC_HA_CLASS
+STC_HA_MODULE = _stc.STC_HA_MODULE
+STC_HA_CAPITAL = _stc.STC_HA_CAPITAL
+STC_HA_DATA = _stc.STC_HA_DATA
+STC_HA_IMPORT = _stc.STC_HA_IMPORT
+STC_HA_OPERATOR = _stc.STC_HA_OPERATOR
+STC_HA_INSTANCE = _stc.STC_HA_INSTANCE
+STC_HA_COMMENTLINE = _stc.STC_HA_COMMENTLINE
+STC_HA_COMMENTBLOCK = _stc.STC_HA_COMMENTBLOCK
+STC_HA_COMMENTBLOCK2 = _stc.STC_HA_COMMENTBLOCK2
+STC_HA_COMMENTBLOCK3 = _stc.STC_HA_COMMENTBLOCK3
+STC_T3_DEFAULT = _stc.STC_T3_DEFAULT
+STC_T3_X_DEFAULT = _stc.STC_T3_X_DEFAULT
+STC_T3_PREPROCESSOR = _stc.STC_T3_PREPROCESSOR
+STC_T3_BLOCK_COMMENT = _stc.STC_T3_BLOCK_COMMENT
+STC_T3_LINE_COMMENT = _stc.STC_T3_LINE_COMMENT
+STC_T3_OPERATOR = _stc.STC_T3_OPERATOR
+STC_T3_KEYWORD = _stc.STC_T3_KEYWORD
+STC_T3_NUMBER = _stc.STC_T3_NUMBER
+STC_T3_IDENTIFIER = _stc.STC_T3_IDENTIFIER
+STC_T3_S_STRING = _stc.STC_T3_S_STRING
+STC_T3_D_STRING = _stc.STC_T3_D_STRING
+STC_T3_X_STRING = _stc.STC_T3_X_STRING
+STC_T3_LIB_DIRECTIVE = _stc.STC_T3_LIB_DIRECTIVE
+STC_T3_MSG_PARAM = _stc.STC_T3_MSG_PARAM
+STC_T3_HTML_TAG = _stc.STC_T3_HTML_TAG
+STC_T3_HTML_DEFAULT = _stc.STC_T3_HTML_DEFAULT
+STC_T3_HTML_STRING = _stc.STC_T3_HTML_STRING
+STC_T3_USER1 = _stc.STC_T3_USER1
+STC_T3_USER2 = _stc.STC_T3_USER2
+STC_T3_USER3 = _stc.STC_T3_USER3
+STC_REBOL_DEFAULT = _stc.STC_REBOL_DEFAULT
+STC_REBOL_COMMENTLINE = _stc.STC_REBOL_COMMENTLINE
+STC_REBOL_COMMENTBLOCK = _stc.STC_REBOL_COMMENTBLOCK
+STC_REBOL_PREFACE = _stc.STC_REBOL_PREFACE
+STC_REBOL_OPERATOR = _stc.STC_REBOL_OPERATOR
+STC_REBOL_CHARACTER = _stc.STC_REBOL_CHARACTER
+STC_REBOL_QUOTEDSTRING = _stc.STC_REBOL_QUOTEDSTRING
+STC_REBOL_BRACEDSTRING = _stc.STC_REBOL_BRACEDSTRING
+STC_REBOL_NUMBER = _stc.STC_REBOL_NUMBER
+STC_REBOL_PAIR = _stc.STC_REBOL_PAIR
+STC_REBOL_TUPLE = _stc.STC_REBOL_TUPLE
+STC_REBOL_BINARY = _stc.STC_REBOL_BINARY
+STC_REBOL_MONEY = _stc.STC_REBOL_MONEY
+STC_REBOL_ISSUE = _stc.STC_REBOL_ISSUE
+STC_REBOL_TAG = _stc.STC_REBOL_TAG
+STC_REBOL_FILE = _stc.STC_REBOL_FILE
+STC_REBOL_EMAIL = _stc.STC_REBOL_EMAIL
+STC_REBOL_URL = _stc.STC_REBOL_URL
+STC_REBOL_DATE = _stc.STC_REBOL_DATE
+STC_REBOL_TIME = _stc.STC_REBOL_TIME
+STC_REBOL_IDENTIFIER = _stc.STC_REBOL_IDENTIFIER
+STC_REBOL_WORD = _stc.STC_REBOL_WORD
+STC_REBOL_WORD2 = _stc.STC_REBOL_WORD2
+STC_REBOL_WORD3 = _stc.STC_REBOL_WORD3
+STC_REBOL_WORD4 = _stc.STC_REBOL_WORD4
+STC_REBOL_WORD5 = _stc.STC_REBOL_WORD5
+STC_REBOL_WORD6 = _stc.STC_REBOL_WORD6
+STC_REBOL_WORD7 = _stc.STC_REBOL_WORD7
+STC_REBOL_WORD8 = _stc.STC_REBOL_WORD8
+STC_SQL_DEFAULT = _stc.STC_SQL_DEFAULT
+STC_SQL_COMMENT = _stc.STC_SQL_COMMENT
+STC_SQL_COMMENTLINE = _stc.STC_SQL_COMMENTLINE
+STC_SQL_COMMENTDOC = _stc.STC_SQL_COMMENTDOC
+STC_SQL_NUMBER = _stc.STC_SQL_NUMBER
+STC_SQL_WORD = _stc.STC_SQL_WORD
+STC_SQL_STRING = _stc.STC_SQL_STRING
+STC_SQL_CHARACTER = _stc.STC_SQL_CHARACTER
+STC_SQL_SQLPLUS = _stc.STC_SQL_SQLPLUS
+STC_SQL_SQLPLUS_PROMPT = _stc.STC_SQL_SQLPLUS_PROMPT
+STC_SQL_OPERATOR = _stc.STC_SQL_OPERATOR
+STC_SQL_IDENTIFIER = _stc.STC_SQL_IDENTIFIER
+STC_SQL_SQLPLUS_COMMENT = _stc.STC_SQL_SQLPLUS_COMMENT
+STC_SQL_COMMENTLINEDOC = _stc.STC_SQL_COMMENTLINEDOC
+STC_SQL_WORD2 = _stc.STC_SQL_WORD2
+STC_SQL_COMMENTDOCKEYWORD = _stc.STC_SQL_COMMENTDOCKEYWORD
+STC_SQL_COMMENTDOCKEYWORDERROR = _stc.STC_SQL_COMMENTDOCKEYWORDERROR
+STC_SQL_USER1 = _stc.STC_SQL_USER1
+STC_SQL_USER2 = _stc.STC_SQL_USER2
+STC_SQL_USER3 = _stc.STC_SQL_USER3
+STC_SQL_USER4 = _stc.STC_SQL_USER4
+STC_SQL_QUOTEDIDENTIFIER = _stc.STC_SQL_QUOTEDIDENTIFIER
+STC_ST_DEFAULT = _stc.STC_ST_DEFAULT
+STC_ST_STRING = _stc.STC_ST_STRING
+STC_ST_NUMBER = _stc.STC_ST_NUMBER
+STC_ST_COMMENT = _stc.STC_ST_COMMENT
+STC_ST_SYMBOL = _stc.STC_ST_SYMBOL
+STC_ST_BINARY = _stc.STC_ST_BINARY
+STC_ST_BOOL = _stc.STC_ST_BOOL
+STC_ST_SELF = _stc.STC_ST_SELF
+STC_ST_SUPER = _stc.STC_ST_SUPER
+STC_ST_NIL = _stc.STC_ST_NIL
+STC_ST_GLOBAL = _stc.STC_ST_GLOBAL
+STC_ST_RETURN = _stc.STC_ST_RETURN
+STC_ST_SPECIAL = _stc.STC_ST_SPECIAL
+STC_ST_KWSEND = _stc.STC_ST_KWSEND
+STC_ST_ASSIGN = _stc.STC_ST_ASSIGN
+STC_ST_CHARACTER = _stc.STC_ST_CHARACTER
+STC_ST_SPEC_SEL = _stc.STC_ST_SPEC_SEL
+STC_FS_DEFAULT = _stc.STC_FS_DEFAULT
+STC_FS_COMMENT = _stc.STC_FS_COMMENT
+STC_FS_COMMENTLINE = _stc.STC_FS_COMMENTLINE
+STC_FS_COMMENTDOC = _stc.STC_FS_COMMENTDOC
+STC_FS_COMMENTLINEDOC = _stc.STC_FS_COMMENTLINEDOC
+STC_FS_COMMENTDOCKEYWORD = _stc.STC_FS_COMMENTDOCKEYWORD
+STC_FS_COMMENTDOCKEYWORDERROR = _stc.STC_FS_COMMENTDOCKEYWORDERROR
+STC_FS_KEYWORD = _stc.STC_FS_KEYWORD
+STC_FS_KEYWORD2 = _stc.STC_FS_KEYWORD2
+STC_FS_KEYWORD3 = _stc.STC_FS_KEYWORD3
+STC_FS_KEYWORD4 = _stc.STC_FS_KEYWORD4
+STC_FS_NUMBER = _stc.STC_FS_NUMBER
+STC_FS_STRING = _stc.STC_FS_STRING
+STC_FS_PREPROCESSOR = _stc.STC_FS_PREPROCESSOR
+STC_FS_OPERATOR = _stc.STC_FS_OPERATOR
+STC_FS_IDENTIFIER = _stc.STC_FS_IDENTIFIER
+STC_FS_DATE = _stc.STC_FS_DATE
+STC_FS_STRINGEOL = _stc.STC_FS_STRINGEOL
+STC_FS_CONSTANT = _stc.STC_FS_CONSTANT
+STC_FS_ASM = _stc.STC_FS_ASM
+STC_FS_LABEL = _stc.STC_FS_LABEL
+STC_FS_ERROR = _stc.STC_FS_ERROR
+STC_FS_HEXNUMBER = _stc.STC_FS_HEXNUMBER
+STC_FS_BINNUMBER = _stc.STC_FS_BINNUMBER
+STC_CSOUND_DEFAULT = _stc.STC_CSOUND_DEFAULT
+STC_CSOUND_COMMENT = _stc.STC_CSOUND_COMMENT
+STC_CSOUND_NUMBER = _stc.STC_CSOUND_NUMBER
+STC_CSOUND_OPERATOR = _stc.STC_CSOUND_OPERATOR
+STC_CSOUND_INSTR = _stc.STC_CSOUND_INSTR
+STC_CSOUND_IDENTIFIER = _stc.STC_CSOUND_IDENTIFIER
+STC_CSOUND_OPCODE = _stc.STC_CSOUND_OPCODE
+STC_CSOUND_HEADERSTMT = _stc.STC_CSOUND_HEADERSTMT
+STC_CSOUND_USERKEYWORD = _stc.STC_CSOUND_USERKEYWORD
+STC_CSOUND_COMMENTBLOCK = _stc.STC_CSOUND_COMMENTBLOCK
+STC_CSOUND_PARAM = _stc.STC_CSOUND_PARAM
+STC_CSOUND_ARATE_VAR = _stc.STC_CSOUND_ARATE_VAR
+STC_CSOUND_KRATE_VAR = _stc.STC_CSOUND_KRATE_VAR
+STC_CSOUND_IRATE_VAR = _stc.STC_CSOUND_IRATE_VAR
+STC_CSOUND_GLOBAL_VAR = _stc.STC_CSOUND_GLOBAL_VAR
+STC_CSOUND_STRINGEOL = _stc.STC_CSOUND_STRINGEOL
+STC_INNO_DEFAULT = _stc.STC_INNO_DEFAULT
+STC_INNO_COMMENT = _stc.STC_INNO_COMMENT
+STC_INNO_KEYWORD = _stc.STC_INNO_KEYWORD
+STC_INNO_PARAMETER = _stc.STC_INNO_PARAMETER
+STC_INNO_SECTION = _stc.STC_INNO_SECTION
+STC_INNO_PREPROC = _stc.STC_INNO_PREPROC
+STC_INNO_PREPROC_INLINE = _stc.STC_INNO_PREPROC_INLINE
+STC_INNO_COMMENT_PASCAL = _stc.STC_INNO_COMMENT_PASCAL
+STC_INNO_KEYWORD_PASCAL = _stc.STC_INNO_KEYWORD_PASCAL
+STC_INNO_KEYWORD_USER = _stc.STC_INNO_KEYWORD_USER
+STC_INNO_STRING_DOUBLE = _stc.STC_INNO_STRING_DOUBLE
+STC_INNO_STRING_SINGLE = _stc.STC_INNO_STRING_SINGLE
+STC_INNO_IDENTIFIER = _stc.STC_INNO_IDENTIFIER
+STC_OPAL_SPACE = _stc.STC_OPAL_SPACE
+STC_OPAL_COMMENT_BLOCK = _stc.STC_OPAL_COMMENT_BLOCK
+STC_OPAL_COMMENT_LINE = _stc.STC_OPAL_COMMENT_LINE
+STC_OPAL_INTEGER = _stc.STC_OPAL_INTEGER
+STC_OPAL_KEYWORD = _stc.STC_OPAL_KEYWORD
+STC_OPAL_SORT = _stc.STC_OPAL_SORT
+STC_OPAL_STRING = _stc.STC_OPAL_STRING
+STC_OPAL_PAR = _stc.STC_OPAL_PAR
+STC_OPAL_BOOL_CONST = _stc.STC_OPAL_BOOL_CONST
+STC_OPAL_DEFAULT = _stc.STC_OPAL_DEFAULT
+STC_SPICE_DEFAULT = _stc.STC_SPICE_DEFAULT
+STC_SPICE_IDENTIFIER = _stc.STC_SPICE_IDENTIFIER
+STC_SPICE_KEYWORD = _stc.STC_SPICE_KEYWORD
+STC_SPICE_KEYWORD2 = _stc.STC_SPICE_KEYWORD2
+STC_SPICE_KEYWORD3 = _stc.STC_SPICE_KEYWORD3
+STC_SPICE_NUMBER = _stc.STC_SPICE_NUMBER
+STC_SPICE_DELIMITER = _stc.STC_SPICE_DELIMITER
+STC_SPICE_VALUE = _stc.STC_SPICE_VALUE
+STC_SPICE_COMMENTLINE = _stc.STC_SPICE_COMMENTLINE
STC_CMD_REDO = _stc.STC_CMD_REDO
STC_CMD_SELECTALL = _stc.STC_CMD_SELECTALL
STC_CMD_UNDO = _stc.STC_CMD_UNDO
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):
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
+ __repr__ = _swig_repr
+ 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
+ _stc.StyledTextCtrl_swiginit(self,_stc.new_StyledTextCtrl(*args, **kwargs))
self._setOORInfo(self)
def Create(*args, **kwargs):
"""
return _stc.StyledTextCtrl_MarkerDefineBitmap(*args, **kwargs)
+ def MarkerAddSet(*args, **kwargs):
+ """
+ MarkerAddSet(self, int line, int set)
+
+ Add a set of markers to a line.
+ """
+ return _stc.StyledTextCtrl_MarkerAddSet(*args, **kwargs)
+
+ def MarkerSetAlpha(*args, **kwargs):
+ """
+ MarkerSetAlpha(self, int markerNumber, int alpha)
+
+ Set the alpha used for a marker that is drawn in the text area, not the margin.
+ """
+ return _stc.StyledTextCtrl_MarkerSetAlpha(*args, **kwargs)
+
def SetMarginType(*args, **kwargs):
"""
SetMarginType(self, int margin, int marginType)
"""
return _stc.StyledTextCtrl_SetSelBackground(*args, **kwargs)
+ def GetSelAlpha(*args, **kwargs):
+ """
+ GetSelAlpha(self) -> int
+
+ Get the alpha of the selection.
+ """
+ return _stc.StyledTextCtrl_GetSelAlpha(*args, **kwargs)
+
+ def SetSelAlpha(*args, **kwargs):
+ """
+ SetSelAlpha(self, int alpha)
+
+ Set the alpha of the selection.
+ """
+ return _stc.StyledTextCtrl_SetSelAlpha(*args, **kwargs)
+
def SetCaretForeground(*args, **kwargs):
"""
SetCaretForeground(self, Colour fore)
"""
return _stc.StyledTextCtrl_SetCaretLineVisible(*args, **kwargs)
- def GetCaretLineBack(*args, **kwargs):
+ def GetCaretLineBackground(*args, **kwargs):
"""
- GetCaretLineBack(self) -> Colour
+ GetCaretLineBackground(self) -> Colour
Get the colour of the background of the line containing the caret.
"""
- return _stc.StyledTextCtrl_GetCaretLineBack(*args, **kwargs)
+ return _stc.StyledTextCtrl_GetCaretLineBackground(*args, **kwargs)
- def SetCaretLineBack(*args, **kwargs):
+ def SetCaretLineBackground(*args, **kwargs):
"""
- SetCaretLineBack(self, Colour back)
+ SetCaretLineBackground(self, Colour back)
Set the colour of the background of the line containing the caret.
"""
- return _stc.StyledTextCtrl_SetCaretLineBack(*args, **kwargs)
+ return _stc.StyledTextCtrl_SetCaretLineBackground(*args, **kwargs)
def StyleSetChangeable(*args, **kwargs):
"""
"""
return _stc.StyledTextCtrl_AutoCompSetTypeSeparator(*args, **kwargs)
+ def AutoCompSetMaxWidth(*args, **kwargs):
+ """
+ AutoCompSetMaxWidth(self, int characterCount)
+
+ Set the maximum width, in characters, of auto-completion and user lists.
+ Set to 0 to autosize to fit longest item, which is the default.
+ """
+ return _stc.StyledTextCtrl_AutoCompSetMaxWidth(*args, **kwargs)
+
+ def AutoCompGetMaxWidth(*args, **kwargs):
+ """
+ AutoCompGetMaxWidth(self) -> int
+
+ Get the maximum width, in characters, of auto-completion and user lists.
+ """
+ return _stc.StyledTextCtrl_AutoCompGetMaxWidth(*args, **kwargs)
+
+ def AutoCompSetMaxHeight(*args, **kwargs):
+ """
+ AutoCompSetMaxHeight(self, int rowCount)
+
+ Set the maximum height, in rows, of auto-completion and user lists.
+ The default is 5 rows.
+ """
+ return _stc.StyledTextCtrl_AutoCompSetMaxHeight(*args, **kwargs)
+
+ def AutoCompGetMaxHeight(*args, **kwargs):
+ """
+ AutoCompGetMaxHeight(self) -> int
+
+ Set the maximum height, in rows, of auto-completion and user lists.
+ """
+ return _stc.StyledTextCtrl_AutoCompGetMaxHeight(*args, **kwargs)
+
def SetIndent(*args, **kwargs):
"""
SetIndent(self, int indentSize)
"""
return _stc.StyledTextCtrl_CallTipSetForegroundHighlight(*args, **kwargs)
+ def CallTipUseStyle(*args, **kwargs):
+ """
+ CallTipUseStyle(self, int tabSize)
+
+ Enable use of STYLE_CALLTIP and set call tip tab size in pixels.
+ """
+ return _stc.StyledTextCtrl_CallTipUseStyle(*args, **kwargs)
+
def VisibleFromDocLine(*args, **kwargs):
"""
VisibleFromDocLine(self, int line) -> int
"""
return _stc.StyledTextCtrl_DocLineFromVisible(*args, **kwargs)
+ def WrapCount(*args, **kwargs):
+ """
+ WrapCount(self, int line) -> int
+
+ The number of display lines needed to wrap a document line
+ """
+ return _stc.StyledTextCtrl_WrapCount(*args, **kwargs)
+
def SetFoldLevel(*args, **kwargs):
"""
SetFoldLevel(self, int line, int level)
def GetEndAtLastLine(*args, **kwargs):
"""
- GetEndAtLastLine(self) -> int
+ GetEndAtLastLine(self) -> bool
Retrieve whether the maximum scroll position has the last
line at the bottom of the view.
"""
FindColumn(self, int line, int column) -> int
- Find the position of a column on a line taking into account tabs and
+ 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 GetCaretSticky(*args, **kwargs):
+ """
+ GetCaretSticky(self) -> bool
+
+ Can the caret preferred x position only be changed by explicit movement commands?
+ """
+ return _stc.StyledTextCtrl_GetCaretSticky(*args, **kwargs)
+
+ def SetCaretSticky(*args, **kwargs):
+ """
+ SetCaretSticky(self, bool useCaretStickyBehaviour)
+
+ Stop the caret preferred x position changing when the user types.
+ """
+ return _stc.StyledTextCtrl_SetCaretSticky(*args, **kwargs)
+
+ def ToggleCaretSticky(*args, **kwargs):
+ """
+ ToggleCaretSticky(self)
+
+ Switch between sticky and non-sticky: meant to be bound to a key.
+ """
+ return _stc.StyledTextCtrl_ToggleCaretSticky(*args, **kwargs)
+
+ def SetPasteConvertEndings(*args, **kwargs):
+ """
+ SetPasteConvertEndings(self, bool convert)
+
+ Enable/Disable convert-on-paste for line endings
+ """
+ return _stc.StyledTextCtrl_SetPasteConvertEndings(*args, **kwargs)
+
+ def GetPasteConvertEndings(*args, **kwargs):
+ """
+ GetPasteConvertEndings(self) -> bool
+
+ Get convert-on-paste setting
+ """
+ return _stc.StyledTextCtrl_GetPasteConvertEndings(*args, **kwargs)
+
+ def SelectionDuplicate(*args, **kwargs):
+ """
+ SelectionDuplicate(self)
+
+ Duplicate the selection. If selection empty duplicate the line containing the caret.
+ """
+ return _stc.StyledTextCtrl_SelectionDuplicate(*args, **kwargs)
+
+ def SetCaretLineBackAlpha(*args, **kwargs):
+ """
+ SetCaretLineBackAlpha(self, int alpha)
+
+ Set background alpha of the caret line.
+ """
+ return _stc.StyledTextCtrl_SetCaretLineBackAlpha(*args, **kwargs)
+
+ def GetCaretLineBackAlpha(*args, **kwargs):
+ """
+ GetCaretLineBackAlpha(self) -> int
+
+ Get the background alpha of the caret line.
+ """
+ return _stc.StyledTextCtrl_GetCaretLineBackAlpha(*args, **kwargs)
+
def StartRecord(*args, **kwargs):
"""
StartRecord(self)
"""
return _stc.StyledTextCtrl_SetLexerLanguage(*args, **kwargs)
+ def GetProperty(*args, **kwargs):
+ """
+ GetProperty(self, String key) -> String
+
+ Retrieve a 'property' value previously set with SetProperty.
+ """
+ return _stc.StyledTextCtrl_GetProperty(*args, **kwargs)
+
+ def GetPropertyExpanded(*args, **kwargs):
+ """
+ GetPropertyExpanded(self, String key) -> String
+
+ Retrieve a 'property' value previously set with SetProperty,
+ with '$()' variable replacement on returned buffer.
+ """
+ return _stc.StyledTextCtrl_GetPropertyExpanded(*args, **kwargs)
+
+ def GetPropertyInt(*args, **kwargs):
+ """
+ GetPropertyInt(self, String key) -> int
+
+ Retrieve a 'property' value previously set with SetProperty,
+ interpreted as an int AFTER any '$()' variable replacement.
+ """
+ return _stc.StyledTextCtrl_GetPropertyInt(*args, **kwargs)
+
+ def GetStyleBitsNeeded(*args, **kwargs):
+ """
+ GetStyleBitsNeeded(self) -> int
+
+ Retrieve the number of bits the current lexer needs for styling.
+ """
+ return _stc.StyledTextCtrl_GetStyleBitsNeeded(*args, **kwargs)
+
def GetCurrentLine(*args, **kwargs):
"""
GetCurrentLine(self) -> int
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)
+ GetCaretLineBack = GetCaretLineBackground
+ SetCaretLineBack = SetCaretLineBackground
+
+ Anchor = property(GetAnchor,SetAnchor,doc="See `GetAnchor` and `SetAnchor`")
+ BackSpaceUnIndents = property(GetBackSpaceUnIndents,SetBackSpaceUnIndents,doc="See `GetBackSpaceUnIndents` and `SetBackSpaceUnIndents`")
+ BufferedDraw = property(GetBufferedDraw,SetBufferedDraw,doc="See `GetBufferedDraw` and `SetBufferedDraw`")
+ CaretForeground = property(GetCaretForeground,SetCaretForeground,doc="See `GetCaretForeground` and `SetCaretForeground`")
+ CaretLineBack = property(GetCaretLineBack,SetCaretLineBack,doc="See `GetCaretLineBack` and `SetCaretLineBack`")
+ CaretLineBackAlpha = property(GetCaretLineBackAlpha,SetCaretLineBackAlpha,doc="See `GetCaretLineBackAlpha` and `SetCaretLineBackAlpha`")
+ CaretLineBackground = property(GetCaretLineBackground,SetCaretLineBackground,doc="See `GetCaretLineBackground` and `SetCaretLineBackground`")
+ CaretLineVisible = property(GetCaretLineVisible,SetCaretLineVisible,doc="See `GetCaretLineVisible` and `SetCaretLineVisible`")
+ CaretPeriod = property(GetCaretPeriod,SetCaretPeriod,doc="See `GetCaretPeriod` and `SetCaretPeriod`")
+ CaretSticky = property(GetCaretSticky,SetCaretSticky,doc="See `GetCaretSticky` and `SetCaretSticky`")
+ CaretWidth = property(GetCaretWidth,SetCaretWidth,doc="See `GetCaretWidth` and `SetCaretWidth`")
+ CodePage = property(GetCodePage,SetCodePage,doc="See `GetCodePage` and `SetCodePage`")
+ ControlCharSymbol = property(GetControlCharSymbol,SetControlCharSymbol,doc="See `GetControlCharSymbol` and `SetControlCharSymbol`")
+ CurLine = property(GetCurLine,doc="See `GetCurLine`")
+ CurLineRaw = property(GetCurLineRaw,doc="See `GetCurLineRaw`")
+ CurLineUTF8 = property(GetCurLineUTF8,doc="See `GetCurLineUTF8`")
+ CurrentLine = property(GetCurrentLine,doc="See `GetCurrentLine`")
+ CurrentPos = property(GetCurrentPos,SetCurrentPos,doc="See `GetCurrentPos` and `SetCurrentPos`")
+ DocPointer = property(GetDocPointer,SetDocPointer,doc="See `GetDocPointer` and `SetDocPointer`")
+ EOLMode = property(GetEOLMode,SetEOLMode,doc="See `GetEOLMode` and `SetEOLMode`")
+ EdgeColour = property(GetEdgeColour,SetEdgeColour,doc="See `GetEdgeColour` and `SetEdgeColour`")
+ EdgeColumn = property(GetEdgeColumn,SetEdgeColumn,doc="See `GetEdgeColumn` and `SetEdgeColumn`")
+ EdgeMode = property(GetEdgeMode,SetEdgeMode,doc="See `GetEdgeMode` and `SetEdgeMode`")
+ EndAtLastLine = property(GetEndAtLastLine,SetEndAtLastLine,doc="See `GetEndAtLastLine` and `SetEndAtLastLine`")
+ EndStyled = property(GetEndStyled,doc="See `GetEndStyled`")
+ FirstVisibleLine = property(GetFirstVisibleLine,doc="See `GetFirstVisibleLine`")
+ HighlightGuide = property(GetHighlightGuide,SetHighlightGuide,doc="See `GetHighlightGuide` and `SetHighlightGuide`")
+ Indent = property(GetIndent,SetIndent,doc="See `GetIndent` and `SetIndent`")
+ IndentationGuides = property(GetIndentationGuides,SetIndentationGuides,doc="See `GetIndentationGuides` and `SetIndentationGuides`")
+ LastKeydownProcessed = property(GetLastKeydownProcessed,SetLastKeydownProcessed,doc="See `GetLastKeydownProcessed` and `SetLastKeydownProcessed`")
+ LayoutCache = property(GetLayoutCache,SetLayoutCache,doc="See `GetLayoutCache` and `SetLayoutCache`")
+ Length = property(GetLength,doc="See `GetLength`")
+ Lexer = property(GetLexer,SetLexer,doc="See `GetLexer` and `SetLexer`")
+ LineCount = property(GetLineCount,doc="See `GetLineCount`")
+ MarginLeft = property(GetMarginLeft,SetMarginLeft,doc="See `GetMarginLeft` and `SetMarginLeft`")
+ MarginRight = property(GetMarginRight,SetMarginRight,doc="See `GetMarginRight` and `SetMarginRight`")
+ MaxLineState = property(GetMaxLineState,doc="See `GetMaxLineState`")
+ ModEventMask = property(GetModEventMask,SetModEventMask,doc="See `GetModEventMask` and `SetModEventMask`")
+ Modify = property(GetModify,doc="See `GetModify`")
+ MouseDownCaptures = property(GetMouseDownCaptures,SetMouseDownCaptures,doc="See `GetMouseDownCaptures` and `SetMouseDownCaptures`")
+ MouseDwellTime = property(GetMouseDwellTime,SetMouseDwellTime,doc="See `GetMouseDwellTime` and `SetMouseDwellTime`")
+ Overtype = property(GetOvertype,SetOvertype,doc="See `GetOvertype` and `SetOvertype`")
+ PasteConvertEndings = property(GetPasteConvertEndings,SetPasteConvertEndings,doc="See `GetPasteConvertEndings` and `SetPasteConvertEndings`")
+ PrintColourMode = property(GetPrintColourMode,SetPrintColourMode,doc="See `GetPrintColourMode` and `SetPrintColourMode`")
+ PrintMagnification = property(GetPrintMagnification,SetPrintMagnification,doc="See `GetPrintMagnification` and `SetPrintMagnification`")
+ PrintWrapMode = property(GetPrintWrapMode,SetPrintWrapMode,doc="See `GetPrintWrapMode` and `SetPrintWrapMode`")
+ ReadOnly = property(GetReadOnly,SetReadOnly,doc="See `GetReadOnly` and `SetReadOnly`")
+ STCCursor = property(GetSTCCursor,SetSTCCursor,doc="See `GetSTCCursor` and `SetSTCCursor`")
+ STCFocus = property(GetSTCFocus,SetSTCFocus,doc="See `GetSTCFocus` and `SetSTCFocus`")
+ ScrollWidth = property(GetScrollWidth,SetScrollWidth,doc="See `GetScrollWidth` and `SetScrollWidth`")
+ SearchFlags = property(GetSearchFlags,SetSearchFlags,doc="See `GetSearchFlags` and `SetSearchFlags`")
+ SelAlpha = property(GetSelAlpha,SetSelAlpha,doc="See `GetSelAlpha` and `SetSelAlpha`")
+ SelectedText = property(GetSelectedText,doc="See `GetSelectedText`")
+ SelectedTextRaw = property(GetSelectedTextRaw,doc="See `GetSelectedTextRaw`")
+ SelectedTextUTF8 = property(GetSelectedTextUTF8,doc="See `GetSelectedTextUTF8`")
+ Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
+ SelectionEnd = property(GetSelectionEnd,SetSelectionEnd,doc="See `GetSelectionEnd` and `SetSelectionEnd`")
+ SelectionMode = property(GetSelectionMode,SetSelectionMode,doc="See `GetSelectionMode` and `SetSelectionMode`")
+ SelectionStart = property(GetSelectionStart,SetSelectionStart,doc="See `GetSelectionStart` and `SetSelectionStart`")
+ Status = property(GetStatus,SetStatus,doc="See `GetStatus` and `SetStatus`")
+ StyleBits = property(GetStyleBits,SetStyleBits,doc="See `GetStyleBits` and `SetStyleBits`")
+ StyleBitsNeeded = property(GetStyleBitsNeeded,doc="See `GetStyleBitsNeeded`")
+ TabIndents = property(GetTabIndents,SetTabIndents,doc="See `GetTabIndents` and `SetTabIndents`")
+ TabWidth = property(GetTabWidth,SetTabWidth,doc="See `GetTabWidth` and `SetTabWidth`")
+ TargetEnd = property(GetTargetEnd,SetTargetEnd,doc="See `GetTargetEnd` and `SetTargetEnd`")
+ TargetStart = property(GetTargetStart,SetTargetStart,doc="See `GetTargetStart` and `SetTargetStart`")
+ Text = property(GetText,SetText,doc="See `GetText` and `SetText`")
+ TextLength = property(GetTextLength,doc="See `GetTextLength`")
+ TextRaw = property(GetTextRaw,SetTextRaw,doc="See `GetTextRaw` and `SetTextRaw`")
+ TextUTF8 = property(GetTextUTF8,SetTextUTF8,doc="See `GetTextUTF8` and `SetTextUTF8`")
+ TwoPhaseDraw = property(GetTwoPhaseDraw,SetTwoPhaseDraw,doc="See `GetTwoPhaseDraw` and `SetTwoPhaseDraw`")
+ UndoCollection = property(GetUndoCollection,SetUndoCollection,doc="See `GetUndoCollection` and `SetUndoCollection`")
+ UseAntiAliasing = property(GetUseAntiAliasing,SetUseAntiAliasing,doc="See `GetUseAntiAliasing` and `SetUseAntiAliasing`")
+ UseHorizontalScrollBar = property(GetUseHorizontalScrollBar,SetUseHorizontalScrollBar,doc="See `GetUseHorizontalScrollBar` and `SetUseHorizontalScrollBar`")
+ UseTabs = property(GetUseTabs,SetUseTabs,doc="See `GetUseTabs` and `SetUseTabs`")
+ UseVerticalScrollBar = property(GetUseVerticalScrollBar,SetUseVerticalScrollBar,doc="See `GetUseVerticalScrollBar` and `SetUseVerticalScrollBar`")
+ ViewEOL = property(GetViewEOL,SetViewEOL,doc="See `GetViewEOL` and `SetViewEOL`")
+ ViewWhiteSpace = property(GetViewWhiteSpace,SetViewWhiteSpace,doc="See `GetViewWhiteSpace` and `SetViewWhiteSpace`")
+ WrapMode = property(GetWrapMode,SetWrapMode,doc="See `GetWrapMode` and `SetWrapMode`")
+ WrapStartIndent = property(GetWrapStartIndent,SetWrapStartIndent,doc="See `GetWrapStartIndent` and `SetWrapStartIndent`")
+ WrapVisualFlags = property(GetWrapVisualFlags,SetWrapVisualFlags,doc="See `GetWrapVisualFlags` and `SetWrapVisualFlags`")
+ WrapVisualFlagsLocation = property(GetWrapVisualFlagsLocation,SetWrapVisualFlagsLocation,doc="See `GetWrapVisualFlagsLocation` and `SetWrapVisualFlagsLocation`")
+ XOffset = property(GetXOffset,SetXOffset,doc="See `GetXOffset` and `SetXOffset`")
+ Zoom = property(GetZoom,SetZoom,doc="See `GetZoom` and `SetZoom`")
+_stc.StyledTextCtrl_swigregister(StyledTextCtrl)
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
-
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
+ __repr__ = _swig_repr
+ def __init__(self, *args, **kwargs):
+ """__init__(self, EventType commandType=0, int id=0) -> StyledTextEvent"""
+ _stc.StyledTextEvent_swiginit(self,_stc.new_StyledTextEvent(*args, **kwargs))
+ __swig_destroy__ = _stc.delete_StyledTextEvent
+ __del__ = lambda self : None;
def SetPosition(*args, **kwargs):
"""SetPosition(self, int pos)"""
return _stc.StyledTextEvent_SetPosition(*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)
+ Alt = property(GetAlt,doc="See `GetAlt`")
+ Control = property(GetControl,doc="See `GetControl`")
+ DragAllowMove = property(GetDragAllowMove,SetDragAllowMove,doc="See `GetDragAllowMove` and `SetDragAllowMove`")
+ DragResult = property(GetDragResult,SetDragResult,doc="See `GetDragResult` and `SetDragResult`")
+ DragText = property(GetDragText,SetDragText,doc="See `GetDragText` and `SetDragText`")
+ FoldLevelNow = property(GetFoldLevelNow,SetFoldLevelNow,doc="See `GetFoldLevelNow` and `SetFoldLevelNow`")
+ FoldLevelPrev = property(GetFoldLevelPrev,SetFoldLevelPrev,doc="See `GetFoldLevelPrev` and `SetFoldLevelPrev`")
+ Key = property(GetKey,SetKey,doc="See `GetKey` and `SetKey`")
+ LParam = property(GetLParam,SetLParam,doc="See `GetLParam` and `SetLParam`")
+ Length = property(GetLength,SetLength,doc="See `GetLength` and `SetLength`")
+ Line = property(GetLine,SetLine,doc="See `GetLine` and `SetLine`")
+ LinesAdded = property(GetLinesAdded,SetLinesAdded,doc="See `GetLinesAdded` and `SetLinesAdded`")
+ ListType = property(GetListType,SetListType,doc="See `GetListType` and `SetListType`")
+ Margin = property(GetMargin,SetMargin,doc="See `GetMargin` and `SetMargin`")
+ Message = property(GetMessage,SetMessage,doc="See `GetMessage` and `SetMessage`")
+ ModificationType = property(GetModificationType,SetModificationType,doc="See `GetModificationType` and `SetModificationType`")
+ Modifiers = property(GetModifiers,SetModifiers,doc="See `GetModifiers` and `SetModifiers`")
+ Position = property(GetPosition,SetPosition,doc="See `GetPosition` and `SetPosition`")
+ Shift = property(GetShift,doc="See `GetShift`")
+ Text = property(GetText,SetText,doc="See `GetText` and `SetText`")
+ WParam = property(GetWParam,SetWParam,doc="See `GetWParam` and `SetWParam`")
+ X = property(GetX,SetX,doc="See `GetX` and `SetX`")
+ Y = property(GetY,SetY,doc="See `GetY` and `SetY`")
+_stc.StyledTextEvent_swigregister(StyledTextEvent)
wxEVT_STC_CHANGE = _stc.wxEVT_STC_CHANGE
wxEVT_STC_STYLENEEDED = _stc.wxEVT_STC_STYLENEEDED
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
+wxEVT_STC_AUTOCOMP_SELECTION = _stc.wxEVT_STC_AUTOCOMP_SELECTION
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_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 )
+EVT_STC_AUTOCOMP_SELECTION = wx.PyEventBinder( wxEVT_STC_AUTOCOMP_SELECTION, 1 )
+