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:
Jean-Marc Lasgouttes 2024-10-05 15:30:22 +02:00
parent 02beaa0a7b
commit 4d89b2903b

View File

@ -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