|
|
dcaee6 |
To: vim_dev@googlegroups.com
|
|
|
dcaee6 |
Subject: Patch 7.4.041
|
|
|
dcaee6 |
Fcc: outbox
|
|
|
dcaee6 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
dcaee6 |
Mime-Version: 1.0
|
|
|
dcaee6 |
Content-Type: text/plain; charset=UTF-8
|
|
|
dcaee6 |
Content-Transfer-Encoding: 8bit
|
|
|
dcaee6 |
------------
|
|
|
dcaee6 |
|
|
|
dcaee6 |
Patch 7.4.041 (after 7.4.034)
|
|
|
dcaee6 |
Problem: Visual selection does not remain after being copied over. (Axel
|
|
|
dcaee6 |
Bender)
|
|
|
dcaee6 |
Solution: Move when VIsual_active is reset. (Christian Brabandt)
|
|
|
dcaee6 |
Files: src/ops.c
|
|
|
dcaee6 |
|
|
|
dcaee6 |
|
|
|
dcaee6 |
*** ../vim-7.4.040/src/ops.c 2013-09-22 15:23:38.000000000 +0200
|
|
|
dcaee6 |
--- src/ops.c 2013-09-25 23:20:37.000000000 +0200
|
|
|
dcaee6 |
***************
|
|
|
dcaee6 |
*** 3808,3816 ****
|
|
|
dcaee6 |
FALSE /* stop after 1 paste */
|
|
|
dcaee6 |
#endif
|
|
|
dcaee6 |
);
|
|
|
dcaee6 |
- #ifdef FEAT_VISUAL
|
|
|
dcaee6 |
- VIsual_active = FALSE;
|
|
|
dcaee6 |
- #endif
|
|
|
dcaee6 |
|
|
|
dcaee6 |
curbuf->b_op_end = curwin->w_cursor;
|
|
|
dcaee6 |
/* For "CTRL-O p" in Insert mode, put cursor after last char */
|
|
|
dcaee6 |
--- 3808,3813 ----
|
|
|
dcaee6 |
***************
|
|
|
dcaee6 |
*** 3972,3977 ****
|
|
|
dcaee6 |
--- 3969,3978 ----
|
|
|
dcaee6 |
if (regname == '=')
|
|
|
dcaee6 |
vim_free(y_array);
|
|
|
dcaee6 |
|
|
|
dcaee6 |
+ #ifdef FEAT_VISUAL
|
|
|
dcaee6 |
+ VIsual_active = FALSE;
|
|
|
dcaee6 |
+ #endif
|
|
|
dcaee6 |
+
|
|
|
dcaee6 |
/* If the cursor is past the end of the line put it at the end. */
|
|
|
dcaee6 |
adjust_cursor_eol();
|
|
|
dcaee6 |
}
|
|
|
dcaee6 |
*** ../vim-7.4.040/src/version.c 2013-09-25 21:00:24.000000000 +0200
|
|
|
dcaee6 |
--- src/version.c 2013-09-25 23:20:46.000000000 +0200
|
|
|
dcaee6 |
***************
|
|
|
dcaee6 |
*** 740,741 ****
|
|
|
dcaee6 |
--- 740,743 ----
|
|
|
dcaee6 |
{ /* Add new patch number below this line */
|
|
|
dcaee6 |
+ /**/
|
|
|
dcaee6 |
+ 41,
|
|
|
dcaee6 |
/**/
|
|
|
dcaee6 |
|
|
|
dcaee6 |
|
|
|
dcaee6 |
--
|
|
|
dcaee6 |
press CTRL-ALT-DEL for more information
|
|
|
dcaee6 |
|
|
|
dcaee6 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
dcaee6 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
dcaee6 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
dcaee6 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|