astepano / rpms / vim

Forked from rpms/vim 6 years ago
Clone
b63aa53
To: vim_dev@googlegroups.com
b63aa53
Subject: Patch 7.3.561
b63aa53
Fcc: outbox
b63aa53
From: Bram Moolenaar <Bram@moolenaar.net>
b63aa53
Mime-Version: 1.0
b63aa53
Content-Type: text/plain; charset=UTF-8
b63aa53
Content-Transfer-Encoding: 8bit
b63aa53
------------
b63aa53
b63aa53
Patch 7.3.561
b63aa53
Problem:    Using refresh: always in a complete function breaks the "."
b63aa53
	    command. (Val Markovic)
b63aa53
Solution:   Add match leader to the redo buffer. (Yasuhiro Matsumoto)
b63aa53
Files:	    src/edit.c
b63aa53
b63aa53
b63aa53
*** ../vim-7.3.560/src/edit.c	2012-06-13 17:28:51.000000000 +0200
b63aa53
--- src/edit.c	2012-06-20 14:22:23.000000000 +0200
b63aa53
***************
b63aa53
*** 3467,3476 ****
b63aa53
--- 3467,3480 ----
b63aa53
  	(*mb_char2bytes)(c, buf);
b63aa53
  	buf[cc] = NUL;
b63aa53
  	ins_char_bytes(buf, cc);
b63aa53
+ 	AppendToRedobuff(buf);
b63aa53
      }
b63aa53
      else
b63aa53
  #endif
b63aa53
+     {
b63aa53
  	ins_char(c);
b63aa53
+ 	AppendCharToRedobuff(c);
b63aa53
+     }
b63aa53
  
b63aa53
      /* If we didn't complete finding matches we must search again. */
b63aa53
      if (ins_compl_need_restart())
b63aa53
*** ../vim-7.3.560/src/version.c	2012-06-20 14:13:02.000000000 +0200
b63aa53
--- src/version.c	2012-06-20 14:20:13.000000000 +0200
b63aa53
***************
b63aa53
*** 716,717 ****
b63aa53
--- 716,719 ----
b63aa53
  {   /* Add new patch number below this line */
b63aa53
+ /**/
b63aa53
+     561,
b63aa53
  /**/
b63aa53
b63aa53
-- 
b63aa53
Microsoft is to software what McDonalds is to gourmet cooking
b63aa53
b63aa53
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
b63aa53
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
b63aa53
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
b63aa53
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///