X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe47ec10b7ef0bfe54fbade62f13902407ee343a..decb3a6a16ea5acf1dfcdb1b70cb6edaa09840c0:/wxPython/contrib/stc/stc_.py diff --git a/wxPython/contrib/stc/stc_.py b/wxPython/contrib/stc/stc_.py index 28adf75bde..b77cd7e8d0 100644 --- a/wxPython/contrib/stc/stc_.py +++ b/wxPython/contrib/stc/stc_.py @@ -13,6 +13,8 @@ from clip_dnd import * from events import * +from streams import * + from mdi import * from frames import * @@ -35,6 +37,10 @@ from printfw import * from sizers import * +from filesys import * + +from utils import * + def EVT_STC_CHANGE(win, id, fn): win.Connect(id, -1, wxEVT_STC_CHANGE, fn) @@ -762,6 +768,12 @@ class wxStyledTextCtrlPtr(wxControlPtr): val = apply(stc_c.wxStyledTextCtrl_PointFromPosition,(self,) + _args, _kwargs) if val: val = wxPointPtr(val) ; val.thisown = 1 return val + def ScrollToLine(self, *_args, **_kwargs): + val = apply(stc_c.wxStyledTextCtrl_ScrollToLine,(self,) + _args, _kwargs) + return val + def ScrollToColumn(self, *_args, **_kwargs): + val = apply(stc_c.wxStyledTextCtrl_ScrollToColumn,(self,) + _args, _kwargs) + return val def __repr__(self): return "" % (self.this,) class wxStyledTextCtrl(wxStyledTextCtrlPtr):