0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

updated for version 7.4a.022

Problem:    Using "d2g$" does not delete the last character. (ZyX)
Solution:   Set the "inclusive" flag properly.
This commit is contained in:
Bram Moolenaar
2013-07-14 13:32:15 +02:00
parent ff52518969
commit 91b2bdb083
2 changed files with 3 additions and 1 deletions

View File

@@ -4545,7 +4545,7 @@ nv_screengo(oap, dir, dist)
int width2; /* test width for wrapped screen line */ int width2; /* test width for wrapped screen line */
oap->motion_type = MCHAR; oap->motion_type = MCHAR;
oap->inclusive = FALSE; oap->inclusive = (curwin->w_curswant == MAXCOL);
col_off1 = curwin_col_off(); col_off1 = curwin_col_off();
col_off2 = col_off1 - curwin_col_off2(); col_off2 = col_off1 - curwin_col_off2();

View File

@@ -727,6 +727,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
22,
/**/ /**/
21, 21,
/**/ /**/