Jean-Marc Lasgouttes 6c20e5db7d Add ScrollType BOTTOM and TOGGLE for BufferView::scrollToCursor()
BOTTOM shows the paragraph containing the cursor at the bottom of the
work area.

TOGGLE does CENTER, then TOP, BOTTOM and finally cycles to CENTER.
This is a feature copied from emacs's C-l binding.

Add new argument "caret" to lfun "scroll" that can be used like
  scroll caret center

Change the keys (either C-l, M-l or F5) bound to screen-recenter to
"scroll caret toggle".

As an experiment, change paragraph-goto to use this scrolling method.
This can be tested when going to a heading in the outline pane.
2024-09-06 12:21:42 +02:00
..
2024-01-11 11:07:41 -05:00
2020-12-29 12:03:46 -05:00
2020-12-29 12:03:46 -05:00
2020-12-29 12:03:46 -05:00
2018-08-30 21:56:26 +02:00
2023-10-24 13:48:57 +02:00