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