# HG changeset patch # User Bram Moolenaar # Date 1308523558 -7200 # Node ID c6df8554b39d009ed146baa48c0cfb351aa8379a # Parent a60195a0588471b1cfda0bfc2f8a5dac14d832af 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) diff --git a/src/normal.c b/src/normal.c --- a/src/normal.c +++ b/src/normal.c @@ -4533,6 +4533,7 @@ nv_screengo(oap, dir, dist) } curwin->w_cursor.lnum++; curwin->w_curswant %= width2; + linelen = linetabsize(ml_get_curline()); } } } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -710,6 +710,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 228, +/**/ 227, /**/ 226,