On 22/10/28 2:59 AM, Bram Moolenaar wrote:
Given starting with a single long line of:

     with lots of text with lots of 1 2 3 4 5
       6 7 8 9 text with lots of text with lot
     s of text with lots of text with lots of
       text
     ~
                            1,1           All

After CTRL-E there is

     <<<7 8 9 text with lots of text with lot
     s of text with lots of text with lots of
       text
     ~
     ~
                            1,44          All

The characters " 6 " are lost, should the first screen line after the
CTRL-E look like this?

     <<< 6 7 8 9 text w...

Note this discrepancy doesn't show up if 'showbreak' is "+++".
If you scroll then some text will not be visible, that is to be
expected.

Sure. But typically, it is only text on the top line that becomes not visible.

But I use "showbreak=+++" so it's not an issue for me; no text gets hidden under the "+++". The subject has "(maybe)" just to be sure the behavior is intentional.

We also want to make sure the user understands that some part
of the line is not visibile, that is what we use the marker for.  If you
want to see the text you need to scroll back, I think that's fine.

There are some corner cases, e.g. whether we allow the cursor to be
inside the marker.  I think it's confusing thus I didn't do that, move
the cursor into the visible text.  If space is small it might get
difficult though, so perhaps in some situation we might need to
compromise.  This is an extra feature, nice when you want it but not
without complications.  It actually works best if you are not caring to
much about the first line itself but about positioning the text in the
window nicely.  Like for the 'splitscroll' option variants.


--
--
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/27406139-53bd-3bca-9e1e-6c551dc27aba%40raelity.com.

Raspunde prin e-mail lui