Karsten Hopp 823a00
To: vim_dev@googlegroups.com
Karsten Hopp 823a00
Subject: Patch 7.3.854
Karsten Hopp 823a00
Fcc: outbox
Karsten Hopp 823a00
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 823a00
Mime-Version: 1.0
Karsten Hopp 823a00
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 823a00
Content-Transfer-Encoding: 8bit
Karsten Hopp 823a00
------------
Karsten Hopp 823a00
Karsten Hopp 823a00
Patch 7.3.854
Karsten Hopp 823a00
Problem:    After using backspace in insert mode completion, CTRL-N and CTRL-P
Karsten Hopp 823a00
	    do not highlight the right entry. (Olivier Teuliere)
Karsten Hopp 823a00
Solution:   Set the current item to the shown item after using backspace.
Karsten Hopp 823a00
Files:	    src/edit.c
Karsten Hopp 823a00
Karsten Hopp 823a00
Karsten Hopp 823a00
*** ../vim-7.3.853/src/edit.c	2013-02-26 13:30:28.000000000 +0100
Karsten Hopp 823a00
--- src/edit.c	2013-03-07 19:31:46.000000000 +0100
Karsten Hopp 823a00
***************
Karsten Hopp 823a00
*** 3380,3385 ****
Karsten Hopp 823a00
--- 3380,3388 ----
Karsten Hopp 823a00
      if (compl_leader != NULL)
Karsten Hopp 823a00
      {
Karsten Hopp 823a00
  	ins_compl_new_leader();
Karsten Hopp 823a00
+ 	if (compl_shown_match != NULL)
Karsten Hopp 823a00
+ 	    /* Make sure current match is not a hidden item. */
Karsten Hopp 823a00
+ 	    compl_curr_match = compl_shown_match;
Karsten Hopp 823a00
  	return NUL;
Karsten Hopp 823a00
      }
Karsten Hopp 823a00
      return K_BS;
Karsten Hopp 823a00
*** ../vim-7.3.853/src/version.c	2013-03-07 18:50:52.000000000 +0100
Karsten Hopp 823a00
--- src/version.c	2013-03-07 19:34:32.000000000 +0100
Karsten Hopp 823a00
***************
Karsten Hopp 823a00
*** 730,731 ****
Karsten Hopp 823a00
--- 730,733 ----
Karsten Hopp 823a00
  {   /* Add new patch number below this line */
Karsten Hopp 823a00
+ /**/
Karsten Hopp 823a00
+     854,
Karsten Hopp 823a00
  /**/
Karsten Hopp 823a00
Karsten Hopp 823a00
-- 
Karsten Hopp 823a00
If you put 7 of the most talented OSS developers in a room for a week
Karsten Hopp 823a00
and asked them to fix a bug in a spreadsheet program, in 1 week
Karsten Hopp 823a00
you'd have 2 new mail readers and a text-based web browser.
Karsten Hopp 823a00
Karsten Hopp 823a00
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 823a00
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 823a00
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 823a00
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///