[prev in list] [next in list] [prev in thread] [next in thread]
List: python-idle-dev
Subject: [Idle-dev] CVS: idle AutoIndent.py,1.4,1.5
From: elguavas () users ! sourceforge ! net (Stephen M ! Gava)
Date: 2002-01-23 23:56:43
Message-ID: E16TXFz-00022p-00 () usw-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/idlefork/idle
In directory usw-pr-cvs1:/tmp/cvs-serv7841
Modified Files:
AutoIndent.py
Log Message:
staying current with python idle fixes
Index: AutoIndent.py
===================================================================
RCS file: /cvsroot/idlefork/idle/AutoIndent.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** AutoIndent.py 2002/01/23 05:15:17 1.4
--- AutoIndent.py 2002/01/23 23:56:41 1.5
***************
*** 139,143 ****
have = len(expand(chars, tabwidth))
assert have > 0
! want = int((have - 1) / self.indentwidth) * self.indentwidth
ncharsdeleted = 0
while 1:
--- 139,143 ----
have = len(expand(chars, tabwidth))
assert have > 0
! want = ((have - 1) // self.indentwidth) * self.indentwidth
ncharsdeleted = 0
while 1:
***************
*** 463,467 ****
elif ch == '\t':
raw = raw + 1
! effective = (int(effective / tabwidth) + 1) * tabwidth
else:
break
--- 463,467 ----
elif ch == '\t':
raw = raw + 1
! effective = (effective // tabwidth + 1) * tabwidth
else:
break
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic