From 89d85f7b604babe70c2923bdbcffc54e853fe679 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Wed, 8 May 2002 16:17:57 +0000 Subject: [PATCH] Move the cursor a bit to the right in empty cells... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4139 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_cursor.C | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mathed/math_cursor.C b/src/mathed/math_cursor.C index 914d4e3b48..4a4fd6c6ec 100644 --- a/src/mathed/math_cursor.C +++ b/src/mathed/math_cursor.C @@ -815,6 +815,9 @@ void MathCursor::getPos(int & x, int & y) #warning This should probably take cellXOffset and cellYOffset into account #endif x = xarray().xo() + xarray().pos2x(pos()); + // move cursor visually into empty cells ("blue rectangles"); + if (array().empty()) + x += 2; y = xarray().yo(); } -- 2.39.2