[pywin32-checkins] pywin32/Pythonwin/pywin/idle AutoIndent.py, 1.3.2.1, 1.3.2.2
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Roger U. <ru...@us...> - 2008-09-08 04:08:17
|
Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/idle In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6911/idle Modified Files: Tag: py3k AutoIndent.py Log Message: Fix some problems with line endings Index: AutoIndent.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/idle/AutoIndent.py,v retrieving revision 1.3.2.1 retrieving revision 1.3.2.2 diff -C2 -d -r1.3.2.1 -r1.3.2.2 *** AutoIndent.py 29 Aug 2008 06:16:42 -0000 1.3.2.1 --- AutoIndent.py 8 Sep 2008 04:08:27 -0000 1.3.2.2 *************** *** 198,202 **** # the cursor is in or at leading indentation; just inject # an empty line at the start ! text.insert("insert linestart", '\n') return "break" indent = line[:i] --- 198,202 ---- # the cursor is in or at leading indentation; just inject # an empty line at the start ! text.insert("insert linestart", '\r\n') return "break" indent = line[:i] |