]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathEnsureMath.h
Fix broken Apple speller interface
[features.git] / src / mathed / InsetMathEnsureMath.h
index bbd4b80bc68adb1e3597ec2c4b6646b383006300..40efe73cd366bbf48e09d7f21faa32cc98211dff 100644 (file)
 #ifndef MATH_ENSUREMATHINSET_H
 #define MATH_ENSUREMATHINSET_H
 
-#include "InsetMathNest.h"
+#include "InsetMathGrid.h"
 
 
 namespace lyx {
 
 
 /// Inset for ensuring math mode
-class InsetMathEnsureMath : public InsetMathNest {
+class InsetMathEnsureMath : public InsetMathGrid {
 public:
        explicit InsetMathEnsureMath(Buffer * buf);
        ///
@@ -34,7 +34,22 @@ public:
        ///
        void drawT(TextPainter & pi, int x, int y) const override;
        ///
-       void write(WriteStream & os) const override;
+       void addRow(row_type) override {}
+       ///
+       void delRow(row_type) override {}
+       ///
+       void swapRow(row_type) override {}
+       ///
+       void addCol(col_type) override {}
+       ///
+       void delCol(col_type) override {}
+       ///
+       void eol(TeXMathStream &, row_type, bool, bool, bool) const override {}
+       ///
+       docstring eocString(col_type, col_type) const override
+       { return docstring(); }
+       ///
+       void write(TeXMathStream & os) const override;
        ///
        void mathmlize(MathMLStream &) const override;
        ///