Problem: Visual selection does not remain after being copied over. (Axel
Bender)
Solution: Move when VIsual_active is reset. (Christian Brabandt)
FALSE /* stop after 1 paste */
#endif
);
-#ifdef FEAT_VISUAL
- VIsual_active = FALSE;
-#endif
curbuf->b_op_end = curwin->w_cursor;
/* For "CTRL-O p" in Insert mode, put cursor after last char */
if (regname == '=')
vim_free(y_array);
+#ifdef FEAT_VISUAL
+ VIsual_active = FALSE;
+#endif
+
/* If the cursor is past the end of the line put it at the end. */
adjust_cursor_eol();
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 41,
/**/
40,
/**/