From: André Pönitz Date: Wed, 8 May 2002 16:17:57 +0000 (+0000) Subject: Move the cursor a bit to the right in empty cells... X-Git-Tag: 1.6.10~19269 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=89d85f7b604babe70c2923bdbcffc54e853fe679;p=features.git 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 --- 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(); }