From 4d89b2903b5fc51fd6e1b8efe9a9ed46113b34d7 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Sat, 5 Oct 2024 15:30:22 +0200 Subject: [PATCH] Fix up 6c20e5db: let PARAGRAPH_GOTO use SCROLL_TOP again As said, this was an experiment. It did not seem to stick. --- src/BufferView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BufferView.cpp b/src/BufferView.cpp index a7348362cc..c58766846d 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -1676,7 +1676,7 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr) success = setCursorFromEntries({id, pos}, {id_end, pos_end}); } - if (success && scrollToCursor(d->cursor_, SCROLL_TOGGLE)) + if (success && scrollToCursor(d->cursor_, SCROLL_TOP)) dr.screenUpdate(Update::Force); } else { // Switch to other buffer view and resend cmd -- 2.39.5