|
Karsten Hopp |
0d6172 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
0d6172 |
Subject: Patch 7.3.803
|
|
Karsten Hopp |
0d6172 |
Fcc: outbox
|
|
Karsten Hopp |
0d6172 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
0d6172 |
Mime-Version: 1.0
|
|
Karsten Hopp |
0d6172 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
0d6172 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
0d6172 |
------------
|
|
Karsten Hopp |
0d6172 |
|
|
Karsten Hopp |
0d6172 |
Patch 7.3.803 (after 7.3.792)
|
|
Karsten Hopp |
0d6172 |
Problem: Substitute with confirmation and then "q" does not replace
|
|
Karsten Hopp |
0d6172 |
anything. (John McGowan)
|
|
Karsten Hopp |
0d6172 |
Solution: Do not break the loop, skip to the end.
|
|
Karsten Hopp |
0d6172 |
Files: src/ex_cmds.c, src/testdir/test80.in, src/testdir/test80.ok
|
|
Karsten Hopp |
0d6172 |
|
|
Karsten Hopp |
0d6172 |
|
|
Karsten Hopp |
0d6172 |
*** ../vim-7.3.802/src/ex_cmds.c 2013-01-30 21:55:45.000000000 +0100
|
|
Karsten Hopp |
0d6172 |
--- src/ex_cmds.c 2013-02-06 18:13:52.000000000 +0100
|
|
Karsten Hopp |
0d6172 |
***************
|
|
Karsten Hopp |
0d6172 |
*** 4878,4884 ****
|
|
Karsten Hopp |
0d6172 |
goto skip;
|
|
Karsten Hopp |
0d6172 |
}
|
|
Karsten Hopp |
0d6172 |
if (got_quit)
|
|
Karsten Hopp |
0d6172 |
! break;
|
|
Karsten Hopp |
0d6172 |
}
|
|
Karsten Hopp |
0d6172 |
|
|
Karsten Hopp |
0d6172 |
/* Move the cursor to the start of the match, so that we can
|
|
Karsten Hopp |
0d6172 |
--- 4878,4884 ----
|
|
Karsten Hopp |
0d6172 |
goto skip;
|
|
Karsten Hopp |
0d6172 |
}
|
|
Karsten Hopp |
0d6172 |
if (got_quit)
|
|
Karsten Hopp |
0d6172 |
! goto skip;
|
|
Karsten Hopp |
0d6172 |
}
|
|
Karsten Hopp |
0d6172 |
|
|
Karsten Hopp |
0d6172 |
/* Move the cursor to the start of the match, so that we can
|
|
Karsten Hopp |
0d6172 |
*** ../vim-7.3.802/src/testdir/test80.in 2013-01-30 17:03:25.000000000 +0100
|
|
Karsten Hopp |
0d6172 |
--- src/testdir/test80.in 2013-02-06 18:21:07.000000000 +0100
|
|
Karsten Hopp |
0d6172 |
***************
|
|
Karsten Hopp |
0d6172 |
*** 153,164 ****
|
|
Karsten Hopp |
0d6172 |
:s/\(^\|,\)\ze\(,\|Y\)/\1N/gc
|
|
Karsten Hopp |
0d6172 |
a:$put =',,Z'
|
|
Karsten Hopp |
0d6172 |
:s/\(^\|,\)\ze\(,\|Z\)/\1N/gc
|
|
Karsten Hopp |
0d6172 |
! yy/^TEST_9
|
|
Karsten Hopp |
0d6172 |
ENDTEST
|
|
Karsten Hopp |
0d6172 |
|
|
Karsten Hopp |
0d6172 |
TEST_9:
|
|
Karsten Hopp |
0d6172 |
|
|
Karsten Hopp |
0d6172 |
STARTTEST
|
|
Karsten Hopp |
0d6172 |
:/^Results/,$wq! test.out
|
|
Karsten Hopp |
0d6172 |
ENDTEST
|
|
Karsten Hopp |
0d6172 |
|
|
Karsten Hopp |
0d6172 |
--- 153,175 ----
|
|
Karsten Hopp |
0d6172 |
:s/\(^\|,\)\ze\(,\|Y\)/\1N/gc
|
|
Karsten Hopp |
0d6172 |
a:$put =',,Z'
|
|
Karsten Hopp |
0d6172 |
:s/\(^\|,\)\ze\(,\|Z\)/\1N/gc
|
|
Karsten Hopp |
0d6172 |
! yy/^TEST_9:
|
|
Karsten Hopp |
0d6172 |
ENDTEST
|
|
Karsten Hopp |
0d6172 |
|
|
Karsten Hopp |
0d6172 |
TEST_9:
|
|
Karsten Hopp |
0d6172 |
|
|
Karsten Hopp |
0d6172 |
STARTTEST
|
|
Karsten Hopp |
0d6172 |
+ :set magic&
|
|
Karsten Hopp |
0d6172 |
+ :set cpo&
|
|
Karsten Hopp |
0d6172 |
+ :$put =\"\n\nTEST_9:\"
|
|
Karsten Hopp |
0d6172 |
+ :$put ='xxx'
|
|
Karsten Hopp |
0d6172 |
+ :s/x/X/gc
|
|
Karsten Hopp |
0d6172 |
+ yyq/^TEST_10:
|
|
Karsten Hopp |
0d6172 |
+ ENDTEST
|
|
Karsten Hopp |
0d6172 |
+
|
|
Karsten Hopp |
0d6172 |
+ TEST_10:
|
|
Karsten Hopp |
0d6172 |
+
|
|
Karsten Hopp |
0d6172 |
+ STARTTEST
|
|
Karsten Hopp |
0d6172 |
:/^Results/,$wq! test.out
|
|
Karsten Hopp |
0d6172 |
ENDTEST
|
|
Karsten Hopp |
0d6172 |
|
|
Karsten Hopp |
0d6172 |
*** ../vim-7.3.802/src/testdir/test80.ok 2013-01-30 17:03:25.000000000 +0100
|
|
Karsten Hopp |
0d6172 |
--- src/testdir/test80.ok 2013-02-06 18:21:16.000000000 +0100
|
|
Karsten Hopp |
0d6172 |
***************
|
|
Karsten Hopp |
0d6172 |
*** 105,107 ****
|
|
Karsten Hopp |
0d6172 |
--- 105,111 ----
|
|
Karsten Hopp |
0d6172 |
N,,NX
|
|
Karsten Hopp |
0d6172 |
N,,NY
|
|
Karsten Hopp |
0d6172 |
N,,NZ
|
|
Karsten Hopp |
0d6172 |
+
|
|
Karsten Hopp |
0d6172 |
+
|
|
Karsten Hopp |
0d6172 |
+ TEST_9:
|
|
Karsten Hopp |
0d6172 |
+ XXx
|
|
Karsten Hopp |
0d6172 |
*** ../vim-7.3.802/src/version.c 2013-02-06 16:26:20.000000000 +0100
|
|
Karsten Hopp |
0d6172 |
--- src/version.c 2013-02-06 18:14:42.000000000 +0100
|
|
Karsten Hopp |
0d6172 |
***************
|
|
Karsten Hopp |
0d6172 |
*** 727,728 ****
|
|
Karsten Hopp |
0d6172 |
--- 727,730 ----
|
|
Karsten Hopp |
0d6172 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
0d6172 |
+ /**/
|
|
Karsten Hopp |
0d6172 |
+ 803,
|
|
Karsten Hopp |
0d6172 |
/**/
|
|
Karsten Hopp |
0d6172 |
|
|
Karsten Hopp |
0d6172 |
--
|
|
Karsten Hopp |
0d6172 |
To the optimist, the glass is half full.
|
|
Karsten Hopp |
0d6172 |
To the pessimist, the glass is half empty.
|
|
Karsten Hopp |
0d6172 |
To the engineer, the glass is twice as big as it needs to be.
|
|
Karsten Hopp |
0d6172 |
|
|
Karsten Hopp |
0d6172 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
0d6172 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
0d6172 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
0d6172 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|