updated for version 7.3.858
Problem: "gv" selects the wrong area after some operators.
Solution: Save and restore the type of selection. (Christian Brabandt)
diff --git a/src/testdir/test66.in b/src/testdir/test66.in
index 113b540..f1fdce3 100644
--- a/src/testdir/test66.in
+++ b/src/testdir/test66.in
@@ -3,12 +3,14 @@
STARTTEST
:so small.vim
+/^one
+fe4jRugvr1:'<,'>w! test.out
/^abcdefgh
4jI j<<11|D
7|a
7|a
7|a 4k13|4j<
-:$-4,$w! test.out
+:$-5,$w >> test.out
:$-4,$s/\s\+//g
4kI j<<
7|a
@@ -18,6 +20,12 @@
:qa!
ENDTEST
+one two three
+one two three
+one two three
+one two three
+one two three
+
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz