1 To: [email protected] |
|
2 Subject: Patch 7.2.059 |
|
3 Fcc: outbox |
|
4 From: Bram Moolenaar <[email protected]> |
|
5 Mime-Version: 1.0 |
|
6 Content-Type: text/plain; charset=ISO-8859-1 |
|
7 Content-Transfer-Encoding: 8bit |
|
8 ------------ |
|
9 |
|
10 Patch 7.2.059 |
|
11 Problem: Diff display is not always updated. |
|
12 Solution: Update the display more often. |
|
13 Files: src/diff.c |
|
14 |
|
15 |
|
16 *** ../vim-7.2.058/src/diff.c Fri Nov 28 21:26:50 2008 |
|
17 --- src/diff.c Fri Nov 28 17:23:35 2008 |
|
18 *************** |
|
19 *** 73,78 **** |
|
20 --- 73,80 ---- |
|
21 { |
|
22 tp->tp_diffbuf[i] = NULL; |
|
23 tp->tp_diff_invalid = TRUE; |
|
24 + if (tp == curtab) |
|
25 + diff_redraw(TRUE); |
|
26 } |
|
27 } |
|
28 } |
|
29 *************** |
|
30 *** 102,107 **** |
|
31 --- 104,110 ---- |
|
32 { |
|
33 curtab->tp_diffbuf[i] = NULL; |
|
34 curtab->tp_diff_invalid = TRUE; |
|
35 + diff_redraw(TRUE); |
|
36 } |
|
37 } |
|
38 } |
|
39 *************** |
|
40 *** 131,136 **** |
|
41 --- 134,140 ---- |
|
42 { |
|
43 curtab->tp_diffbuf[i] = buf; |
|
44 curtab->tp_diff_invalid = TRUE; |
|
45 + diff_redraw(TRUE); |
|
46 return; |
|
47 } |
|
48 |
|
49 *** ../vim-7.2.058/src/version.c Sun Nov 30 12:14:35 2008 |
|
50 --- src/version.c Sun Nov 30 15:13:18 2008 |
|
51 *************** |
|
52 *** 678,679 **** |
|
53 --- 678,681 ---- |
|
54 { /* Add new patch number below this line */ |
|
55 + /**/ |
|
56 + 59, |
|
57 /**/ |
|
58 |
|
59 -- |
|
60 GUARD #2: Wait a minute -- supposing two swallows carried it together? |
|
61 GUARD #1: No, they'd have to have it on a line. |
|
62 GUARD #2: Well, simple! They'd just use a standard creeper! |
|
63 GUARD #1: What, held under the dorsal guiding feathers? |
|
64 GUARD #2: Well, why not? |
|
65 The Quest for the Holy Grail (Monty Python) |
|
66 |
|
67 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ |
|
68 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
|
69 \\\ download, build and distribute -- http://www.A-A-P.org /// |
|
70 \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |
|