]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathData.h
de.po
[lyx.git] / src / mathed / MathData.h
index efa581c4142de17569828dbfed772033c2454f5d..1558000bdc6131865802349d99828dbf157af2dc 100644 (file)
@@ -124,9 +124,13 @@ public:
        /// Add this array to a math row. Return true if contents got added
        bool addToMathRow(MathRow &, MetricsInfo & mi) const;
 
+       // return true if caret is in this cell in this buffer view
+       bool hasCaret(BufferView * bv) const;
+
        /// rebuild cached metrics information
        /** When \c tight is true, the height of the cell will be at least
-        *  that of 'x'. Otherwise, it will be the max height of the font.
+        *  the x height of the font. Otherwise, it will be the max height
+        *  of the font.
         */
        void metrics(MetricsInfo & mi, Dimension & dim, bool tight = true) const;
        ///
@@ -180,7 +184,7 @@ public:
        ///
        void updateBuffer(ParIterator const &, UpdateType);
        ///
-       void setBuffer(Buffer & b) { buffer_ = &b; }
+       void setBuffer(Buffer & b);
 
 protected:
        /// cached values for super/subscript placement