|
Karsten Hopp |
397507 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
397507 |
Subject: Patch 7.3.1253
|
|
Karsten Hopp |
397507 |
Fcc: outbox
|
|
Karsten Hopp |
397507 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
397507 |
Mime-Version: 1.0
|
|
Karsten Hopp |
397507 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
397507 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
397507 |
------------
|
|
Karsten Hopp |
397507 |
|
|
Karsten Hopp |
397507 |
Patch 7.3.1253 (after 7.3.1200)
|
|
Karsten Hopp |
397507 |
Problem: Still undo problem after using CTRL-R = setline(). (Hirohito
|
|
Karsten Hopp |
397507 |
Higashi)
|
|
Karsten Hopp |
397507 |
Solution: Set the ins_need_undo flag.
|
|
Karsten Hopp |
397507 |
Files: src/edit.c
|
|
Karsten Hopp |
397507 |
|
|
Karsten Hopp |
397507 |
|
|
Karsten Hopp |
397507 |
*** ../vim-7.3.1252/src/edit.c 2013-06-15 17:54:36.000000000 +0200
|
|
Karsten Hopp |
397507 |
--- src/edit.c 2013-06-27 22:21:08.000000000 +0200
|
|
Karsten Hopp |
397507 |
***************
|
|
Karsten Hopp |
397507 |
*** 8134,8148 ****
|
|
Karsten Hopp |
397507 |
# ifdef USE_IM_CONTROL
|
|
Karsten Hopp |
397507 |
int im_on = im_get_status();
|
|
Karsten Hopp |
397507 |
# endif
|
|
Karsten Hopp |
397507 |
regname = get_expr_register();
|
|
Karsten Hopp |
397507 |
# ifdef USE_IM_CONTROL
|
|
Karsten Hopp |
397507 |
/* Restore the Input Method. */
|
|
Karsten Hopp |
397507 |
if (im_on)
|
|
Karsten Hopp |
397507 |
im_set_active(TRUE);
|
|
Karsten Hopp |
397507 |
# endif
|
|
Karsten Hopp |
397507 |
! if (regname == '=')
|
|
Karsten Hopp |
397507 |
! /* sync undo, so the effect of e.g., setline() can be undone */
|
|
Karsten Hopp |
397507 |
! u_sync(TRUE);
|
|
Karsten Hopp |
397507 |
}
|
|
Karsten Hopp |
397507 |
if (regname == NUL || !valid_yank_reg(regname, FALSE))
|
|
Karsten Hopp |
397507 |
{
|
|
Karsten Hopp |
397507 |
--- 8134,8150 ----
|
|
Karsten Hopp |
397507 |
# ifdef USE_IM_CONTROL
|
|
Karsten Hopp |
397507 |
int im_on = im_get_status();
|
|
Karsten Hopp |
397507 |
# endif
|
|
Karsten Hopp |
397507 |
+ /* Sync undo, so the effect of e.g., setline() can be undone. */
|
|
Karsten Hopp |
397507 |
+ u_sync(TRUE);
|
|
Karsten Hopp |
397507 |
+ ins_need_undo = TRUE;
|
|
Karsten Hopp |
397507 |
+
|
|
Karsten Hopp |
397507 |
regname = get_expr_register();
|
|
Karsten Hopp |
397507 |
# ifdef USE_IM_CONTROL
|
|
Karsten Hopp |
397507 |
/* Restore the Input Method. */
|
|
Karsten Hopp |
397507 |
if (im_on)
|
|
Karsten Hopp |
397507 |
im_set_active(TRUE);
|
|
Karsten Hopp |
397507 |
# endif
|
|
Karsten Hopp |
397507 |
! Insstart = curwin->w_cursor;
|
|
Karsten Hopp |
397507 |
}
|
|
Karsten Hopp |
397507 |
if (regname == NUL || !valid_yank_reg(regname, FALSE))
|
|
Karsten Hopp |
397507 |
{
|
|
Karsten Hopp |
397507 |
*** ../vim-7.3.1252/src/version.c 2013-06-27 22:01:56.000000000 +0200
|
|
Karsten Hopp |
397507 |
--- src/version.c 2013-06-27 22:13:02.000000000 +0200
|
|
Karsten Hopp |
397507 |
***************
|
|
Karsten Hopp |
397507 |
*** 730,731 ****
|
|
Karsten Hopp |
397507 |
--- 730,733 ----
|
|
Karsten Hopp |
397507 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
397507 |
+ /**/
|
|
Karsten Hopp |
397507 |
+ 1253,
|
|
Karsten Hopp |
397507 |
/**/
|
|
Karsten Hopp |
397507 |
|
|
Karsten Hopp |
397507 |
--
|
|
Karsten Hopp |
397507 |
LAUNCELOT leaps into SHOT with a mighty cry and runs the GUARD through and
|
|
Karsten Hopp |
397507 |
hacks him to the floor. Blood. Swashbuckling music (perhaps).
|
|
Karsten Hopp |
397507 |
LAUNCELOT races through into the castle screaming.
|
|
Karsten Hopp |
397507 |
SECOND SENTRY: Hey!
|
|
Karsten Hopp |
397507 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
397507 |
|
|
Karsten Hopp |
397507 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
397507 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
397507 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
397507 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|