mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Don't enter the inset if we came from a row above and are one row over
the inset (#262). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4032 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0b0238d904
commit
3e12056da2
@ -1,5 +1,8 @@
|
||||
2002-04-19 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* text2.C (cursorDown): don't enter the inset if we came from a row
|
||||
above and are one row over the inset.
|
||||
|
||||
* lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
|
||||
really leaving an inset.
|
||||
|
||||
|
@ -2351,7 +2351,7 @@ void LyXText::cursorDown(BufferView * bview, bool selecting) const
|
||||
int y = cursor.y() - cursor.row()->baseline() +
|
||||
cursor.row()->height() + 1;
|
||||
setCursorFromCoordinates(bview, x, y);
|
||||
if (!selecting) {
|
||||
if (!selecting && cursor.row() == cursor.irow()) {
|
||||
int y1 = cursor.iy() - first_y;
|
||||
int y2 = y1;
|
||||
y -= first_y;
|
||||
|
Loading…
Reference in New Issue
Block a user