From cafaa8a9502f64d5c23e51c1f89c5b322deb22fe Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 21 Nov 2013 14:40:04 +0100 Subject: updated for version 7.4.099 Problem: Append in blockwise Visual mode with "$" is wrong. Solution: After "$" don't use the code that checks if the cursor was moved. (Hirohito Higashi, Ken Takata) --- src/testdir/test39.in | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'src/testdir/test39.in') diff --git a/src/testdir/test39.in b/src/testdir/test39.in index 77e2bd768..4f42a13a5 100644 --- a/src/testdir/test39.in +++ b/src/testdir/test39.in @@ -23,6 +23,18 @@ G$khhhhhkkcmno /^aaaa/ :exe ":norm! l\jjjlllI\\ \" :/^aa/,/^$/w >> test.out +:" Test for Visual block was created with the last $ +/^A23$/ +:exe ":norm! l\j$Aab\" +:.,/^$/w >> test.out +:" Test for Visual block was created with the middle $ (1) +/^B23$/ +:exe ":norm! l\j$hAab\" +:.,/^$/w >> test.out +:" Test for Visual block was created with the middle $ (2) +/^C23$/ +:exe ":norm! l\j$hhAab\" +:.,/^$/w >> test.out :" gUe must uppercase a whole word, also when ß changes to SS Gothe youtußeuu endYpk0wgUe :" gUfx must uppercase until x, inclusive. @@ -49,6 +61,15 @@ bbbbbb cccccc dddddd +A23 +4567 + +B23 +4567 + +C23 +4567 + abcdefghijklm abcdefghijklm abcdefghijklm -- cgit v1.2.3