]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCommandParams.cpp
BUG 3598: display framed and shaded notes in a separate paragraph, require package...
[lyx.git] / src / insets / InsetCommandParams.cpp
index df7ce6f547771f15b562828c6dd20fed059bc09a..8b6b82741286862e791a1349b9b954717727d598 100644 (file)
@@ -113,6 +113,13 @@ InsetCommandParams::findInfo(std::string const & name)
                return &info;
        }
 
+       if (name == "lstinputlisting") {
+               static const char * const paramnames[] = {"filename", "lstparams", ""};
+               static const bool isoptional[] = {false, true};
+               static const CommandInfo info = {2, paramnames, isoptional};
+               return &info;
+       }
+
        // InsetIndex, InsetPrintIndex, InsetLabel
        if (name == "index" || name == "printindex" || name == "label") {
                static const char * const paramnames[] = {"name", ""};