]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathScript.h
A little cleanup of the layout files.
[lyx.git] / src / mathed / InsetMathScript.h
index 68a4572d7365df6f604c91bc6d0b25c7427246b0..e9be1fda6a16088c8f8c7eb0f537bccdfdd0e936 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -41,15 +41,15 @@ public:
        ///
        void drawT(TextPainter & pi, int x, int y) const;
 
-       /// move cursor left
-       bool idxLeft(Cursor & cur) const;
-       /// move cursor right
-       bool idxRight(Cursor & cur) const;
+       /// move cursor backwards
+       bool idxBackward(Cursor & cur) const;
+       /// move cursor forward
+       bool idxForward(Cursor & cur) const;
        /// move cursor up or down
        bool idxUpDown(Cursor & cur, bool up) const;
-       /// Target pos when we enter the inset from the left by pressing "Right"
+       /// Target pos when we enter the inset while moving forward
        bool idxFirst(Cursor & cur) const;
-       /// Target pos when we enter the inset from the right by pressing "Left"
+       /// Target pos when we enter the inset while moving backwards
        bool idxLast(Cursor & cur) const;
 
        /// write LaTeX and Lyx code
@@ -125,11 +125,11 @@ private:
        /// returns descent of nucleus if any
        int ndes(BufferView const &) const;
        /// returns superscript kerning of nucleus if any
-       int nker() const;
+       int nker(BufferView const * bv) 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.
-       bool notifyCursorLeaves(Cursor & cur);
+       bool notifyCursorLeaves(Cursor const & old, Cursor & cur);
 
        /// possible subscript (index 0) and superscript (index 1)
        bool cell_1_is_up_;
@@ -138,6 +138,6 @@ private:
 };
 
 
-
 } // namespace lyx
+
 #endif