From: Alex T. <ale...@us...> - 2006-05-26 11:32:57
|
Update of /cvsroot/pythoncard/PythonCard/tools/oneEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10364 Modified Files: tabcodeEditor.py Log Message: Prevent error on call to setDefaulStyles() - it is within the page of the notebook, so call must be adjusted accordingly. Index: tabcodeEditor.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/oneEditor/tabcodeEditor.py,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** tabcodeEditor.py 29 Dec 2005 02:48:25 -0000 1.15 --- tabcodeEditor.py 26 May 2006 11:32:50 -0000 1.16 *************** *** 120,123 **** --- 120,124 ---- self.cmdLineArgs = {'debugmenu':False, 'logging':False, 'messagewatcher':False, 'namespaceviewer':False, 'propertyeditor':False, + 'indicatesizers':False, 'shell':False, 'otherargs':''} self.lastFind = {'searchText':'', 'replaceText':'', 'wholeWordsOnly':False, 'caseSensitive':False} *************** *** 954,958 **** finally: dlg.Destroy() os.chdir(cwd) ! self.setDefaultStyles() def on_menuFormatWrap_select(self, event): --- 955,959 ---- finally: dlg.Destroy() os.chdir(cwd) ! self.currentPage.setDefaultStyles() def on_menuFormatWrap_select(self, event): |