Doing a bit of looking around in option.c, 'lines' is only limited to 1000, and vim-gtk seems to rely on a window resize event coming back from the gui to set 'lines' correctly. If this is correct, on a second 'set lines=999' the gui window doesn't change, so no resize event occurs, and vim is left with lines set incorrectly.
option.c calls gui_set_shellsize (in gui.c), with its 'fit_to_display' parameter set to false; I wonder why, because clearly that's what's lacking here. I imagine that getting this pixel perfect is difficult, because gvim doesn't know what window decorations are going to be applied, and what other desktop components like panels might occupy screen space. I speculate that the present approach I'm going to experiment setting fit_to_display. Regards, John Little -- 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
