1
0
forked from aniani/vim

updated for version 7.3.228

Problem:    "2gj" does not always move to the correct position.
Solution:   Get length of line after moving to a next line. (James Vega)
This commit is contained in:
Bram Moolenaar 2011-06-20 00:45:58 +02:00
parent 54b08a5e78
commit 914968e66d
2 changed files with 3 additions and 0 deletions

View File

@ -4533,6 +4533,7 @@ nv_screengo(oap, dir, dist)
}
curwin->w_cursor.lnum++;
curwin->w_curswant %= width2;
linelen = linetabsize(ml_get_curline());
}
}
}

View File

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