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]
|