|
Karsten Hopp |
090446 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
090446 |
Subject: Patch 7.3.566
|
|
Karsten Hopp |
090446 |
Fcc: outbox
|
|
Karsten Hopp |
090446 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
090446 |
Mime-Version: 1.0
|
|
Karsten Hopp |
090446 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
090446 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
090446 |
------------
|
|
Karsten Hopp |
090446 |
|
|
Karsten Hopp |
090446 |
Patch 7.3.566 (after 7.3.561)
|
|
Karsten Hopp |
090446 |
Problem: Redo after completion does not work correctly when refresh: always
|
|
Karsten Hopp |
090446 |
is not used. (Raymond Ko)
|
|
Karsten Hopp |
090446 |
Solution: Check the compl_opt_refresh_always flag. (Christian Brabandt)
|
|
Karsten Hopp |
090446 |
Files: src/edit.c
|
|
Karsten Hopp |
090446 |
|
|
Karsten Hopp |
090446 |
|
|
Karsten Hopp |
090446 |
*** ../vim-7.3.565/src/edit.c 2012-06-20 14:26:30.000000000 +0200
|
|
Karsten Hopp |
090446 |
--- src/edit.c 2012-06-20 22:52:03.000000000 +0200
|
|
Karsten Hopp |
090446 |
***************
|
|
Karsten Hopp |
090446 |
*** 3467,3479 ****
|
|
Karsten Hopp |
090446 |
(*mb_char2bytes)(c, buf);
|
|
Karsten Hopp |
090446 |
buf[cc] = NUL;
|
|
Karsten Hopp |
090446 |
ins_char_bytes(buf, cc);
|
|
Karsten Hopp |
090446 |
! AppendToRedobuff(buf);
|
|
Karsten Hopp |
090446 |
}
|
|
Karsten Hopp |
090446 |
else
|
|
Karsten Hopp |
090446 |
#endif
|
|
Karsten Hopp |
090446 |
{
|
|
Karsten Hopp |
090446 |
ins_char(c);
|
|
Karsten Hopp |
090446 |
! AppendCharToRedobuff(c);
|
|
Karsten Hopp |
090446 |
}
|
|
Karsten Hopp |
090446 |
|
|
Karsten Hopp |
090446 |
/* If we didn't complete finding matches we must search again. */
|
|
Karsten Hopp |
090446 |
--- 3467,3481 ----
|
|
Karsten Hopp |
090446 |
(*mb_char2bytes)(c, buf);
|
|
Karsten Hopp |
090446 |
buf[cc] = NUL;
|
|
Karsten Hopp |
090446 |
ins_char_bytes(buf, cc);
|
|
Karsten Hopp |
090446 |
! if (compl_opt_refresh_always)
|
|
Karsten Hopp |
090446 |
! AppendToRedobuff(buf);
|
|
Karsten Hopp |
090446 |
}
|
|
Karsten Hopp |
090446 |
else
|
|
Karsten Hopp |
090446 |
#endif
|
|
Karsten Hopp |
090446 |
{
|
|
Karsten Hopp |
090446 |
ins_char(c);
|
|
Karsten Hopp |
090446 |
! if (compl_opt_refresh_always)
|
|
Karsten Hopp |
090446 |
! AppendCharToRedobuff(c);
|
|
Karsten Hopp |
090446 |
}
|
|
Karsten Hopp |
090446 |
|
|
Karsten Hopp |
090446 |
/* If we didn't complete finding matches we must search again. */
|
|
Karsten Hopp |
090446 |
***************
|
|
Karsten Hopp |
090446 |
*** 3481,3487 ****
|
|
Karsten Hopp |
090446 |
ins_compl_restart();
|
|
Karsten Hopp |
090446 |
|
|
Karsten Hopp |
090446 |
/* When 'always' is set, don't reset compl_leader. While completing,
|
|
Karsten Hopp |
090446 |
! * cursor don't point original position, changing compl_leader would
|
|
Karsten Hopp |
090446 |
* break redo. */
|
|
Karsten Hopp |
090446 |
if (!compl_opt_refresh_always)
|
|
Karsten Hopp |
090446 |
{
|
|
Karsten Hopp |
090446 |
--- 3483,3489 ----
|
|
Karsten Hopp |
090446 |
ins_compl_restart();
|
|
Karsten Hopp |
090446 |
|
|
Karsten Hopp |
090446 |
/* When 'always' is set, don't reset compl_leader. While completing,
|
|
Karsten Hopp |
090446 |
! * cursor doesn't point original position, changing compl_leader would
|
|
Karsten Hopp |
090446 |
* break redo. */
|
|
Karsten Hopp |
090446 |
if (!compl_opt_refresh_always)
|
|
Karsten Hopp |
090446 |
{
|
|
Karsten Hopp |
090446 |
*** ../vim-7.3.565/src/version.c 2012-06-20 18:39:12.000000000 +0200
|
|
Karsten Hopp |
090446 |
--- src/version.c 2012-06-20 22:54:27.000000000 +0200
|
|
Karsten Hopp |
090446 |
***************
|
|
Karsten Hopp |
090446 |
*** 716,717 ****
|
|
Karsten Hopp |
090446 |
--- 716,719 ----
|
|
Karsten Hopp |
090446 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
090446 |
+ /**/
|
|
Karsten Hopp |
090446 |
+ 566,
|
|
Karsten Hopp |
090446 |
/**/
|
|
Karsten Hopp |
090446 |
|
|
Karsten Hopp |
090446 |
--
|
|
Karsten Hopp |
090446 |
CVS sux, men don't like commitment
|
|
Karsten Hopp |
090446 |
|
|
Karsten Hopp |
090446 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
090446 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
090446 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
090446 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|