I have vim 7.3 (p1-46) on Win 7. From: On Behalf Of Christian Brabandt > On Fr, 03 Feb 2012, John Little wrote: > > > On Feb 4, 10:17 am, Mikey <[email protected]> wrote: > > > Hello again. > > > > > > Accidentally I've discovered some new facts about described problem. > > > In contrast to my previous posts now I dare to claim that the source > > > of bug is in the Vim itself. Steps to reproduce: ... > > > > Yes, I get "it" too, but it's more of a flash than a flicker. Going > > forward a screen Vim seems to clear the screen, then redraw it, but > > gets interrupted and pauses a third of the way through, and at two > > thirds. And yes, after a :vsplit page up doesn't flash.
I see a flicker, but it's expected, see below. > I am not sure why, but this patch seems to fix it. This potentially > makes redrawing much slower, though. > > diff --git a/src/move.c b/src/move.c > --- a/src/move.c > +++ b/src/move.c > @@ -2533,7 +2533,7 @@ > } > } > > - redraw_later(VALID); > + redraw_later(NOT_VALID); > return retval; > } This is without looking at the code, so ICBW... This is a well-known although possibly fallen-into-disuse graphics optimization: if you're partway through drawing the screen and you get a command that will cause a redraw, abandon the current drawing and start the next drawing. The patch probably turns the optimization off, which should make the scrolling slower because each view on the data is fully drawn before the next navigation command occurs. The fact that there is no flicker when scrolling up is an artifact of the top-to-bottom drawing process. I'm not sure this is something that needs to be fixed. I pasted the 10,001 lines to notepad and see the same thing when scrolling. Hm. Although in notepad there is flicker in both directions, so I'm wondering if the lack of flicker when scrolling up in gvim is in fact a bug: the optimization is not applied correctly? ...Stu -- 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
