Erik Falor wrote:

> On Wed, Jun 10, 2009 at 09:41:45PM +0200, Bram Moolenaar wrote:
> > 
> > Please try out the patch below and see if you can crash Vim, or notice
> > any side effects.
> > 
> > What I have been doing is having a buffer in another tab page, modifying
> > it outside of Vim, and then using ":checktime".  Vim will offer you to
> > reload the buffer, which now happens in the temp window.
> > 
> > Let me know what you think.
> > 
> 
> So far I've found that the procedure you describe above causes the
> scrollbar in the Win32 GUI to misbehave after the unseen buffer is
> reloaded.  
> 
> http://www.servimg.com/image_preview.php?i=6&u=12096412
> 
> This image illustrates the scrollbar drawn too small for the currently
> displayed window.  This is how big the scrollbar appears on the window
> of the updated file on tabpage #1.  Tabpage #1 is split horizontally,
> showing two different files.  It doesn't matter if the updated file is
> in the upper or lower pane, or if it is in the active window.  Nor
> do the sizes of the split windows matter.  This view of this tabpage
> always looks like this after changing the unseen file outside of Vim.
> 
> http://www.servimg.com/image_preview.php?i=7&u=12096412o
> 
> This is what Vim looks like after clicking the Maximize button.
> 
> http://www.servimg.com/image_preview.php?i=8&u=12096412
> 
> This happens after resizing a window with CTRL-W_+ and CTRL-W_-
> 
> Here's my :version

I see the problem.  I'll send an updated patch.

-- 
hundred-and-one symptoms of being an internet addict:
24. You realize there is not a sound in the house and you have no idea where
    your children are.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui