if (macro.empty())
return docstring();
+ // FIXME THREAD
static docstring warned_author = docstring();
docstring uncodable_author = warned_author;
odocstringstream ods;
}
-void Changes::addToToc(DocIterator const & cdit, Buffer const & buffer) const
+void Changes::addToToc(DocIterator const & cdit, Buffer const & buffer,
+ bool output_active) const
{
if (table_.empty())
return;
break;
case Change::INSERTED:
// 0x270d is the hand writting symbol in the Dingbats unicode group.
- str.push_back(0x270d);
- break;
+ str.push_back(0x270d); break;
}
dit.pos() = it->range.start;
Paragraph const & par = dit.paragraph();
docstring const & author = author_list.get(it->change.author).name();
Toc::iterator it = change_list.item(0, author);
if (it == change_list.end()) {
- change_list.push_back(TocItem(dit, 0, author));
- change_list.push_back(TocItem(dit, 1, str,
+ change_list.push_back(TocItem(dit, 0, author, output_active));
+ change_list.push_back(TocItem(dit, 1, str, output_active,
support::wrapParas(str, 4)));
continue;
}
if (it->depth() == 0 && it->str() != author)
break;
}
- change_list.insert(it, TocItem(dit, 1, str,
+ change_list.insert(it, TocItem(dit, 1, str, output_active,
support::wrapParas(str, 4)));
}
}