X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLayout.cpp;h=3c1a9bd955515d321e847e1a7c408a50e59de9f8;hb=861c6167ca5f1329e16dd788489a7c03772e2332;hp=fa6b58cc118c143fe06d8e4ea509d7ae921a49f6;hpb=9f04eeae032d57fd8275e29794645be434e16086;p=lyx.git diff --git a/src/Layout.cpp b/src/Layout.cpp index fa6b58cc11..3c1a9bd955 100644 --- a/src/Layout.cpp +++ b/src/Layout.cpp @@ -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"; }