From 78fd880838d0fd98a2aa559dc3ba4e7729f646c2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Vigna?= Date: Thu, 18 Apr 2002 12:14:26 +0000 Subject: [PATCH] Fixed compatibility read after Lars substitution from \\end_float with \\end_inset. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4022 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 3 +++ src/tabular.C | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 893ff823bf..72a63796f6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2002-04-18 Juergen Vigna + * 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. diff --git a/src/tabular.C b/src/tabular.C index 7f05319dbd..6d26b3a4c1 100644 --- a/src/tabular.C +++ b/src/tabular.C @@ -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); -- 2.39.2