]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListings.h
InsetBox.cpp: only shaded boxes can have multiple paragraphs when there is no inner box
[lyx.git] / src / insets / InsetListings.h
index 8561de5cf731becdd1c5eafd136c72b2f28b8616..88d380a8b2c30e159d96d4674eb0029d9a8fef24 100644 (file)
@@ -77,6 +77,8 @@ private:
        docstring const buttonLabel(BufferView const & bv) const;
        ///
        docstring getCaption(OutputParams const &) const;
+       ///
+       bool insetAllowed(InsetCode c) const { return c == CAPTION_CODE; } 
 
        ///
        InsetListingsParams params_;