Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/idle
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24141
Modified Files:
Tag: py3k
AutoIndent.py
Log Message:
Fix another line ending problem
Index: AutoIndent.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/idle/AutoIndent.py,v
retrieving revision 1.3.2.2
retrieving revision 1.3.2.3
diff -C2 -d -r1.3.2.2 -r1.3.2.3
*** AutoIndent.py 8 Sep 2008 04:08:27 -0000 1.3.2.2
--- AutoIndent.py 11 Sep 2008 07:51:22 -0000 1.3.2.3
***************
*** 212,216 ****
text.delete("insert")
# start new line
! text.insert("insert", '\n')
# adjust indentation for continuations and block
--- 212,217 ----
text.delete("insert")
# start new line
! ## Line ending needs to be configured somewhere instead of hardcoded
! text.insert("insert", '\r\n')
# adjust indentation for continuations and block
|