]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathScript.h
de.po
[lyx.git] / src / mathed / InsetMathScript.h
index 0b96d03ce2e03bdc9307229d93136b35c5c0c934..d29ffbd50b267856cab3b80e630a668cbd5e6b2a 100644 (file)
@@ -49,10 +49,8 @@ public:
        bool idxForward(Cursor & cur) const;
        /// move cursor up or down
        bool idxUpDown(Cursor & cur, bool up) const;
-       /// Target pos when we enter the inset while moving forward
-       bool idxFirst(Cursor & cur) const;
-       /// Target pos when we enter the inset while moving backwards
-       bool idxLast(Cursor & cur) const;
+       /// The index of the cell entered while moving backward
+       size_type lastIdx() const { return 0; }
 
        /// write LaTeX and Lyx code
        void write(WriteStream & os) const;
@@ -140,6 +138,8 @@ private:
        /// shifts the superscript to the right, and a negative value shifts the
        /// subscript to the left.
        int nker(BufferView const * bv) const;
+       /// can one change how scripts are drawn?
+       bool allowsLimits() const;
        /// where do we have to draw the scripts?
        bool hasLimits() const;
        /// clean up empty cells and return true if a cell has been deleted.