]> git.lyx.org Git - features.git/commitdiff
Call to textrow.start after a multi-line inset.
authorDekel Tsur <dekelts@tau.ac.il>
Sat, 29 Sep 2001 22:22:01 +0000 (22:22 +0000)
committerDekel Tsur <dekelts@tau.ac.il>
Sat, 29 Sep 2001 22:22:01 +0000 (22:22 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2817 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/paragraph_pimpl.C

index 202cb2167b512df40240baf4a364473d19f6ed90..df1b0ac88acfbd836bfb0aae0ea9c0e02e4c07d2 100644 (file)
@@ -1,3 +1,8 @@
+2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
+       after a multi-line inset.
+
 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
 
        * paragraph.C (validate): Set NeedLyXFootnoteCode
index de5185747e83653c97c95a50044a4d64bb12f6e4..6fc618418955b4ecb60e235522bb3a6317e36e91 100644 (file)
@@ -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;