mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
small fix to today's commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8110 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
022387eb1d
commit
4e2a7f6e81
@ -1,3 +1,8 @@
|
||||
2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
|
||||
|
||||
* text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
|
||||
screen coordinates)
|
||||
|
||||
2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
|
||||
|
||||
* lyxtext.h: add x0_, y0_
|
||||
|
@ -1718,7 +1718,7 @@ void LyXText::cursorUp(bool selecting)
|
||||
lyxerr << "y:" << y << " y0: " << y0_ << endl;
|
||||
InsetOld * inset_hit = checkInsetHit(bv()->x_target(), y);
|
||||
if (inset_hit && isHighlyEditableInset(inset_hit))
|
||||
inset_hit->edit(bv(), x, y);
|
||||
inset_hit->edit(bv(), bv()->x_target(), y);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1734,7 +1734,7 @@ void LyXText::cursorDown(bool selecting)
|
||||
y += y0_ - bv()->top_y();
|
||||
InsetOld * inset_hit = checkInsetHit(bv()->x_target(), y);
|
||||
if (inset_hit && isHighlyEditableInset(inset_hit))
|
||||
inset_hit->edit(bv(), x, y);
|
||||
inset_hit->edit(bv(), bv()->x_target(), y);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user