[ZPT] CVS: Packages/TAL - TALInterpreter.py:1.55
fred@digicool.com
fred@digicool.com
Mon, 25 Jun 2001 13:57:58 -0400 (EDT)
Update of /cvs-repository/Packages/TAL
In directory korak.digicool.com:/tmp/cvs-serv18383
Modified Files:
TALInterpreter.py
Log Message:
do_startTag(): Only add in the length of the tag name once to determine
alignment column for attributes.
--- Updated File TALInterpreter.py in package Packages/TAL --
--- TALInterpreter.py 2001/06/21 14:50:27 1.54
+++ TALInterpreter.py 2001/06/25 17:57:58 1.55
@@ -299,7 +299,7 @@
namelen = _len(name)
col = self.col + namelen + 1
wrap = self.wrap
- align = col + 1 + namelen
+ align = col + 1
if align >= wrap/2:
align = 4 # Avoid a narrow column far to the right
attrAction = self.dispatch["<attrAction>"]