mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
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:
parent
c55ff9a13d
commit
fe27c7bca9
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user