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