jkunstle / rpms / vim

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