Gary Johnson wrote:

> Using the latest vim73, changeset c945fdb34ce3, Wed Aug 04 20:55:44
> 2010 +0200, the two windows of a vimdiff display can get out of
> sync.
> 
> To demonstrate the problem, cd to the vim/src directory and execute
> this command.
> 
>     vim -d -N -u NONE -i NONE <(hg cat -r ae22c450546c if_cscope.c) <(hg cat 
> -r 4269a0673478 if_cscope.c)
> 
> The results are affected by the size of the changed regions and the
> number of lines in the terminal.  For this example, I used an 80x24
> xterm.
> 
> The cursor will be in the upper left corner of the left window.
> Type j 6 times and the cursor will move down the window as it
> should.  Type j again so that the cursor enters the top of the added
> lines and observe that the right window scrolls down and is no
> longer aligned with the left window.  Type k and observe that the
> right window scrolls up but is still not aligned.  Type k again and
> the right window continues to scroll up, one line at a time, until
> the cursor reaches the top of the left window, at which point the
> two windows are again properly aligned.

I can reproduce it.  One more for the todo list.

-- 
hundred-and-one symptoms of being an internet addict:
13. You refer to going to the bathroom as downloading.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            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

Raspunde prin e-mail lui