return new InsetTabular(buf, r, c);
}
- case LFUN_CAPTION_INSERT: {
- auto_ptr<InsetCaption> inset(new InsetCaption(buf));
- inset->setAutoBreakRows(true);
- inset->setDrawFrame(true);
- inset->setFrameColor(Color_captionframe);
- return inset.release();
- }
+ case LFUN_CAPTION_INSERT:
+ return new InsetCaption(buf);
case LFUN_INDEX_PRINT:
return new InsetPrintIndex(InsetCommandParams(INDEX_PRINT_CODE));
case LFUN_INFO_INSERT:
return new InsetInfo(buf, to_utf8(cmd.argument()));
-#if 0
- case LFUN_THEOREM_INSERT:
- return new InsetTheorem;
-#endif
case LFUN_INSET_INSERT: {
string const name = cmd.getArg(0);