|
|
073263 |
To: vim_dev@googlegroups.com
|
|
|
073263 |
Subject: Patch 7.4.521
|
|
|
073263 |
Fcc: outbox
|
|
|
073263 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
073263 |
Mime-Version: 1.0
|
|
|
073263 |
Content-Type: text/plain; charset=UTF-8
|
|
|
073263 |
Content-Transfer-Encoding: 8bit
|
|
|
073263 |
------------
|
|
|
073263 |
|
|
|
073263 |
Patch 7.4.521
|
|
|
073263 |
Problem: When using "vep" a mark is moved to the next line. (Maxi Padulo,
|
|
|
073263 |
Issue 283)
|
|
|
073263 |
Solution: Decrement the line number. (Christian Brabandt)
|
|
|
073263 |
Files: src/ops.c
|
|
|
073263 |
|
|
|
073263 |
|
|
|
073263 |
*** ../vim-7.4.520/src/ops.c 2014-08-16 18:36:38.593993280 +0200
|
|
|
073263 |
--- src/ops.c 2014-11-19 17:29:55.697280694 +0100
|
|
|
073263 |
***************
|
|
|
073263 |
*** 3831,3836 ****
|
|
|
073263 |
--- 3831,3839 ----
|
|
|
073263 |
lnum++;
|
|
|
073263 |
} while (VIsual_active && lnum <= curbuf->b_visual.vi_end.lnum);
|
|
|
073263 |
|
|
|
073263 |
+ if (VIsual_active) /* reset lnum to the last visual line */
|
|
|
073263 |
+ lnum--;
|
|
|
073263 |
+
|
|
|
073263 |
curbuf->b_op_end = curwin->w_cursor;
|
|
|
073263 |
/* For "CTRL-O p" in Insert mode, put cursor after last char */
|
|
|
073263 |
if (totlen && (restart_edit != 0 || (flags & PUT_CURSEND)))
|
|
|
073263 |
*** ../vim-7.4.520/src/version.c 2014-11-19 17:05:52.209648533 +0100
|
|
|
073263 |
--- src/version.c 2014-11-19 17:30:30.220890822 +0100
|
|
|
073263 |
***************
|
|
|
073263 |
*** 743,744 ****
|
|
|
073263 |
--- 743,746 ----
|
|
|
073263 |
{ /* Add new patch number below this line */
|
|
|
073263 |
+ /**/
|
|
|
073263 |
+ 521,
|
|
|
073263 |
/**/
|
|
|
073263 |
|
|
|
073263 |
--
|
|
|
073263 |
BEDEVERE: How do you know so much about swallows?
|
|
|
073263 |
ARTHUR: Well you have to know these things when you're a king, you know.
|
|
|
073263 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
|
073263 |
|
|
|
073263 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
073263 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
073263 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
073263 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|