]>
Commit | Line | Data |
---|---|---|
25f687b8 AM |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.1.144 | |
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 7.1.144 | |
11 | Problem: After ":diffup" cursor can be in the wrong position. | |
12 | Solution: Force recomputing the cursor position. | |
13 | Files: src/diff.c | |
14 | ||
15 | ||
16 | *** ../vim-7.1.143/src/diff.c Fri Oct 19 17:32:58 2007 | |
17 | --- src/diff.c Fri Oct 19 18:54:13 2007 | |
18 | *************** | |
19 | *** 791,796 **** | |
20 | --- 791,799 ---- | |
21 | } | |
22 | mch_remove(tmp_orig); | |
23 | ||
24 | + /* force updating cursor position on screen */ | |
25 | + curwin->w_valid_cursor.lnum = 0; | |
26 | + | |
27 | diff_redraw(TRUE); | |
28 | ||
29 | theend: | |
30 | *** ../vim-7.1.143/src/version.c Fri Oct 19 17:32:58 2007 | |
31 | --- src/version.c Fri Oct 19 18:56:49 2007 | |
32 | *************** | |
33 | *** 668,669 **** | |
34 | --- 668,671 ---- | |
35 | { /* Add new patch number below this line */ | |
36 | + /**/ | |
37 | + 144, | |
38 | /**/ | |
39 | ||
40 | -- | |
41 | He who laughs last, thinks slowest. | |
42 | ||
43 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
44 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
45 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
46 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |