]> git.lyx.org Git - features.git/commitdiff
Fixed compatibility read after Lars substitution from \\end_float with
authorJürgen Vigna <jug@sad.it>
Thu, 18 Apr 2002 12:14:26 +0000 (12:14 +0000)
committerJürgen Vigna <jug@sad.it>
Thu, 18 Apr 2002 12:14:26 +0000 (12:14 +0000)
\\end_inset.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4022 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/tabular.C

index 893ff823bfa2036ea82b550c72df9855d3295e93..72a63796f6b6a5fddc238c79ed3e3fbc57d86f8f 100644 (file)
@@ -1,5 +1,8 @@
 2002-04-18  Juergen Vigna  <jug@sad.it>
 
+       * tabular.C (OldFormatRead): check also for \\end_inset as Lars
+       changed the read and substituted \\end_float with \\end_inset!
+
        * BufferView_pimpl.C (cursorPrevious): 
        (cursorNext): fixed to make it work with rows heigher than the work
        area without moving the cursor only the draw of the row.
index 7f05319dbdf454f72bca1bde9462e9287e1c771e..6d26b3a4c1ad0fb8ed052d30f1768d8c2b11c6a0 100644 (file)
@@ -1461,7 +1461,8 @@ void LyXTabular::OldFormatRead(BufferParams const & bp,
                if (token.empty())
                        continue;
                if (token == "\\layout"
-                       || token == "\\end_float"
+                       || token == "\\end_float" // this should not exist anymore
+                       || token == "\\end_inset" // as it is substituted by this
                        || token == "\\end_deeper")
                {
                        lex.pushToken(token);