> - First, Entering "backgroundcolor=\color{red}" into the Listings settings > box will result in "backgroundcolor={\color{red}}" in the output file. This > makes the latex file uncompilable. To solve this I just used the already > defined, but unused, function "getParamValue" in InsetListingsParams.cpp to > remove the {}'s.
Maybe this is a listings version issue? I remember this worked before. Anyway, always removing {} is not a good idea because line 759 - 770 serves some purpose and what you are doing simply undoes that. If you are sure {} should not be added in the first place, change 759-770. Otherwise, add cases in 759-770 when {} should not be added. Bo