]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/stc/stc.py
reSWIGged
[wxWidgets.git] / wxPython / contrib / stc / stc.py
index 7aacc49d525fc1fbe4f37f712e7f12607f22892e..fb60b28cad6bd1515a92dc45f2c1d3b0e47a8812 100644 (file)
@@ -4,6 +4,7 @@
 import _stc
 
 import core
+import misc
 wx = core 
 STC_USE_DND = _stc.STC_USE_DND
 STC_USE_POPUP = _stc.STC_USE_POPUP
@@ -94,6 +95,7 @@ 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
@@ -140,6 +142,9 @@ 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
@@ -218,6 +223,16 @@ 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_AUTOMATIC = _stc.STC_LEX_AUTOMATIC
 STC_P_DEFAULT = _stc.STC_P_DEFAULT
 STC_P_COMMENTLINE = _stc.STC_P_COMMENTLINE
@@ -402,6 +417,10 @@ 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_PROPS_DEFAULT = _stc.STC_PROPS_DEFAULT
 STC_PROPS_COMMENT = _stc.STC_PROPS_COMMENT
 STC_PROPS_SECTION = _stc.STC_PROPS_SECTION
@@ -449,6 +468,8 @@ 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_BAT_DEFAULT = _stc.STC_BAT_DEFAULT
 STC_BAT_COMMENT = _stc.STC_BAT_COMMENT
 STC_BAT_WORD = _stc.STC_BAT_WORD
@@ -547,6 +568,18 @@ 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
@@ -555,26 +588,23 @@ 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_COMMENT = _stc.STC_SCRIPTOL_COMMENT
+STC_SCRIPTOL_WHITE = _stc.STC_SCRIPTOL_WHITE
 STC_SCRIPTOL_COMMENTLINE = _stc.STC_SCRIPTOL_COMMENTLINE
-STC_SCRIPTOL_COMMENTDOC = _stc.STC_SCRIPTOL_COMMENTDOC
+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_WORD = _stc.STC_SCRIPTOL_WORD
 STC_SCRIPTOL_STRING = _stc.STC_SCRIPTOL_STRING
 STC_SCRIPTOL_CHARACTER = _stc.STC_SCRIPTOL_CHARACTER
-STC_SCRIPTOL_UUID = _stc.STC_SCRIPTOL_UUID
-STC_SCRIPTOL_PREPROCESSOR = _stc.STC_SCRIPTOL_PREPROCESSOR
+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_STRINGEOL = _stc.STC_SCRIPTOL_STRINGEOL
-STC_SCRIPTOL_VERBATIM = _stc.STC_SCRIPTOL_VERBATIM
-STC_SCRIPTOL_REGEX = _stc.STC_SCRIPTOL_REGEX
-STC_SCRIPTOL_COMMENTLINEDOC = _stc.STC_SCRIPTOL_COMMENTLINEDOC
-STC_SCRIPTOL_WORD2 = _stc.STC_SCRIPTOL_WORD2
-STC_SCRIPTOL_COMMENTDOCKEYWORD = _stc.STC_SCRIPTOL_COMMENTDOCKEYWORD
-STC_SCRIPTOL_COMMENTDOCKEYWORDERROR = _stc.STC_SCRIPTOL_COMMENTDOCKEYWORDERROR
-STC_SCRIPTOL_COMMENTBASIC = _stc.STC_SCRIPTOL_COMMENTBASIC
+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
@@ -586,6 +616,10 @@ 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
@@ -704,6 +738,65 @@ 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_CMD_REDO = _stc.STC_CMD_REDO
 STC_CMD_SELECTALL = _stc.STC_CMD_SELECTALL
 STC_CMD_UNDO = _stc.STC_CMD_UNDO
@@ -777,6 +870,23 @@ 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):
     def __repr__(self):
         return "<%s.%s; proxy of C++ wxStyledTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -2028,6 +2138,10 @@ class StyledTextCtrl(core.Control):
         """SetHotspotActiveUnderline(bool underline)"""
         return _stc.StyledTextCtrl_SetHotspotActiveUnderline(*args, **kwargs)
 
+    def SetHotspotSingleLine(*args, **kwargs):
+        """SetHotspotSingleLine(bool singleLine)"""
+        return _stc.StyledTextCtrl_SetHotspotSingleLine(*args, **kwargs)
+
     def PositionBefore(*args, **kwargs):
         """PositionBefore(int pos) -> int"""
         return _stc.StyledTextCtrl_PositionBefore(*args, **kwargs)
@@ -2044,6 +2158,34 @@ class StyledTextCtrl(core.Control):
         """CopyText(int length, String text)"""
         return _stc.StyledTextCtrl_CopyText(*args, **kwargs)
 
+    def SetSelectionMode(*args, **kwargs):
+        """SetSelectionMode(int mode)"""
+        return _stc.StyledTextCtrl_SetSelectionMode(*args, **kwargs)
+
+    def GetSelectionMode(*args, **kwargs):
+        """GetSelectionMode() -> int"""
+        return _stc.StyledTextCtrl_GetSelectionMode(*args, **kwargs)
+
+    def GetLineSelStartPosition(*args, **kwargs):
+        """GetLineSelStartPosition(int line) -> int"""
+        return _stc.StyledTextCtrl_GetLineSelStartPosition(*args, **kwargs)
+
+    def GetLineSelEndPosition(*args, **kwargs):
+        """GetLineSelEndPosition(int line) -> int"""
+        return _stc.StyledTextCtrl_GetLineSelEndPosition(*args, **kwargs)
+
+    def SetWhitespaceChars(*args, **kwargs):
+        """SetWhitespaceChars(String characters)"""
+        return _stc.StyledTextCtrl_SetWhitespaceChars(*args, **kwargs)
+
+    def SetCharsDefault(*args, **kwargs):
+        """SetCharsDefault()"""
+        return _stc.StyledTextCtrl_SetCharsDefault(*args, **kwargs)
+
+    def AutoCompGetCurrent(*args, **kwargs):
+        """AutoCompGetCurrent() -> int"""
+        return _stc.StyledTextCtrl_AutoCompGetCurrent(*args, **kwargs)
+
     def StartRecord(*args, **kwargs):
         """StartRecord()"""
         return _stc.StyledTextCtrl_StartRecord(*args, **kwargs)
@@ -2148,13 +2290,21 @@ class StyledTextCtrl(core.Control):
         return _stc.StyledTextCtrl_LoadFile(*args, **kwargs)
 
     def DoDragOver(*args, **kwargs):
-        """DoDragOver(int x, int y, wxDragResult def) -> wxDragResult"""
+        """DoDragOver(int x, int y, int def) -> int"""
         return _stc.StyledTextCtrl_DoDragOver(*args, **kwargs)
 
     def DoDropText(*args, **kwargs):
         """DoDropText(long x, long y, String data) -> bool"""
         return _stc.StyledTextCtrl_DoDropText(*args, **kwargs)
 
+    def SetUseAntiAliasing(*args, **kwargs):
+        """SetUseAntiAliasing(bool useAA)"""
+        return _stc.StyledTextCtrl_SetUseAntiAliasing(*args, **kwargs)
+
+    def GetUseAntiAliasing(*args, **kwargs):
+        """GetUseAntiAliasing() -> bool"""
+        return _stc.StyledTextCtrl_GetUseAntiAliasing(*args, **kwargs)
+
 
 class StyledTextCtrlPtr(StyledTextCtrl):
     def __init__(self, this):
@@ -2263,7 +2413,7 @@ class StyledTextEvent(core.CommandEvent):
         return _stc.StyledTextEvent_SetDragAllowMove(*args, **kwargs)
 
     def SetDragResult(*args, **kwargs):
-        """SetDragResult(wxDragResult val)"""
+        """SetDragResult(int val)"""
         return _stc.StyledTextEvent_SetDragResult(*args, **kwargs)
 
     def GetPosition(*args, **kwargs):
@@ -2343,7 +2493,7 @@ class StyledTextEvent(core.CommandEvent):
         return _stc.StyledTextEvent_GetDragAllowMove(*args, **kwargs)
 
     def GetDragResult(*args, **kwargs):
-        """GetDragResult() -> wxDragResult"""
+        """GetDragResult() -> int"""
         return _stc.StyledTextEvent_GetDragResult(*args, **kwargs)
 
     def GetShift(*args, **kwargs):