]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSpace.h
Make undo action no-ops when the buffer is read-only
[lyx.git] / src / mathed / InsetMathSpace.h
index 1b0fc037edc20a8d712dc5c37ee30021fe40da64..96121726b6806f3d13a7caaf01b68b95a18491ff 100644 (file)
@@ -56,12 +56,14 @@ public:
        ///
        void htmlize(HtmlStream & ms) const override;
        ///
-       void write(WriteStream & os) const override;
+       void write(TeXMathStream & os) const override;
        /// generate something that will be understood by the Dialogs.
        InsetSpaceParams params() const;
        ///
        bool hasSettings() const override { return true; }
        ///
+       bool clickable(BufferView const &, int, int) const override { return true; }
+       ///
        std::string contextMenuName() const override;
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const override;