diff src/normal.c @ 5365:22dfcd1494e4 v7.4.034

updated for version 7.4.034 Problem: Using "p" in Visual block mode only changes the first line. Solution: Repeat the put in all text in the block. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Sun, 22 Sep 2013 15:23:44 +0200
parents c28202427d71
children 6daa78b6b99a
line wrap: on
line diff
--- a/src/normal.c
+++ b/src/normal.c
@@ -9518,6 +9518,8 @@ nv_put(cap)
 		/* cursor is at the end of the line or end of file, put
 		 * forward. */
 		dir = FORWARD;
+	    /* May have been reset in do_put(). */
+	    VIsual_active = TRUE;
 	}
 #endif
 	do_put(cap->oap->regname, dir, cap->count1, flags);