]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.284
- updated to 7.2.330
[packages/vim.git] / 7.2.284
CommitLineData
c936e692
AG
1To: vim-dev@vim.org
2Subject: Patch 7.2.284
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.2.284
11Problem: When editing the same buffer in two windows, one with folding,
12 display may be wrong after changes.
13Solution: Call set_topline() to take care of side effects. (Lech Lorens)
14Files: src/misc1.c
15
16
17*** ../vim-7.2.283/src/misc1.c 2009-07-22 11:03:38.000000000 +0200
18--- src/misc1.c 2009-11-03 18:38:15.000000000 +0100
19***************
20*** 2886,2891 ****
21--- 2886,2898 ----
22 }
23 #endif
24 }
25+
26+ #ifdef FEAT_FOLDING
27+ /* Take care of side effects for setting w_topline when folds have
28+ * changed. Esp. when the buffer was changed in another window. */
29+ if (hasAnyFolding(wp))
30+ set_topline(wp, wp->w_topline);
31+ #endif
32 }
33 }
34
35*** ../vim-7.2.283/src/version.c 2009-11-03 18:13:36.000000000 +0100
36--- src/version.c 2009-11-03 18:44:12.000000000 +0100
37***************
38*** 678,679 ****
39--- 678,681 ----
40 { /* Add new patch number below this line */
41+ /**/
42+ 284,
43 /**/
44
45--
46Men may not be seen publicly in any kind of strapless gown.
47 [real standing law in Florida, United States of America]
48
49 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
50/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
51\\\ download, build and distribute -- http://www.A-A-P.org ///
52 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.033194 seconds and 4 git commands to generate.