]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathHull.h
Reimplement support for numbering of equation previews
[lyx.git] / src / mathed / InsetMathHull.h
index 0b865be878df452d5651e4e980f79432c3c56827..92903c5e424b034a584c9f42b501749d538a690c 100644 (file)
@@ -202,8 +202,8 @@ protected:
        /// override to set to 0 for inline equation
        int border() const override;
        ///
-       docstring eolString(row_type row, bool fragile, bool latex,
-                       bool last_eoln) const override;
+       void eol(TeXMathStream & os, row_type row, bool fragile, bool latex,
+                bool last_eoln) const override;
 
 private:
        Inset * clone() const override;
@@ -270,10 +270,6 @@ private:
        unique_ptr<RenderPreview> preview_;
        ///
        DocIterator docit_;
-       ///
-       typedef std::map<docstring, int> CounterMap;
-       /// used to store current values of important counters
-       CounterMap counter_map;
 //
 // Incorporate me
 //
@@ -288,7 +284,7 @@ public:
        ///
        Inset * editXY(Cursor & cur, int x, int y) override;
        ///
-       RowFlags rowFlags() const override;
+       int rowFlags() const override;
        /// helper function
        bool display() const { return rowFlags() & Display; }