This commit was manufactured by cvs2svn to create tag 'WX_2_2_9'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/WX_2_2_9@13364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bryan Petty
2002-01-04 16:15:08 +00:00
parent dc3d889d0b
commit f7f6abe24d
2324 changed files with 375095 additions and 121526 deletions

24
wxPython/tests/ste.py Normal file
View File

@@ -0,0 +1,24 @@
from wxPython.wx import *
from wxPython.ste import wxStyledTextCtrl
app = wxPySimpleApp()
frame = wxFrame(None, -1, "Testing...", (0,0), (320,480))
ed = wxStyledTextCtrl(frame, -1)
ed.AddText(open('test7.py').read())
#ed.AddText("This is a test\nThis is only a test.\n\nHere we go cowboys, here we go!!!\nThe End")
#ed.SetBufferedDraw(false)
#ed.StyleSetFontAttr(1, 14, "Times New Roman", true, false)
#ed.StyleSetForeground(1, wxBLUE)
#ed.StyleSetFont(2, wxFont(12, wxMODERN, wxNORMAL, wxNORMAL, false))
#ed.StartStyling(48, 0xff)
#ed.SetStyleFor(7, 1)
frame.Show(true)
app.MainLoop()