switch (cmd.action) {
- case LFUN_INSET_EDIT:
+ case LFUN_MOUSE_RELEASE:
InsetCommandMailer("label", *this).showDialog(bv);
- return DispatchResult(true);
- break;
+ return DispatchResult(true, true);
case LFUN_INSET_MODIFY: {
InsetCommandParams p;
setParams(p);
bv->updateInset(this);
- return DispatchResult(true);
+ return DispatchResult(true, true);
}
default:
int InsetLabel::latex(Buffer const &, ostream & os,
- LatexRunParams const &) const
+ OutputParams const &) const
{
os << escape(getCommand());
return 0;
}
-int InsetLabel::ascii(Buffer const &, ostream & os,
- LatexRunParams const &) const
+int InsetLabel::plaintext(Buffer const &, ostream & os,
+ OutputParams const &) const
{
os << '<' << getContents() << '>';
return 0;
int InsetLabel::linuxdoc(Buffer const &, ostream & os,
- LatexRunParams const &) const
+ OutputParams const &) const
{
os << "<label id=\"" << getContents() << "\" >";
return 0;
int InsetLabel::docbook(Buffer const &, ostream & os,
- LatexRunParams const &) const
+ OutputParams const &) const
{
os << "<anchor id=\"" << getContents() << "\">";
return 0;