A couple little fixes for wxSTC

Updated to 0.6 of PyCrust


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-09-04 23:44:17 +00:00
parent 8de28db94f
commit fea018f801
19 changed files with 955 additions and 332 deletions

View File

@@ -24,6 +24,7 @@ import images
_treeList = [
('New since last release', ['ContextHelp',
'PyCrust',
'PyCrustWithFilling',
'VirtualListCtrl',
'wxListCtrl',
'TablePrint',

View File

@@ -0,0 +1,20 @@
from wxPython.wx import *
from wxPython.lib.PyCrust import shell, version, filling
#----------------------------------------------------------------------
intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % version.VERSION
def runTest(frame, nb, log):
win = wxSplitterWindow(nb, -1, size=(640, 480))
shellWin = shell.Shell(win, -1, introText=intro)
fillingWin = filling.Filling(win, -1, size=(640, 480),
ingredients=shellWin.interp.locals)
win.SplitHorizontally(shellWin, fillingWin)
return win
#----------------------------------------------------------------------
overview = filling.__doc__

View File

@@ -175,6 +175,8 @@ def runTest(frame, nb, log):
print "GetStyledText(98, 104): ", repr(ed.GetStyledText(98, 104)), len(ed.GetStyledText(98, 104))
print
print "GetCurLine(): ", repr(ed.GetCurLine())
ed.GotoPos(5)
print "GetCurLine(): ", repr(ed.GetCurLine())
print
print "GetLine(1): ", repr(ed.GetLine(1))
print