On Sun, Jun 4, 2017 at 2:58 PM, Bram Moolenaar <[email protected]> wrote:
>
> Patch 8.0.0607
> Problem:    When creating a bufref, then using :bwipe and :new it might get
>             the same memory and bufref_valid() returns true.
> Solution:   Add br_fnum to check the buffer number didn't change.
> Files:      src/structs.h, src/buffer.c, src/globals.h, src/if_py_both.h,
>             src/quickfix.c

Suddenly I see an off-by-one error when setting 'cmdheight'. This
error wasn't present in gvim 8.0.606

I have the following in my vimrc:

if has('windows')
" Rolodex Vim + splitbelow
  set noea wmh=0 wh=9999 hh=9999 sb
  if has('quickfix')
    set pvh=9999
  endif " +quickfix

" netrw settings
  let g:netrw_liststyle = 1     " listing style 1 = wide
endif " +windows

if exists('+cmdheight') && (&ch < 2)
  set ch=2
endif

...and yet, I get a single-line command line (":set cmdheight?" tells
me it is set to 2). If I set manually ":set cmdheight=3" after
starting Vim, I get a two-line command-line, and ":set cmdheight=2"
brings it back to single-line (and the bottom window, which isn't
current, temporarily has height 1 rather than 0).

Tested in Huge build with GTK+3 GUI.


Best regards,
Tony.

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui