]>
Commit | Line | Data |
---|---|---|
1 | To: vim-dev@vim.org | |
2 | Subject: Patch 7.1.267 | |
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.267 | |
11 | Problem: When changing folds cursor may be positioned in the wrong place. | |
12 | Solution: Call changed_window_setting_win() instead of | |
13 | changed_window_setting(). | |
14 | Files: src/fold.c | |
15 | ||
16 | ||
17 | *** ../vim-7.1.266/src/fold.c Sun Jan 13 21:57:25 2008 | |
18 | --- src/fold.c Wed Mar 5 12:48:43 2008 | |
19 | *************** | |
20 | *** 2307,2313 **** | |
21 | ||
22 | /* If some fold changed, need to redraw and position cursor. */ | |
23 | if (fold_changed && wp->w_p_fen) | |
24 | ! changed_window_setting(); | |
25 | ||
26 | /* If we updated folds past "bot", need to redraw more lines. Don't do | |
27 | * this in other situations, the changed lines will be redrawn anyway and | |
28 | --- 2307,2313 ---- | |
29 | ||
30 | /* If some fold changed, need to redraw and position cursor. */ | |
31 | if (fold_changed && wp->w_p_fen) | |
32 | ! changed_window_setting_win(wp); | |
33 | ||
34 | /* If we updated folds past "bot", need to redraw more lines. Don't do | |
35 | * this in other situations, the changed lines will be redrawn anyway and | |
36 | *** ../vim-7.1.266/src/version.c Wed Feb 27 16:13:09 2008 | |
37 | --- src/version.c Thu Mar 6 22:43:05 2008 | |
38 | *************** | |
39 | *** 668,669 **** | |
40 | --- 668,671 ---- | |
41 | { /* Add new patch number below this line */ | |
42 | + /**/ | |
43 | + 267, | |
44 | /**/ | |
45 | ||
46 | -- | |
47 | From "know your smileys": | |
48 | % Bike accident. A bit far-fetched, I suppose; although... | |
49 | o _ _ _ | |
50 | _o /\_ _ \\o (_)\__/o (_) | |
51 | _< \_ _>(_) (_)/<_ \_| \ _|/' \/ | |
52 | (_)>(_) (_) (_) (_) (_)' _\o_ | |
53 | ||
54 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
55 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
56 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
57 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |