]> git.pld-linux.org Git - packages/vim.git/blob - 6.2.059
- initial import
[packages/vim.git] / 6.2.059
1 To: vim-dev@vim.org
2 Subject: Patch 6.2.059
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 6.2.059
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.
14             (Yakov Lerner)
15 Solution:   Don't skip redrawing part of the window when it was scrolled.
16 Files:      src/screen.c
17
18
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
21 ***************
22 *** 372,378 ****
23                 if (W_WINROW(wp) < msg_scrolled)
24                 {
25                     if (W_WINROW(wp) + wp->w_height > msg_scrolled
26 !                           && wp->w_redr_type < REDRAW_TOP)
27                     {
28                         wp->w_upd_rows = msg_scrolled - W_WINROW(wp);
29                         wp->w_redr_type = REDRAW_TOP;
30 --- 372,380 ----
31                 if (W_WINROW(wp) < msg_scrolled)
32                 {
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)
37                     {
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
42 ***************
43 *** 632,633 ****
44 --- 632,635 ----
45   {   /* Add new patch number below this line */
46 + /**/
47 +     59,
48   /**/
49
50 -- 
51 Those who live by the sword get shot by those who don't.
52
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  ///
This page took 0.02703 seconds and 3 git commands to generate.