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