On Feb 5, 3:01 pm, Mikey <[email protected]> wrote:
> I dont't have the foggiest idea about Vim's internals
> but I suspect it should be fixed on some higher level than your
> attempt.

The flickering problem is usually solved by using double-buffering in
an application: the application draws text into an off-screen buffer,
then it displays the buffer. I'm not sure, but I think that Vim
doesn't use double buffering. Instead it (I think) tries to modify
only the parts of the screen that have actually changed. When
scrolling (eg. when you move down line by line) it may also copy the
part of the screen that will be visible after the scroll to a new
location.

When you move by page (or pressing ctrl-L), the whole screen needs to
be updated. It is first cleared and then redrawn, and both changes are
immediately visible. On slow graphic cards and large Vim windows the
flicker appears stronger because it takes more time to redraw the
screen. The flicker is usually stronger in the bottom lines.

Hope this helps,
Marko

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