X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathRef.h;h=6d7f0a10cf99341590871073810d24909a5bc7fa;hb=c609e9cbcf;hp=5527a0d6042106089ec0a65d120ed36ca6512ce6;hpb=cf07d4825f65ab75783bb81d12e882a709aea222;p=lyx.git diff --git a/src/mathed/InsetMathRef.h b/src/mathed/InsetMathRef.h index 5527a0d604..6d7f0a10cf 100644 --- a/src/mathed/InsetMathRef.h +++ b/src/mathed/InsetMathRef.h @@ -33,6 +33,12 @@ public: /// void infoize(odocstream & os) const override; /// + bool hasSettings() const override { return true; } + /// + bool clickable(BufferView const &, int, int) const override { return true; } + /// + std::string contextMenuName() const override { return "context-mathref"; } + /// mode_type currentMode() const override { return TEXT_MODE; } /// bool lockedMode() const override { return true; } @@ -50,7 +56,7 @@ public: /// docbook output void docbook(XMLStream &, OutputParams const &) const override; /// generate something that will be understood by the Dialogs. - std::string const createDialogStr() const; + std::string const createDialogStr(std::string const & type = std::string()) const; struct ref_type_info { ///