Re: Patch - Win32 GVIM (SW_INVALIDATE)
- Michael Wookey wrote:
> > I have been running the patch since it was posted and not seen anySince you never know when a window may popup, and the result is that the
> > issues - anyone else?
> I have made one fix to my previous patch. If the gvim window ever
> loses focus, it reverts to the original behaviour of invalidating the
> window when scrolling. In my tests, I had gvim performing a long
> operation that involved scrolled output (using :checkpath! on various
> files within a large source base such as the linux kernel and mozilla
> The reason we must perform this invalidation when gvim does not have
> focus is that the scrolling will obviously produce text corruption
> otherwise. CTRL-L to fix etc.
> As Bram also pointed out, there may be a case where a splash screen
> pops up over the active gvim window but there is no change in focus to
> this "splash screen".
> It is true - this patch will not handle this scenario. Unfortunately,
> it is not possible to detect this case. I believe this is the only
> caveat of this patch.
Vim window will look messed up (which looks like a bug to the user) I
find this disadvantage too big.
> For my purposes, this is acceptable. I have already achieved aIs that a difference between the original Vim and one with the patch
> measurable five fold improvement when scrolling and now find gvim more
> than usable.
included, or between always checking for overlaps and doing it only when
A meeting is an event at which the minutes are kept and the hours are lost.
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
- Bram Moolenaar wrote:
> Also check what happens if part of the Vim window extends to below theHelmut's patch works correctly with overlapping windows. It is simply slow. When
> screen and then scroll up the text (with commands, scrollbar or mouse
> scroll wheel).
gvim is obscured by the task bar, it will leave "text trails" while scrolling,
but redraw correctly when scrolling stops.