add a line break at the end of each paragraph; add a second line break
if maximum line length is > 0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16779
a592a061-630c-0410-9148-
cb99ea01b6c8
ParagraphList::const_iterator it = beg;
for (; it != end; ++it) {
writePlaintextParagraph(buf, *it, os, runparams, ref_printed);
+ os << "\n";
+ if (runparams.linelen > 0)
+ os << "\n";
}
- os << "\n";
}
string::size_type currlinelen = 0;
- if (runparams.linelen > 0)
- os << "\n\n";
-
os << docstring(depth * 2, ' ');
currlinelen += depth * 2;