Blame SOURCES/7.4.521

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