1 # This file was created automatically by SWIG.
18 from stattool
import *
20 from controls
import *
22 from controls2
import *
24 from windows2
import *
28 from windows3
import *
34 class wxsLSEditorPluginPtr
:
35 def __init__(self
,this
):
38 def __del__(self
, lseditorc
=lseditorc
):
39 if self
.thisown
== 1 :
40 lseditorc
.delete_wxsLSEditorPlugin(self
.this
)
41 def Create(self
,arg0
,arg1
):
42 val
= lseditorc
.wxsLSEditorPlugin_Create(self
.this
,arg0
.this
,arg1
)
44 def OnOpen(self
,arg0
):
45 val
= lseditorc
.wxsLSEditorPlugin_OnOpen(self
.this
,arg0
)
47 def OnSave(self
,arg0
):
48 val
= lseditorc
.wxsLSEditorPlugin_OnSave(self
.this
,arg0
)
51 val
= lseditorc
.wxsLSEditorPlugin_OnCopy(self
.this
)
54 val
= lseditorc
.wxsLSEditorPlugin_OnCut(self
.this
)
57 val
= lseditorc
.wxsLSEditorPlugin_OnPaste(self
.this
)
60 val
= lseditorc
.wxsLSEditorPlugin_OnDelete(self
.this
)
63 val
= lseditorc
.wxsLSEditorPlugin_OnUndo(self
.this
)
66 val
= lseditorc
.wxsLSEditorPlugin_OnRedo(self
.this
)
69 val
= lseditorc
.wxsLSEditorPlugin_SelectAll(self
.this
)
71 def OnGotoLine(self
,arg0
,*args
):
72 val
= apply(lseditorc
.wxsLSEditorPlugin_OnGotoLine
,(self
.this
,arg0
,)+args
)
74 def OnProperties(self
):
75 val
= lseditorc
.wxsLSEditorPlugin_OnProperties(self
.this
)
78 val
= lseditorc
.wxsLSEditorPlugin_OnFind(self
.this
)
81 val
= lseditorc
.wxsLSEditorPlugin_OnFindNext(self
.this
)
83 def OnFindPrevious(self
):
84 val
= lseditorc
.wxsLSEditorPlugin_OnFindPrevious(self
.this
)
87 val
= lseditorc
.wxsLSEditorPlugin_OnReplace(self
.this
)
89 def OnToggleBookmark(self
):
90 val
= lseditorc
.wxsLSEditorPlugin_OnToggleBookmark(self
.this
)
92 def OnNextBookmark(self
):
93 val
= lseditorc
.wxsLSEditorPlugin_OnNextBookmark(self
.this
)
95 def OnPreviousBookmark(self
):
96 val
= lseditorc
.wxsLSEditorPlugin_OnPreviousBookmark(self
.this
)
98 def OnShowBookmarks(self
):
99 val
= lseditorc
.wxsLSEditorPlugin_OnShowBookmarks(self
.this
)
101 def SetCheckpoint(self
):
102 val
= lseditorc
.wxsLSEditorPlugin_SetCheckpoint(self
.this
)
104 def CheckpointModified(self
):
105 val
= lseditorc
.wxsLSEditorPlugin_CheckpointModified(self
.this
)
108 val
= lseditorc
.wxsLSEditorPlugin_CanCopy(self
.this
)
111 val
= lseditorc
.wxsLSEditorPlugin_CanCut(self
.this
)
114 val
= lseditorc
.wxsLSEditorPlugin_CanPaste(self
.this
)
117 val
= lseditorc
.wxsLSEditorPlugin_CanUndo(self
.this
)
120 val
= lseditorc
.wxsLSEditorPlugin_CanRedo(self
.this
)
123 val
= lseditorc
.wxsLSEditorPlugin_GetName(self
.this
)
125 def IsModified(self
):
126 val
= lseditorc
.wxsLSEditorPlugin_IsModified(self
.this
)
129 val
= lseditorc
.wxsLSEditorPlugin_GetWindow(self
.this
)
130 val
= wxWindowPtr(val
)
132 def SetFileName(self
,arg0
):
133 val
= lseditorc
.wxsLSEditorPlugin_SetFileName(self
.this
,arg0
)
135 def HoldCursor(self
,arg0
):
136 val
= lseditorc
.wxsLSEditorPlugin_HoldCursor(self
.this
,arg0
)
138 def FindWordAtCursor(self
):
139 val
= lseditorc
.wxsLSEditorPlugin_FindWordAtCursor(self
.this
)
141 def GetCursorPos(self
,arg0
,arg1
):
142 val
= lseditorc
.wxsLSEditorPlugin_GetCursorPos(self
.this
,arg0
,arg1
)
144 def SetCursorPos(self
,arg0
,arg1
):
145 val
= lseditorc
.wxsLSEditorPlugin_SetCursorPos(self
.this
,arg0
,arg1
)
147 def GetPagePos(self
,arg0
,arg1
):
148 val
= lseditorc
.wxsLSEditorPlugin_GetPagePos(self
.this
,arg0
,arg1
)
150 def GetText(self
,arg0
,arg1
,arg2
,arg3
,arg4
,arg5
):
151 val
= lseditorc
.wxsLSEditorPlugin_GetText(self
.this
,arg0
,arg1
,arg2
,arg3
,arg4
,arg5
)
153 def InsertText(self
,arg0
,arg1
,arg2
,arg3
):
154 val
= lseditorc
.wxsLSEditorPlugin_InsertText(self
.this
,arg0
,arg1
,arg2
,arg3
)
156 def DeleteText(self
,arg0
,arg1
,arg2
,arg3
):
157 val
= lseditorc
.wxsLSEditorPlugin_DeleteText(self
.this
,arg0
,arg1
,arg2
,arg3
)
159 def PositionToXY(self
,arg0
,arg1
,arg2
,arg3
):
160 val
= lseditorc
.wxsLSEditorPlugin_PositionToXY(self
.this
,arg0
,arg1
,arg2
,arg3
)
162 def GetSelectionRange(self
,arg0
,arg1
,arg2
,arg3
):
163 val
= lseditorc
.wxsLSEditorPlugin_GetSelectionRange(self
.this
,arg0
,arg1
,arg2
,arg3
)
165 def GetCharacterSize(self
):
166 val
= lseditorc
.wxsLSEditorPlugin_GetCharacterSize(self
.this
)
170 def IsUnixText(self
):
171 val
= lseditorc
.wxsLSEditorPlugin_IsUnixText(self
.this
)
174 return "<C wxsLSEditorPlugin instance>"
175 class wxsLSEditorPlugin(wxsLSEditorPluginPtr
):
177 self
.this
= lseditorc
.new_wxsLSEditorPlugin()
185 #-------------- FUNCTION WRAPPERS ------------------
189 #-------------- VARIABLE WRAPPERS ------------------