]> git.lyx.org Git - lyx.git/commit
Fix bug 4806
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 7 May 2008 13:55:03 +0000 (13:55 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 7 May 2008 13:55:03 +0000 (13:55 +0000)
commit4b07e1ea9263b80dc04e222af328f19944ffcad5
treefb81ee01acb000d0db9b048359b3811038c027d3
parent61507ecf0113f8291525ea9fdb42560cfc1b9f45
Fix bug 4806

* Context.cpp (begin_layout): make it a (private) method, and output
the extra stuff here.
(add_par_extra_stuff): this is used for stuff that is only for next
paragraph (like extra_stuff used to be); add_extra_stuff is now for
code that is output for all paragraphs in the context.

* text.cpp: update to new Context methods. Every user of add_extra_stuff
uses add_par_extra_stuff, except alignment (which has to be repeated
to fix bug 4806).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24656 a592a061-630c-0410-9148-cb99ea01b6c8
src/tex2lyx/Context.cpp
src/tex2lyx/Context.h
src/tex2lyx/text.cpp