|
Karsten Hopp |
07a99f |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
07a99f |
Subject: Patch 7.4.097
|
|
Karsten Hopp |
07a99f |
Fcc: outbox
|
|
Karsten Hopp |
07a99f |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
07a99f |
Mime-Version: 1.0
|
|
Karsten Hopp |
07a99f |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
07a99f |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
07a99f |
------------
|
|
Karsten Hopp |
07a99f |
|
|
Karsten Hopp |
07a99f |
Patch 7.4.097 (after 7.4.034)
|
|
Karsten Hopp |
07a99f |
Problem: Unexpected behavior change related to 'virtualedit'. (Ingo Karkat)
|
|
Karsten Hopp |
07a99f |
Solution: Update the valid cursor position. (Christian Brabandt)
|
|
Karsten Hopp |
07a99f |
Files: src/ops.c
|
|
Karsten Hopp |
07a99f |
|
|
Karsten Hopp |
07a99f |
|
|
Karsten Hopp |
07a99f |
*** ../vim-7.4.096/src/ops.c 2013-11-11 23:17:31.000000000 +0100
|
|
Karsten Hopp |
07a99f |
--- src/ops.c 2013-11-21 13:21:24.000000000 +0100
|
|
Karsten Hopp |
07a99f |
***************
|
|
Karsten Hopp |
07a99f |
*** 3844,3850 ****
|
|
Karsten Hopp |
07a99f |
--- 3844,3854 ----
|
|
Karsten Hopp |
07a99f |
ml_replace(lnum, newp, FALSE);
|
|
Karsten Hopp |
07a99f |
/* Place cursor on last putted char. */
|
|
Karsten Hopp |
07a99f |
if (lnum == curwin->w_cursor.lnum)
|
|
Karsten Hopp |
07a99f |
+ {
|
|
Karsten Hopp |
07a99f |
+ /* make sure curwin->w_virtcol is updated */
|
|
Karsten Hopp |
07a99f |
+ changed_cline_bef_curs();
|
|
Karsten Hopp |
07a99f |
curwin->w_cursor.col += (colnr_T)(totlen - 1);
|
|
Karsten Hopp |
07a99f |
+ }
|
|
Karsten Hopp |
07a99f |
}
|
|
Karsten Hopp |
07a99f |
#ifdef FEAT_VISUAL
|
|
Karsten Hopp |
07a99f |
if (VIsual_active)
|
|
Karsten Hopp |
07a99f |
*** ../vim-7.4.096/src/version.c 2013-11-21 12:34:07.000000000 +0100
|
|
Karsten Hopp |
07a99f |
--- src/version.c 2013-11-21 13:08:27.000000000 +0100
|
|
Karsten Hopp |
07a99f |
***************
|
|
Karsten Hopp |
07a99f |
*** 740,741 ****
|
|
Karsten Hopp |
07a99f |
--- 740,743 ----
|
|
Karsten Hopp |
07a99f |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
07a99f |
+ /**/
|
|
Karsten Hopp |
07a99f |
+ 97,
|
|
Karsten Hopp |
07a99f |
/**/
|
|
Karsten Hopp |
07a99f |
|
|
Karsten Hopp |
07a99f |
--
|
|
Karsten Hopp |
07a99f |
The only way the average employee can speak to an executive is by taking a
|
|
Karsten Hopp |
07a99f |
second job as a golf caddie.
|
|
Karsten Hopp |
07a99f |
(Scott Adams - The Dilbert principle)
|
|
Karsten Hopp |
07a99f |
|
|
Karsten Hopp |
07a99f |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
07a99f |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
07a99f |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
07a99f |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|