|
Karsten Hopp |
7ca0c8 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
7ca0c8 |
Subject: Patch 7.3.1293
|
|
Karsten Hopp |
7ca0c8 |
Fcc: outbox
|
|
Karsten Hopp |
7ca0c8 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
7ca0c8 |
Mime-Version: 1.0
|
|
Karsten Hopp |
7ca0c8 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
7ca0c8 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
7ca0c8 |
------------
|
|
Karsten Hopp |
7ca0c8 |
|
|
Karsten Hopp |
7ca0c8 |
Patch 7.3.1293
|
|
Karsten Hopp |
7ca0c8 |
Problem: Put in empty buffer cannot be undone.
|
|
Karsten Hopp |
7ca0c8 |
Solution: Save one more line for undo. (Ozaki)
|
|
Karsten Hopp |
7ca0c8 |
Files: src/ops.c
|
|
Karsten Hopp |
7ca0c8 |
|
|
Karsten Hopp |
7ca0c8 |
|
|
Karsten Hopp |
7ca0c8 |
*** ../vim-7.3.1292/src/ops.c 2013-06-29 17:19:20.000000000 +0200
|
|
Karsten Hopp |
7ca0c8 |
--- src/ops.c 2013-07-03 14:16:42.000000000 +0200
|
|
Karsten Hopp |
7ca0c8 |
***************
|
|
Karsten Hopp |
7ca0c8 |
*** 3499,3505 ****
|
|
Karsten Hopp |
7ca0c8 |
++lnum;
|
|
Karsten Hopp |
7ca0c8 |
/* In an empty buffer the empty line is going to be replaced, include
|
|
Karsten Hopp |
7ca0c8 |
* it in the saved lines. */
|
|
Karsten Hopp |
7ca0c8 |
! if ((bufempty() ? u_save(0, 1) : u_save(lnum - 1, lnum)) == FAIL)
|
|
Karsten Hopp |
7ca0c8 |
goto end;
|
|
Karsten Hopp |
7ca0c8 |
#ifdef FEAT_FOLDING
|
|
Karsten Hopp |
7ca0c8 |
if (dir == FORWARD)
|
|
Karsten Hopp |
7ca0c8 |
--- 3499,3505 ----
|
|
Karsten Hopp |
7ca0c8 |
++lnum;
|
|
Karsten Hopp |
7ca0c8 |
/* In an empty buffer the empty line is going to be replaced, include
|
|
Karsten Hopp |
7ca0c8 |
* it in the saved lines. */
|
|
Karsten Hopp |
7ca0c8 |
! if ((bufempty() ? u_save(0, 2) : u_save(lnum - 1, lnum)) == FAIL)
|
|
Karsten Hopp |
7ca0c8 |
goto end;
|
|
Karsten Hopp |
7ca0c8 |
#ifdef FEAT_FOLDING
|
|
Karsten Hopp |
7ca0c8 |
if (dir == FORWARD)
|
|
Karsten Hopp |
7ca0c8 |
*** ../vim-7.3.1292/src/version.c 2013-07-03 14:01:21.000000000 +0200
|
|
Karsten Hopp |
7ca0c8 |
--- src/version.c 2013-07-03 14:19:18.000000000 +0200
|
|
Karsten Hopp |
7ca0c8 |
***************
|
|
Karsten Hopp |
7ca0c8 |
*** 730,731 ****
|
|
Karsten Hopp |
7ca0c8 |
--- 730,733 ----
|
|
Karsten Hopp |
7ca0c8 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
7ca0c8 |
+ /**/
|
|
Karsten Hopp |
7ca0c8 |
+ 1293,
|
|
Karsten Hopp |
7ca0c8 |
/**/
|
|
Karsten Hopp |
7ca0c8 |
|
|
Karsten Hopp |
7ca0c8 |
--
|
|
Karsten Hopp |
7ca0c8 |
ARTHUR: Listen, old crone! Unless you tell us where we can buy a shrubbery,
|
|
Karsten Hopp |
7ca0c8 |
my friend and I will ... we will say "Ni!"
|
|
Karsten Hopp |
7ca0c8 |
CRONE: Do your worst!
|
|
Karsten Hopp |
7ca0c8 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
7ca0c8 |
|
|
Karsten Hopp |
7ca0c8 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
7ca0c8 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
7ca0c8 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
7ca0c8 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|