Fix collumn span for AsciiDoc

svn: r8791
This commit is contained in:
Brian Matherly 2007-07-30 04:17:31 +00:00
parent 6cbb0a7d27
commit d5db42202a
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2007-07-29 Brian Matherly <brian@gramps-project.org>
* src/docgen/AsciiDoc.py: Make column spans work.
2007-07-29 Brian Matherly <brian@gramps-project.org>
* src/plugins/EndOfLineReport.py: Add End of Line report
* src/plugins/Makefile.in: Add EndOfLineReport.py

View File

@ -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