]> git.lyx.org Git - features.git/commit
Move spacing code around (and fix a bug)
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 22 Jan 2008 08:41:45 +0000 (08:41 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 22 Jan 2008 08:41:45 +0000 (08:41 +0000)
commit0df54152bc6115ad813d48fe4e73cc82ede1bce3
tree6e2161dda4bdf3a9ea6bf350f67d96932355e815
parent385ae43b3952523128b4acb90da4eb0dd5938674
Move spacing code around (and fix a bug)

* LaTeXFeatures.cpp (getPackages): remove some specific spacing code;
move listings support to simplefeatures array.

* src/Spacing.cpp (writeEnvirBegin, writeEnvirEnd): code factorization
(writePreamble): new method containing former code from LaTeXFeatures;
use \setSpacing instead of \setSingleSpacing.

* src/BufferParams.cpp (validate, writeLaTeX): handle spacing here.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22644 a592a061-630c-0410-9148-cb99ea01b6c8
src/BufferParams.cpp
src/LaTeXFeatures.cpp
src/Spacing.cpp
src/Spacing.h