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
This commit is contained in:
André Pönitz 2002-05-08 16:17:57 +00:00
parent e4fffd74bc
commit 89d85f7b60

View File

@ -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();
}