reset font after read of an old float_type as this was the case in the old

code! (fix #324).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3970 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Vigna 2002-04-11 13:51:47 +00:00
parent c55ff9a13d
commit fe27c7bca9
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2002-04-11 Juergen Vigna <jug@sad.it>
* buffer.C (parseSingleLyXformat2Token): reset font after read of
an old float_type as this was the case in the old code!
* paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
* BufferView2.C (showLockedInsetCursor): use iy

View File

@ -625,6 +625,10 @@ Buffer::parseSingleLyXformat2Token(LyXLex & lex, Paragraph *& par,
return false; // no end read yet
}
// we have to reset the font as in the old format after a float
// the font was automatically reset!
font = LyXFont(LyXFont::ALL_INHERIT, params.language);
// Here we need to check for \end_deeper and handle that
// before we do the footnote parsing.
// This _is_ a hack! (Lgb)