|
From: Kevin A. <ka...@us...> - 2004-08-03 05:41:29
|
Update of /cvsroot/pythoncard/PythonCard/tools/codeEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15956 Modified Files: restEditor.py Log Message: switched to using subclass of CodeEditor Index: restEditor.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/codeEditor/restEditor.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** restEditor.py 26 Jul 2004 15:51:14 -0000 1.1 --- restEditor.py 3 Aug 2004 05:41:21 -0000 1.2 *************** *** 4,27 **** __date__ = "$Date$" - PythonCard Editor (codeEditor) wiki page - http://wiki.wxpython.org/index.cgi/PythonCardEditor - - wxStyledTextCtrl documentation - http://wiki.wxpython.org/index.cgi/wxStyledTextCtrl """ ! from PythonCard import about, configuration, dialog, log, menu, model, resource, util [...1252 lines suppressed...] - # need to decide on a clean way of handling various doc options - fn = os.path.dirname(os.__file__) - fn = os.path.join(fn, os.pardir, "Doc", "Python23.chm") - fn = os.path.normpath(fn) - if os.path.isfile(fn): - os.startfile(fn) - else: - webbrowser.open(help_url) - if __name__ == '__main__': ! app = model.Application(CodeEditor) app.MainLoop() --- 51,56 ---- event.skip() if __name__ == '__main__': ! app = model.Application(RestEditor) app.MainLoop() |