mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
seems somebody made changes in the wrong tree ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6539 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ce5979004b
commit
893114ea1a
@ -293,20 +293,20 @@ void LyXText::cursorPrevious()
|
||||
|
||||
void LyXText::cursorNext()
|
||||
{
|
||||
int top_y = top_y();
|
||||
int topy = top_y();
|
||||
|
||||
if (!cursor.row()->next()) {
|
||||
int y = cursor.y() - cursor.row()->baseline() +
|
||||
cursor.row()->height();
|
||||
if (y > top_y + bv()->workHeight()) {
|
||||
if (y > topy + bv()->workHeight()) {
|
||||
bv()->screen().draw(bv()->text, bv(), bv()->text->top_y() + bv()->workHeight());
|
||||
bv()->updateScrollbar();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
int y = top_y + bv()->workHeight();
|
||||
if (inset_owner && !top_y) {
|
||||
int y = topy + bv()->workHeight();
|
||||
if (inset_owner && !topy) {
|
||||
y -= (bv()->text->cursor.iy()
|
||||
- bv()->text->top_y()
|
||||
+ bv()->theLockingInset()->insetInInsetY());
|
||||
|
Loading…
Reference in New Issue
Block a user