##// END OF EJS Templates
Fix alignment default.
walter.doerwald -
r280:f6383f05
parent child
Show More
@@ -294,7 +294,7 class _BrowserLevel(object):
294 parts = []
294 parts = []
295 totallength = 0
295 totallength = 0
296 align = None
296 align = None
297 full = False
297 full = True
298 # Collect parts until we have enough
298 # Collect parts until we have enough
299 for part in ipipe.xrepr(value, "cell"):
299 for part in ipipe.xrepr(value, "cell"):
300 # part gives (alignment, stop)
300 # part gives (alignment, stop)
@@ -311,6 +311,8 class _BrowserLevel(object):
311 parts.append((astyle.style_ellisis, "..."))
311 parts.append((astyle.style_ellisis, "..."))
312 totallength += 3
312 totallength += 3
313 break
313 break
314 if align is None:
315 align = -1
314 # remember alignment, length and colored parts
316 # remember alignment, length and colored parts
315 row[attrname] = (align, totallength, parts)
317 row[attrname] = (align, totallength, parts)
316 return row
318 return row
General Comments 0
You need to be logged in to leave comments. Login now