4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: The cursor() function doesn't reset the column offset for
13 Solution: Reset the offset to zero. (Helmut Stiegler)
17 *** ../vim-6.2.151/src/eval.c Sun Oct 12 20:20:38 2003
18 --- src/eval.c Mon Nov 10 15:17:37 2003
22 col = get_var_number(&argvars[1]);
24 curwin->w_cursor.col = col - 1;
25 + #ifdef FEAT_VIRTUALEDIT
26 + curwin->w_cursor.coladd = 0;
29 /* Make sure the cursor is in a valid position. */
31 *** ../vim-6.2.151/src/version.c Wed Nov 12 20:44:40 2003
32 --- src/version.c Wed Nov 12 20:46:46 2003
36 { /* Add new patch number below this line */
42 hundred-and-one symptoms of being an internet addict:
43 7. You finally do take that vacation, but only after buying a cellular modem
46 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
47 /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
48 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
49 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///