+2002-03-28 Juergen Vigna <jug@sad.it>
+
+ * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
+
2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
+2002-03-28 Juergen Vigna <jug@sad.it>
+
+ * insettabular.C (insetAllowed): return true as default value otherwise
+ we're not able to insert insets inside paragraphs of an not locked
+ insettext!
+
2002-03-27 Herbert Voss <voss@lyx.org>
* insetgraphicsparam.C: change c%, p% to col%, page%
{
if (the_locking_inset)
return the_locking_inset->insetAllowed(code);
- return false;
+ // we return true here because if the inset is not locked someone
+ // wants to insert something in one of our insettexts and we generally
+ // allow to do so.
+ return true;
}
continue;
if (token == "\\layout"
|| token == "\\end_float"
- || token == "\\end_deeper") {
+ || token == "\\end_deeper")
+ {
lex.pushToken(token);
#ifndef NO_COMPABILITY
// Here we need to insert the inset_ert_contents into the last
#endif
break;
}
+#ifndef NO_COMPABILITY
+ if (token == "\\newline")
+ // Here we need to insert the inset_ert_contents into the last
+ // cell of the tabular.
+ owner_->bufferOwner()->insertErtContents(par, pos, false);
+#endif
if (owner_->bufferOwner()->parseSingleLyXformat2Token(lex, par,
return_par,
token, pos,