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

VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Jun 10 2009 14:06:13)
MS-Windows 32-bit GUI version with OLE support
Included patches: 1-196
Compiled by efa...@spillman
Huge version with GUI.  Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent 
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments 
+cryptv +cscope +cursorshape +dialog_con_gui +diff +digraphs -dnd -ebcdic 
+emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path 
+float +folding -footer +gettext/dyn -hangul_input +iconv/dyn +insert_expand 
+jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap
 +menu +mksession +modify_fname +mouse +mouseshape +multi_byte +multi_lang 
-mzscheme +netbeans_intg +ole -osfiletype +path_extra +perl/dyn -postscript 
+printer +profile +python/dyn +quickfix +reltime +rightleft +ruby/dyn 
+scrollbind +signs +smartindent -sniff +statusline -sun_workshop +syntax 
+tag_binary 
+tag_old_static -tag_any_white -tcl -tgetent -termresponse +textobjects +title 
+toolbar +user_commands +vertsplit +virtualedit +visual +visualextra 
+viminfo +vreplace +wildignore +wildmenu +windows +writebackup -xfontset -xim 
-xterm_save -xpm_w32 
   system vimrc file: "$VIM\vimrc"
     user vimrc file: "$HOME\_vimrc"
 2nd user vimrc file: "$VIM\_vimrc"
      user exrc file: "$HOME\_exrc"
  2nd user exrc file: "$VIM\_exrc"
  system gvimrc file: "$VIM\gvimrc"
    user gvimrc file: "$HOME\_gvimrc"
2nd user gvimrc file: "$VIM\_gvimrc"
    system menu file: "$VIMRUNTIME\menu.vim"
Compilation: cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32   
-DFEAT_CSCOPE -DFEAT_NETBEANS_INTG      -DWINVER=0x0400 -D_WIN32_WINNT=0x0400  
/Fo.\ObjGOLYR/ /Ox /GL -DNDEBUG /arch:SSE2 /Zl /MT -DFEAT_OLE -DFEAT_GUI_W32 
-DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_PYTHON -DDYNAMIC_PYTHON  
-DDYNAMIC_PYTHON_DLL=\"python25.dll\" -DFEAT_PERL -DDYNAMIC_PERL 
-DDYNAMIC_PERL_DLL=\"perl58.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY 
-DDYNAMIC_RUBY_VER=18 -DDYNAMIC_RUBY_DLL=\"msvcrt-ruby18.dll\" -DFEAT_HUGE 
/Fd.\ObjGOLYR/ /Zi
Linking: link /RELEASE /nologo /subsystem:windows /LTCG:STATUS oldnames.lib 
kernel32.lib advapi32.lib shell32.lib gdi32.lib  comdlg32.lib ole32.lib 
uuid.lib /machine:i386 /nodefaultlib gdi32.lib version.lib   winspool.lib 
comctl32.lib advapi32.lib shell32.lib  /machine:i386 /nodefaultlib libcmt.lib 
oleaut32.lib  user32.lib     /nodefaultlib:python25.lib    WSock32.lib  
/PDB:gvim.pdb -debug


-- 
Erik Falor
Registered Linux User #445632 http://counter.li.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