4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: When 'scrolloff' is a large number and listing completion results
12 on the command line, then executing a command that jumps close to
13 where the cursor was before, part of the screen is not updated.
15 Solution: Don't skip redrawing part of the window when it was scrolled.
19 *** ../vim-6.2.058/src/screen.c Thu May 29 22:55:37 2003
20 --- src/screen.c Mon Aug 4 20:49:14 2003
23 if (W_WINROW(wp) < msg_scrolled)
25 if (W_WINROW(wp) + wp->w_height > msg_scrolled
26 ! && wp->w_redr_type < REDRAW_TOP)
28 wp->w_upd_rows = msg_scrolled - W_WINROW(wp);
29 wp->w_redr_type = REDRAW_TOP;
31 if (W_WINROW(wp) < msg_scrolled)
33 if (W_WINROW(wp) + wp->w_height > msg_scrolled
34 ! && wp->w_redr_type < REDRAW_TOP
35 ! && wp->w_lines_valid > 0
36 ! && wp->w_topline == wp->w_lines[0].wl_lnum)
38 wp->w_upd_rows = msg_scrolled - W_WINROW(wp);
39 wp->w_redr_type = REDRAW_TOP;
40 *** ../vim-6.2.058/src/version.c Sun Aug 3 12:24:50 2003
41 --- src/version.c Mon Aug 4 20:52:11 2003
45 { /* Add new patch number below this line */
51 Those who live by the sword get shot by those who don't.
53 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
54 /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
55 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
56 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///