On 10/5/22 2:15 PM, Bram Moolenaar wrote:
Ernie Rael wrote:

smoothscroll brings a sigh of relief. (and splitkeep is very cool). I'm
not sure if these smoothscroll issues have been mentioned; if so,
apologies for the noise.

vim 9.0.667, smoothscroll, splitkeep=screen

I've got a xxx.properties like

     autoSynch=true
     kind=adHoc
     name=nb-full
     path=file:/ref/nb/src/netbeans/apisupport/timers/ ... ~50K chars

with a monstrous last line.

Open the file, cursor on first line, enter ^E repeatedly, the screen
gets stuck on the long "path=..." line. You can put the cursor somewhere
in the middle of the long line, ^E until the cursor gets to the top and
it gets stuck.
With the current version I don't see this problem.  What is your
'scrolloff' set to?

scrolloff=0

I just tried

gvim -u NONE -U NONE
:set smoothscroll

Get the same screen stuck when cursor at top of screen and in a long line with ^E behavior.

same thing with vim.

-ernie


Curiously, when the cursor is on the top line and "ft=", with ^E you can
visually see cursor go to the next line then go back. With
ft=jproperties the screen lines jump around a bit before settling.

=== possibly unrelated

I don't know if the following has anything to do with any of these new
options, but I don't remember having seen it before. Take file with a
single short line. Do "gvimdiff f1 f1". Do some ^Y. For every ^Y the
line is replicated above it and the actual file line moves down. ^E
undoes it line by line.
For me it crashes.  I'll have a look later.


--
--
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/ec11ce6c-6d9e-451c-8356-a0be2c26cf00%40raelity.com.

Raspunde prin e-mail lui