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-08-12 12:29:50 +02:00
2024-08-23 16:08:37 +02:00
2024-03-05 11:34:59 -05:00
2022-11-20 21:19:44 +01:00
2023-08-01 05:23:05 -04:00
2024-08-21 18:07:47 +02:00
2023-03-20 22:48:41 +01:00
2024-01-06 11:46:25 +01:00
2019-06-26 08:57:05 +02:00
2024-08-28 09:23:35 +02:00
2020-07-09 18:59:54 +02:00
2024-06-18 10:24:09 +01:00
2023-11-09 00:21:21 +01:00
2018-03-09 15:17:23 +01:00