]> git.lyx.org Git - lyx.git/blobdiff - src/factory.cpp
Allow automatic text direction in Painter::text()
[lyx.git] / src / factory.cpp
index b7320d0143bb6e1e49db03fec77f6580cc2f3a0a..b8d94336b9f74294f14d61161e360294a9251d23 100644 (file)
@@ -107,6 +107,8 @@ Inset * createInsetHelper(Buffer * buf, FuncRequest const & cmd)
                                inp.kind = InsetSeparatorParams::PLAIN;
                        else if (name == "parbreak")
                                inp.kind = InsetSeparatorParams::PARBREAK;
+                       else if (name == "latexpar")
+                               inp.kind = InsetSeparatorParams::LATEXPAR;
                        else {
                                lyxerr << "Wrong argument for LyX function 'separator-insert'." << endl;
                                break;