]> git.lyx.org Git - lyx.git/blobdiff - src/Layout.cpp
Track whether we have warned about mixing layouts across e.g. branches.
[lyx.git] / src / Layout.cpp
index fa6b58cc118c143fe06d8e4ea509d7ae921a49f6..3c1a9bd955515d321e847e1a7c408a50e59de9f8 100644 (file)
@@ -1016,6 +1016,7 @@ void Layout::readArgument(Lexer & lex)
        arg.nodelims = false;
        arg.autoinsert = false;
        arg.insertcotext = false;
+       arg.insertonnewline = false;
        bool error = false;
        bool finished = false;
        arg.font = inherit_font;
@@ -1172,6 +1173,8 @@ void writeArgument(ostream & os, string const & id, Layout::latexarg const & arg
        }
        if (!arg.pass_thru_chars.empty())
                os << "\t\tPassThruChars \"" << to_utf8(arg.pass_thru_chars) << "\"\n";
+       if (arg.free_spacing)
+               os << "\t\tFreeSpacing " << arg.free_spacing << "\n";
        os << "\tEndArgument\n";
 }