fedora-cvs-commits@redhat.com
[Top] [All Lists]

rpms/vim/devel 7.0.099,NONE,1.1

Subject: rpms/vim/devel 7.0.099,NONE,1.1
From:
Date: Mon, 11 Sep 2006 05:34:16 -0400
Author: karsten

Update of /cvs/dist/rpms/vim/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv20815

Added Files:
        7.0.099 
Log Message:
- Patchlevel 99


--- NEW FILE 7.0.099 ---
To: vim-dev@xxxxxxx
Subject: Patch 7.0.099
Fcc: outbox
From: Bram Moolenaar <Bram@xxxxxxxxxxxxx>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------

Patch 7.0.099
Problem:    GUI: When the popup menu is visible using the scrollbar messes up
            the display.
Solution:   Disallow scrolling the current window.  Redraw the popup menu
            after scrolling another window.
Files:      src/gui.c


*** ../vim-7.0.098/src/gui.c    Tue Aug 29 18:16:37 2006
--- src/gui.c   Sun Sep 10 21:28:57 2006
***************
*** 3734,3739 ****
--- 3734,3745 ----
      if (dont_scroll || input_available())
        return;
  #endif
+ #ifdef FEAT_INS_EXPAND
+     /* Disallow scrolling the current window when the completion popup menu is
+      * visible. */
+     if ((sb->wp == NULL || sb->wp == curwin) && pum_visible())
+       return;
+ #endif
  
  #ifdef FEAT_RIGHTLEFT
      if (sb->wp == NULL && curwin->w_p_rl)
***************
*** 4207,4212 ****
--- 4213,4224 ----
        redraw_win_later(wp, VALID);
        updateWindow(wp);   /* update window, status line, and cmdline */
      }
+ 
+ #ifdef FEAT_INS_EXPAND
+     /* May need to redraw the popup menu. */
+     if (pum_visible())
+       pum_redraw();
+ #endif
  
      return (wp == curwin && !equalpos(curwin->w_cursor, old_cursor));
  }
*** ../vim-7.0.098/src/version.c        Sun Sep 10 21:05:39 2006
--- src/version.c       Sun Sep 10 21:35:27 2006
***************
*** 668,669 ****
--- 668,671 ----
  {   /* Add new patch number below this line */
+ /**/
+     99,
  /**/

-- 
FATHER: We are here today to witness the union of two young people in the
        joyful bond of the holy wedlock.  Unfortunately, one of them, my son
        Herbert, has just fallen to his death.
   [Murmurs from CROWD;  the BRIDE smiles with relief, coughs.]
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- Bram@xxxxxxxxxxxxx -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
fedora-cvs-commits mailing list
fedora-cvs-commits@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-cvs-commits

<Prev in Thread] Current Thread [Next in Thread>
  • rpms/vim/devel 7.0.099,NONE,1.1, fedora-cvs-commits <=