Hi there

I didn't find a test for replacing in virtual edit mode on a 
tab. So I wrote one.

Note that there are tests in test39.in for virtual edit 
mode and tabs, but they do not replace (r).

-- 
Greetings
Elias


-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/testdir/test48.in b/src/testdir/test48.in
--- a/src/testdir/test48.in
+++ b/src/testdir/test48.in
@@ -44,6 +44,10 @@
 /^"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
 "r"
+"r"	
 ab
sd
 abcv6efi.him0kl
 
diff --git a/src/testdir/test48.ok b/src/testdir/test48.ok
--- a/src/testdir/test48.ok
+++ b/src/testdir/test48.ok
@@ -12,6 +12,7 @@
 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

Raspunde prin e-mail lui