4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Using winrestview() while 'showcmd' is set causes the cursor to be
12 displayed in the wrong position. (Yakov Lerner)
13 Solution: Set the window topline properly.
17 *** ../vim-7.0.090/src/eval.c Tue Sep 5 12:57:14 2006
18 --- src/eval.c Tue Sep 5 21:21:37 2006
21 curwin->w_curswant = get_dict_number(dict, (char_u *)"curswant");
22 curwin->w_set_curswant = FALSE;
24 ! curwin->w_topline = get_dict_number(dict, (char_u *)"topline");
26 curwin->w_topfill = get_dict_number(dict, (char_u *)"topfill");
29 curwin->w_curswant = get_dict_number(dict, (char_u *)"curswant");
30 curwin->w_set_curswant = FALSE;
32 ! set_topline(curwin, get_dict_number(dict, (char_u *)"topline"));
34 curwin->w_topfill = get_dict_number(dict, (char_u *)"topfill");
36 *** ../vim-7.0.090/src/version.c Tue Sep 5 20:56:11 2006
37 --- src/version.c Wed Sep 6 22:12:31 2006
41 { /* Add new patch number below this line */
47 Shit makes the flowers grow and that's beautiful
49 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
50 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
51 \\\ download, build and distribute -- http://www.A-A-P.org ///
52 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///