On Mon, Oct 3, 2022 at 5:44 PM Bram Moolenaar <[email protected]> wrote:
>
>
> Patch 9.0.0649
> Problem:    No indication when the first line is broken for 'smoothscroll'.
> Solution:   Show "<<<" in the first line.
> Files:      src/drawline.c, src/testdir/dumps/Test_smoothscroll_2.dump,
>             src/testdir/dumps/Test_smoothscroll_3.dump,
>             src/testdir/dumps/Test_smoothscroll_5.dump,
>             src/testdir/dumps/Test_smoothscroll_6.dump

Shortly before this patch, if 'list' was on and 'listchars' contained
a "precedes:" entry, the corresponding character was displayed in the
first screen character cell if 'smoothscroll' was on and the first
visible file line began earlier. That was enough for me.

FYI, my vimrc (which sets 'encoding' to utf-8 and has ":scriptencoding
utf-8" near the top) includes the lines

if exists('+list')
  set list
  if exists('+listchars')
    set lcs=eol:¶,tab:\|_,extends:>,precedes:<,conceal:*,nbsp:·
  endif
endif

(it was already like this, because even with 'wrap' as a global
default, I may want to set 'nowrap' locally in one or more windows).

I wonder if I should revert this patch locally to go back to how
'smoothscroll' worked (together with 'list' and 'listchars') at
patchlevels 644 (or maybe 645) to 648, or if it would be possible to
make it depend on some option, let's say maybe add a "firstline" flag
to the 'display' option. But I want to think it over before going away
from "standard" Vim on my own in this manner.

Best regards,
Tony.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAJkCKXtizgXdEuO9X-SPSObxZgBab-NWYLpE8TnpO%2Bbg76Q01Q%40mail.gmail.com.

Raspunde prin e-mail lui