...

> Index: src/insets/Inset.cpp
> ===================================================================
> --- src/insets/Inset.cpp      (revision 18187)
> +++ src/insets/Inset.cpp      (working copy)
> @@ -76,6 +76,7 @@
>               InsetName("bibtex", Inset::BIBTEX_CODE),
>               InsetName("text", Inset::TEXT_CODE),
>               InsetName("ert", Inset::ERT_CODE),
> +             InsetName("listings", Inset::ERT_CODE),

Shouldn't this have its own code? Naive question

>               InsetName("foot", Inset::FOOT_CODE),
>               InsetName("margin", Inset::MARGIN_CODE),
>               InsetName("float", Inset::FLOAT_CODE),

ERT_CODE dictates verbatim output which is exactly what InsetListings
needs. I do not see a need for Inset::LISTINGS_CODE right now but this
may turn out to be wrong.

Cheers,
Bo

Reply via email to