//
/////////////////////////////////////////////////////////////////////
-InsetPhantom::InsetPhantom(Buffer const & buf, string const & label)
+InsetPhantom::InsetPhantom(Buffer * buf, string const & label)
: InsetCollapsable(buf)
{
setDrawFrame(false);
}
-docstring InsetPhantom::editMessage() const
-{
- return _("Opened Phantom Inset");
-}
-
-
docstring InsetPhantom::name() const
{
return from_ascii("Phantom:" + phantomtranslator().find(params_.type));
case LFUN_INSET_MODIFY:
string2params(to_utf8(cmd.argument()), params_);
- setLayout(buffer().params());
break;
case LFUN_INSET_DIALOG_UPDATE:
}
+docstring InsetPhantom::xhtml(XHTMLStream &, OutputParams const &) const
+{
+ return docstring();
+}
+
docstring InsetPhantom::contextMenu(BufferView const &, int, int) const
{
return from_ascii("context-phantom");