]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fboxinset.h
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_fboxinset.h
index b8a4e0947deeb208027b0eafac47132e98d8f191..405a7c5b2782c6abc02829f6b3a742b539ed212c 100644 (file)
 #include "math_nestinset.h"
 
 
-class latexkeys;
-
-/// Extra nesting
+/// Non-AMS-style frame
 class MathFboxInset : public MathNestInset {
 public:
        ///
-       MathFboxInset(latexkeys const * key);
-       ///
-       virtual std::auto_ptr<InsetBase> clone() const;
+       MathFboxInset();
        ///
        mode_type currentMode() const;
        ///
@@ -34,9 +30,10 @@ public:
        void write(WriteStream & os) const;
        /// write normalized content
        void normalize(NormalStream & ns) const;
-private:
        ///
-       latexkeys const * key_;
+       void infoize(std::ostream & os) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif