mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-21 17:51:03 +00:00
Fix up 6c20e5db
: let PARAGRAPH_GOTO use SCROLL_TOP again
As said, this was an experiment. It did not seem to stick.
This commit is contained in:
parent
02beaa0a7b
commit
4d89b2903b
@ -1676,7 +1676,7 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
|||||||
success = setCursorFromEntries({id, pos},
|
success = setCursorFromEntries({id, pos},
|
||||||
{id_end, pos_end});
|
{id_end, pos_end});
|
||||||
}
|
}
|
||||||
if (success && scrollToCursor(d->cursor_, SCROLL_TOGGLE))
|
if (success && scrollToCursor(d->cursor_, SCROLL_TOP))
|
||||||
dr.screenUpdate(Update::Force);
|
dr.screenUpdate(Update::Force);
|
||||||
} else {
|
} else {
|
||||||
// Switch to other buffer view and resend cmd
|
// Switch to other buffer view and resend cmd
|
||||||
|
Loading…
Reference in New Issue
Block a user