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
This commit is contained in:
Jürgen Vigna 2002-04-18 12:14:26 +00:00
parent 2fbc66100c
commit 78fd880838
2 changed files with 5 additions and 1 deletions

View 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.

View 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);