[EMAIL PROTECTED] writes: | Author: bpeng | Date: Fri May 25 00:19:58 2007 | New Revision: 18501 | | URL: http://www.lyx.org/trac/changeset/18501 | Log: | Use a new internal structure for InsetListingsParams, fix bugs 3713 and 3718 | | Modified: | lyx-devel/trunk/src/insets/InsetInclude.cpp | lyx-devel/trunk/src/insets/InsetListings.cpp | lyx-devel/trunk/src/insets/InsetListingsParams.cpp | lyx-devel/trunk/src/insets/InsetListingsParams.h | | Modified: lyx-devel/trunk/src/insets/InsetListingsParams.cpp | URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/insets/InsetListingsParams.cpp?rev=18501 | ============================================================================== | --- lyx-devel/trunk/src/insets/InsetListingsParams.cpp (original) | +++ lyx-devel/trunk/src/insets/InsetListingsParams.cpp Fri May 25 00:19:58 2007 | @@ -491,6 +496,22 @@ | } | | | +string InsetListingsParams::params(string sep) const
const ref | Modified: lyx-devel/trunk/src/insets/InsetListingsParams.h | URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/insets/InsetListingsParams.h?rev=18501 | ============================================================================== | --- lyx-devel/trunk/src/insets/InsetListingsParams.h (original) | +++ lyx-devel/trunk/src/insets/InsetListingsParams.h Fri May 25 00:19:58 2007 | @@ -12,7 +12,7 @@ | #ifndef INSETLISTINGSPARAMS_H | #define INSETLISTINGSPARAMS_H | | -#include <vector> | +#include <map> | #include <exception> | #include "Lexer.h" | #include "InsetCollapsable.h" | @@ -35,7 +35,7 @@ | void read(Lexer &); | | /// valid parameter string | - std::string params() const { return params_; } | + std::string params(std::string sep=",") const; const ref -- Lgb