> 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=3Deol:=C2=B6,tab:\|_,extends:>,precedes:<,conceal:*,nbsp:=C2=B7
> 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.
I had to adjust quite a few tests for the "<<<" showing up, and in some
cases the previous situation seemed already indicating the missing text.
I'll go over it and see where we can drop showing the "<<<".
I do think that we should show "<<<" by default when 'smoothscroll' is
set. And then offer options to show something else.
--
hundred-and-one symptoms of being an internet addict:
269. You receive an e-mail from the wife of a deceased president, offering
to send you twenty million dollar, and you are not even surprised.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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/20221004121746.2A2631C0A0D%40moolenaar.net.