From d5db42202a77a7739ec730cee2eadffa84015def Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Mon, 30 Jul 2007 04:17:31 +0000 Subject: [PATCH] Fix collumn span for AsciiDoc svn: r8791 --- ChangeLog | 3 +++ src/docgen/AsciiDoc.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6a99da416..7c9c9ad94 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-07-29 Brian Matherly + * src/docgen/AsciiDoc.py: Make column spans work. + 2007-07-29 Brian Matherly * src/plugins/EndOfLineReport.py: Add End of Line report * src/plugins/Makefile.in: Add EndOfLineReport.py diff --git a/src/docgen/AsciiDoc.py b/src/docgen/AsciiDoc.py index 4ae208353..5e97f7a81 100644 --- a/src/docgen/AsciiDoc.py +++ b/src/docgen/AsciiDoc.py @@ -320,6 +320,8 @@ class AsciiDoc(BaseDoc.BaseDoc,BaseDoc.TextDoc): self.cellnum = self.cellnum + span span = span - 1 while span: + self.cell_widths[self.cellnum] += \ + self.cell_widths[self.cellnum-span] self.cell_widths[self.cellnum-span] = 0 span = span - 1