]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathData.h
Revert "Fix a number of signedness warnings"
[lyx.git] / src / mathed / MathData.h
index 3c93421821230f6b78bd8b1f7af3dfad5b44f6e6..34749802fedabfc6af1029c8515aeede9be04185 100644 (file)
@@ -140,8 +140,10 @@ public:
        void metricsT(TextMetricsInfo const & mi, Dimension & dim) const;
        /// redraw cell using cache metrics information
        void drawT(TextPainter & pi, int x, int y) const;
-       /// approximate the math class of the data
+       /// approximate mathclass of the data
        MathClass mathClass() const;
+       /// math class of last interesting element
+       MathClass lastMathClass() const;
 
        /// access to cached x coordinate of last drawing
        int xo(BufferView const & bv) const;
@@ -178,7 +180,7 @@ public:
        /// stay visually at the same position (cur==0 is allowed)
        void updateMacros(Cursor * cur, MacroContext const & mc, UpdateType, int nesting);
        ///
-       void updateBuffer(ParIterator const &, UpdateType);
+       void updateBuffer(ParIterator const &, UpdateType, bool const deleted = false);
        ///
        void setBuffer(Buffer & b);