mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
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:
parent
e4fffd74bc
commit
89d85f7b60
@ -815,6 +815,9 @@ void MathCursor::getPos(int & x, int & y)
|
|||||||
#warning This should probably take cellXOffset and cellYOffset into account
|
#warning This should probably take cellXOffset and cellYOffset into account
|
||||||
#endif
|
#endif
|
||||||
x = xarray().xo() + xarray().pos2x(pos());
|
x = xarray().xo() + xarray().pos2x(pos());
|
||||||
|
// move cursor visually into empty cells ("blue rectangles");
|
||||||
|
if (array().empty())
|
||||||
|
x += 2;
|
||||||
y = xarray().yo();
|
y = xarray().yo();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user