]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathScript.h
de.po
[lyx.git] / src / mathed / InsetMathScript.h
index d0707439b9a75bc2c79204e160ee815fded49104..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;
@@ -135,8 +133,13 @@ private:
        int nasc(BufferView const &) const;
        /// returns descent of nucleus if any
        int ndes(BufferView const &) const;
-       /// returns superscript kerning of nucleus if any
+       /// Italic correction: amount of displacement between subscript and
+       /// superscript in math mode as per Appendix G, rule 18f.  A positive value
+       /// 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.