John Marriott wrote:

> On 27-Mar-2014 10:13 PM, Bram Moolenaar wrote:
> >
> > Patch 7.4.219
> > Problem:    When 'relativenumber' or 'cursorline' are set the window is
> >         redrawn much to often. (Patrick Hemmer, Dominique Pelle)
> > Solution:   Check the VALID_CROW flag instead of VALID_WROW.
> > Files:          src/move.c
> 
> [...]
> 
> Hi All,
> 
> I see a problem with the cursorline highlight after applying this patch 
> when scrolling upwards off the top of the view. The cursorline highlight 
> separates from the cursor itself when the display scrolls after using 
> the up arrow key.
> 
> To repro:
> 1. Open a file such that the file is larger than the view.
> 2. Set cursorline if not already on.
> 3. Move someway down through the file so that the view has scrolled of 
> the top of the file.
> 4. Scroll upwards using the up arrow key. The cursorline an cursor 
> remain together, but when the cursor reaches the top of the view and the 
> display scrolls downward the cursor continues to move upward but the 
> cursorline remains where it was when the scrolling started.
> 
> I see the same behaviour in gvim (Windows 8.1 64bit) and vim (HP-UX).

Thanks for reporting this.  I see the problem and I'll make a fix.

-- 
Imagine a world without hypothetical situations.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.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

--- 
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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui