lkundrak / rpms / vim

Forked from rpms/vim 4 years ago
Clone
0a2e524
To: vim_dev@googlegroups.com
0a2e524
Subject: Patch 7.4.440
0a2e524
Fcc: outbox
0a2e524
From: Bram Moolenaar <Bram@moolenaar.net>
0a2e524
Mime-Version: 1.0
0a2e524
Content-Type: text/plain; charset=UTF-8
0a2e524
Content-Transfer-Encoding: 8bit
0a2e524
------------
0a2e524
0a2e524
Patch 7.4.440
0a2e524
Problem:    Omni complete popup drawn incorrectly.
0a2e524
Solution:   Call validate_cursor() instead of check_cursor(). (Hirohito
0a2e524
	    Higashi)
0a2e524
Files:	    src/edit.c
0a2e524
0a2e524
0a2e524
*** ../vim-7.4.439/src/edit.c	2014-09-09 16:32:35.828534252 +0200
0a2e524
--- src/edit.c	2014-09-09 17:59:17.824545615 +0200
0a2e524
***************
0a2e524
*** 4035,4041 ****
0a2e524
  	goto theend;
0a2e524
      }
0a2e524
      curwin->w_cursor = pos;	/* restore the cursor position */
0a2e524
!     check_cursor();
0a2e524
      if (!equalpos(curwin->w_cursor, pos))
0a2e524
      {
0a2e524
  	EMSG(_(e_compldel));
0a2e524
--- 4035,4041 ----
0a2e524
  	goto theend;
0a2e524
      }
0a2e524
      curwin->w_cursor = pos;	/* restore the cursor position */
0a2e524
!     validate_cursor();
0a2e524
      if (!equalpos(curwin->w_cursor, pos))
0a2e524
      {
0a2e524
  	EMSG(_(e_compldel));
0a2e524
***************
0a2e524
*** 5273,5279 ****
0a2e524
  		return FAIL;
0a2e524
  	    }
0a2e524
  	    curwin->w_cursor = pos;	/* restore the cursor position */
0a2e524
! 	    check_cursor();
0a2e524
  	    if (!equalpos(curwin->w_cursor, pos))
0a2e524
  	    {
0a2e524
  		EMSG(_(e_compldel));
0a2e524
--- 5273,5279 ----
0a2e524
  		return FAIL;
0a2e524
  	    }
0a2e524
  	    curwin->w_cursor = pos;	/* restore the cursor position */
0a2e524
! 	    validate_cursor();
0a2e524
  	    if (!equalpos(curwin->w_cursor, pos))
0a2e524
  	    {
0a2e524
  		EMSG(_(e_compldel));
0a2e524
*** ../vim-7.4.439/src/version.c	2014-09-09 17:47:34.584544079 +0200
0a2e524
--- src/version.c	2014-09-09 17:57:33.232545387 +0200
0a2e524
***************
0a2e524
*** 743,744 ****
0a2e524
--- 743,746 ----
0a2e524
  {   /* Add new patch number below this line */
0a2e524
+ /**/
0a2e524
+     440,
0a2e524
  /**/
0a2e524
0a2e524
-- 
0a2e524
Nobody will ever need more than 640 kB RAM.
0a2e524
		-- Bill Gates, 1983
0a2e524
Windows 98 requires 16 MB RAM.
0a2e524
		-- Bill Gates, 1999
0a2e524
Logical conclusion: Nobody will ever need Windows 98.
0a2e524
0a2e524
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
0a2e524
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
0a2e524
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
0a2e524
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///