changeset 6468:9dc52b404c1b v7.4.563

updated for version 7.4.563 Problem: No test for replacing on a tab in Virtual replace mode. Solution: Add a test. (Elias Diem)
author Bram Moolenaar <bram@vim.org>
date Wed, 07 Jan 2015 14:02:52 +0100
parents 4423a99276bd
children 9cb37f9ff290
files src/testdir/test48.in src/testdir/test48.ok src/version.c
diffstat 3 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test48.in
+++ b/src/testdir/test48.in
@@ -44,6 +44,10 @@ C
are belong to vim
 /^"r"
 $5lrxa<-- should be 'x'
 :"
+:" Test "r" on a tab
+:" Note that for this test, 'ts' must be 8 (the default).
+^5lrxA<-- should be '  x  '
+:"
 :"   Test to make sure 'x' can delete control characters
 :set display=uhex
 ^xxxxxxi[This line should contain only the text between the brackets.]
@@ -72,6 +76,7 @@ this is a test
 this is a test
 this is a test
 "r"
+"r"	
 ab
sd
 abcv6efi.him0kl
 
--- a/src/testdir/test48.ok
+++ b/src/testdir/test48.ok
@@ -12,6 +12,7 @@ this is a test
 this is a test
 this is a test
 "r"    x<-- should be 'x'
+"r"  x  <-- should be '  x  '
 [This line should contain only the text between the brackets.]
    v   i   m   <-- should show the name of a noted text editor
     6   .   0   <-- and its version number
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    563,
+/**/
     562,
 /**/
     561,