Update of /cvsroot/pythoncard/PythonCard/samples/textIndexer
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9735/samples/textIndexer
Modified Files:
textIndexer.py
Log Message:
Making blanket except clauses more specific
Index: textIndexer.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/samples/textIndexer/textIndexer.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** textIndexer.py 12 Aug 2004 19:19:02 -0000 1.27
--- textIndexer.py 18 Sep 2005 03:59:22 -0000 1.28
***************
*** 343,350 ****
else:
ins = widget.getInsertionPoint()
! try:
! widget.replace(ins, ins + 1, '')
! except:
! pass
def on_editSelectAll_command(self, event):
--- 343,347 ----
else:
ins = widget.getInsertionPoint()
! widget.replace(ins, ins + 1, '')
def on_editSelectAll_command(self, event):
|