X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finseterror.h;h=8619f644a17cd9f3767c7772e259fa6c7c19183f;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=95cd3ee1cb74f7369c3306e3392474625cbf9425;hpb=85a5ea7bfc80e179a61a99f2955455e84d3384cc;p=lyx.git diff --git a/src/insets/inseterror.h b/src/insets/inseterror.h index 95cd3ee1cb..8619f644a1 100644 --- a/src/insets/inseterror.h +++ b/src/insets/inseterror.h @@ -29,7 +29,7 @@ class InsetError : public Inset { public: /// explicit - InsetError(string const &); + InsetError(string const &, bool same_id = false); /// ~InsetError() { hideDialog(); } /// @@ -51,7 +51,7 @@ public: /// int linuxdoc(Buffer const *, std::ostream &) const { return 0; } /// - int docBook(Buffer const *, std::ostream &) const { return 0; } + int docbook(Buffer const *, std::ostream &) const { return 0; } /// bool autoDelete() const { return true; } /// what appears in the minibuffer when opening @@ -59,9 +59,13 @@ public: /// void edit(BufferView *, int, int, unsigned int); /// + void edit(BufferView * bv, bool front = true); + /// EDITABLE editable() const { return IS_EDITABLE; } /// - Inset * clone(Buffer const &) const { return new InsetError(contents); } + Inset * clone(Buffer const &, bool same_id = false) const { + return new InsetError(contents, same_id); + } /// Inset::Code lyxCode() const { return Inset::ERROR_CODE; } /// We don't want "begin" and "end inset" in lyx-file