Hello,

The attached patch is a follow-up to patch 7.3.117 (Problem: When changing the font size, only MS-Windows limits the window size. Solution: Also limit the window size on other systems. (Roland Puntaier)). That patch fixed the problem that on non-MS-Windows systems, increasing the font size could cause the gVim window to grow larger than the physical screen.

A similar problem exists on non-MS-Windows systems when setting lines or columns. According to the documentation for 'lines' ( or 'columns'), "Vim limits the number of lines [columns] to what fits on the screen." This is true on MS-Windows, but not true on other systems (in my case, Linux). The attached patch makes the behavior consistent with the documentation on all systems.

Cheers,

Daniel

--
--
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/groups/opt_out.


*** /tmp/dqU0fa_ui.c    2013-01-31 21:25:17.006445136 -0600
--- src/ui.c    2013-01-31 21:24:43.616864901 -0600
***************
*** 326,338 ****
  {
  #ifdef FEAT_GUI
      if (gui.in_use)
!       gui_set_shellsize(mustset,
! # ifdef WIN3264
!               TRUE
! # else
!               FALSE
! # endif
!               , RESIZE_BOTH);
      else
  #endif
        mch_set_shellsize();
--- 326,332 ----
  {
  #ifdef FEAT_GUI
      if (gui.in_use)
!       gui_set_shellsize(mustset, TRUE, RESIZE_BOTH);
      else
  #endif
        mch_set_shellsize();

Raspunde prin e-mail lui