]> git.lyx.org Git - lyx.git/blobdiff - src/text2.C
rename mathed/math_xinset into mathed/InsetMathX
[lyx.git] / src / text2.C
index fdfd27f8e43bd7d5627797c783a78e45690acde5..09b9a2ce93747ded3f0604b420cb6074e439c1fd 100644 (file)
@@ -51,7 +51,7 @@
 
 #include "insets/insetenv.h"
 
-#include "mathed/math_hullinset.h"
+#include "mathed/InsetMathHull.h"
 
 #include "support/textutils.h"
 
@@ -1083,7 +1083,7 @@ bool LyXText::cursorUp(LCursor & cur)
                LCursor old = cur;
                // Go to middle of previous row. 16 found to work OK;
                // 12 = top/bottom margin of display math
-               int const margin = 3 * MathHullInset::displayMargin() / 2;
+               int const margin = 3 * InsetMathHull::displayMargin() / 2;
                editXY(cur, x, y - par.rows()[row].ascent() - margin);
                cur.clearSelection();
 
@@ -1131,7 +1131,7 @@ bool LyXText::cursorDown(LCursor & cur)
                int const y = bv_funcs::getPos(cur, cur.boundary()).y_;
                LCursor old = cur;
                // To middle of next row
-               int const margin = 3 * MathHullInset::displayMargin() / 2;
+               int const margin = 3 * InsetMathHull::displayMargin() / 2;
                editXY(cur, x, y + par.rows()[row].descent() + margin);
                cur.clearSelection();