From: Dekel Tsur Date: Sat, 29 Sep 2001 22:22:01 +0000 (+0000) Subject: Call to textrow.start after a multi-line inset. X-Git-Tag: 1.6.10~20539 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=708b2992874ec5f7288ec4390c110a7eca52d08c;p=features.git Call to textrow.start after a multi-line inset. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2817 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index 202cb2167b..df1b0ac88a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-09-29 Dekel Tsur + + * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start + after a multi-line inset. + 2001-09-28 Dekel Tsur * paragraph.C (validate): Set NeedLyXFootnoteCode diff --git a/src/paragraph_pimpl.C b/src/paragraph_pimpl.C index de5185747e..6fc6184189 100644 --- a/src/paragraph_pimpl.C +++ b/src/paragraph_pimpl.C @@ -284,13 +284,14 @@ void Paragraph::Pimpl::simpleTeXSpecialChars(Buffer const * buf, os << "}"; if (tmp) { + for (int j = 0; j < tmp; ++j) { + texrow.newline(); + } + texrow.start(owner_, i + 1); column = 0; } else { column += int(os.tellp()) - len; } - for (; tmp--;) { - texrow.newline(); - } } } break;