I can't believe it! Plain text output was seriously broken for ages without anyone noticing it.
And then Jean-Marc comes back and he fixes exactly the same bug that I fixed two days ago but failed to commit due to time constraints...
Michael PS: I think the fix is not complete. I will provide details tomorrow. [EMAIL PROTECTED] schrieb:
Author: lasgouttes Date: Fri Jan 19 17:17:39 2007 New Revision: 16765 URL: http://www.lyx.org/trac/changeset/16765 Log: * output_plaintext.C (asciiParagraph): output things in the right order when there is an inset and runparams.linelen == 0. Modified: lyx-devel/trunk/src/output_plaintext.C Modified: lyx-devel/trunk/src/output_plaintext.C URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/output_plaintext.C?rev=16765 ============================================================================== --- lyx-devel/trunk/src/output_plaintext.C (original) +++ lyx-devel/trunk/src/output_plaintext.C Fri Jan 19 17:17:39 2007 @@ -199,11 +199,9 @@ switch (c) { case Paragraph::META_INSET: { InsetBase const * inset = par.getInset(i); - if (runparams.linelen > 0) { - os << word; - currlinelen += word.length(); - word.erase(); - } + os << word; + currlinelen += word.length(); + word.erase(); OutputParams rp = runparams; rp.depth = par.params().depth(); if (inset->plaintext(buf, os, rp)) { _______________________________________________ Cvslog mailing list [EMAIL PROTECTED] http://www.lyx.org/mailman/listinfo/cvslog