Yohei Endo wrote:

> I'm using gVim on Windows 7 32bit.
> When I open a text file whose lines are of different length,
> move cursor to the end of line by '$', and do wheel scroll,
> then characters in the lines which are scrolled out are
> sometimes left drawn.
> You can see screenshots at https://github.com/vim-jp/issues/issues/715 .
> It is reported that the problem occurs also on 64bit Windows (7, 8.1, 10).
> I don't know whether the problem occurs also on 16bit Windows or not.
> 
> According to http://www.maruo.co.jp/turukame/3/x07939_.html (in Japanese),
> The cause of this problem is assumed to be an Intel GPU bug, and can be
> avoided by calling GetPixel() before ScrollWindowEx().
> 
> Attached patch is to avoid the problem.

Thanks!  The solution is not at all obvious.

-- 
"Beware of bugs in the above code; I have only proved
it correct, not tried it." -- Donald Knuth

 /// 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