]> git.pld-linux.org Git - packages/vim.git/blame - 6.2.389
- updated to 6.2.430
[packages/vim.git] / 6.2.389
CommitLineData
48112765
AG
1To: vim-dev@vim.org
2Subject: Patch 6.2.389
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 6.2.389
11Problem: When working over a slow connection, it's very annoying that the
12 last line is partly drawn and then cleared for every change.
13Solution: Don't redraw the bottom line if no rows were inserted or deleted.
14 Don't draw the line if we know "@" lines will be used.
15Files: src/screen.c
16
17
18*** ../vim-6.2.388/src/screen.c Wed Mar 17 22:18:24 2004
19--- src/screen.c Thu Mar 18 18:47:29 2004
20***************
21*** 1126,1134 ****
22 for (;;)
23 {
24 wp->w_lines[idx] = wp->w_lines[j];
25! /* stop at line that didn't fit */
26! if (bot_start + row + (int)wp->w_lines[j].wl_size
27! > wp->w_height)
28 {
29 wp->w_lines_valid = idx + 1;
30 break;
31--- 1126,1135 ----
32 for (;;)
33 {
34 wp->w_lines[idx] = wp->w_lines[j];
35! /* stop at line that didn't fit, unless it is still
36! * valid (no lines deleted) */
37! if (row > 0 && bot_start + row
38! + (int)wp->w_lines[j].wl_size > wp->w_height)
39 {
40 wp->w_lines_valid = idx + 1;
41 break;
42***************
43*** 1633,1644 ****
44 --fold_count;
45 wp->w_lines[idx].wl_folded = TRUE;
46 wp->w_lines[idx].wl_lastlnum = lnum + fold_count;
47! #ifdef FEAT_SYN_HL
48 did_update = DID_FOLD;
49! #endif
50 }
51 else
52 #endif
53 {
54 #ifdef FEAT_SEARCH_EXTRA
55 prepare_search_hl(wp, lnum);
56--- 1634,1657 ----
57 --fold_count;
58 wp->w_lines[idx].wl_folded = TRUE;
59 wp->w_lines[idx].wl_lastlnum = lnum + fold_count;
60! # ifdef FEAT_SYN_HL
61 did_update = DID_FOLD;
62! # endif
63 }
64 else
65 #endif
66+ if (idx < wp->w_lines_valid
67+ && wp->w_lines[idx].wl_valid
68+ && wp->w_lines[idx].wl_lnum == lnum
69+ && lnum > wp->w_topline
70+ && !(dy_flags & DY_LASTLINE)
71+ && srow + wp->w_lines[idx].wl_size > wp->w_height)
72+ {
73+ /* This line is not going to fit. Don't draw anything here,
74+ * will draw "@ " lines below. */
75+ row = wp->w_height + 1;
76+ }
77+ else
78 {
79 #ifdef FEAT_SEARCH_EXTRA
80 prepare_search_hl(wp, lnum);
81*** ../vim-6.2.388/src/version.c Mon Mar 22 14:41:00 2004
82--- src/version.c Mon Mar 22 14:43:11 2004
83***************
84*** 639,640 ****
85--- 639,642 ----
86 { /* Add new patch number below this line */
87+ /**/
88+ 389,
89 /**/
90
91--
92hundred-and-one symptoms of being an internet addict:
9393. New mail alarm on your palmtop annoys other churchgoers.
94
95 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
96/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
97\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
98 \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
This page took 0.034127 seconds and 4 git commands to generate.