Hello,

Steps to reproduce bug on Windows 7, 64 bit, Official big version of vim.exe:

1) Create a file, foo.vim, as follows:

    set laststatus=2
    augroup ReSizingReporter
      autocmd VimResized  * echomsg "c:" &columns  " l:" &lines
    augroup END

2) Start cmd.exe. Right-click on top bar and select Properties. Select Layout tab; make both "Screen Buffer Size" and "Window Size" to be equal and to be, say, width of 96 and height of 32.

3) Start

        vim.exe -u foo.vim --noplugin

4) Right click on top bar, select Properties and make _only_ "Screen Buffer Size" smaller, say, width 64 and height 24.

5) Issue command ":messages" and verify that Vim has reacted to change in size.

6) Exit vim.  Repeat steps (2 and 3).

7) Right click on top bar, select Properties and make _only_ "Screen Buffer Size" _larger_, say, width 128 and height 36.

8) Observe that vim is now confused. :messages shows nothing. Click and drag corner of window so that scroll bars disappear. Right click on top bar, select Properties and observe that Window Size now equals Screen Buffer Size. Still :messages shows nothing, and vim is confused.

9) Issue command ":set columns 128" and ":set lines 36" -- vim has become OK again.

So vim reacts properly to contraction of window but not to expansion of window.

--Suresh

--
--
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui