]> git.pld-linux.org Git - packages/vim.git/blame - 7.1.085
- typo
[packages/vim.git] / 7.1.085
CommitLineData
0a7814d6
AG
1To: vim-dev@vim.org
2Subject: patch 7.1.085
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 7.1.085
11Problem: ":e fold.c" then ":sp fold.c" results in folds of original window
12 to disappear. (Akita Noek)
13Solution: Invoke foldUpdateAll() for all windows of the changed buffer.
14 (Martin Toft)
15Files: src/ex_cmds.c
16
17
18*** ../vim-7.1.084/src/ex_cmds.c Tue Aug 21 15:05:54 2007
19--- src/ex_cmds.c Tue Aug 21 15:02:43 2007
20***************
21*** 2974,2980 ****
22 * 'fnum' is the number of the file, if zero use ffname/sfname.
23 *
24 * Return 1 for "normal" error, 2 for "not written" error, 0 for success
25! * -1 for succesfully opening another file.
26 * 'lnum' is the line number for the cursor in the new file (if non-zero).
27 */
28 int
29--- 2974,2980 ----
30 * 'fnum' is the number of the file, if zero use ffname/sfname.
31 *
32 * Return 1 for "normal" error, 2 for "not written" error, 0 for success
33! * -1 for successfully opening another file.
34 * 'lnum' is the line number for the cursor in the new file (if non-zero).
35 */
36 int
37***************
38*** 3584,3592 ****
39 curwin_init();
40
41 #ifdef FEAT_FOLDING
42! /* It's like all lines in the buffer changed. Need to update
43! * automatic folding. */
44 foldUpdateAll(curwin);
45 #endif
46
47 /* Change directories when the 'acd' option is set. */
48--- 3584,3603 ----
49 curwin_init();
50
51 #ifdef FEAT_FOLDING
52! /* It's possible that all lines in the buffer changed. Need to update
53! * automatic folding for all windows where it's used. */
54! # ifdef FEAT_WINDOWS
55! {
56! win_T *win;
57! tabpage_T *tp;
58!
59! FOR_ALL_TAB_WINDOWS(tp, win)
60! if (win->w_buffer == curbuf)
61! foldUpdateAll(win);
62! }
63! # else
64 foldUpdateAll(curwin);
65+ # endif
66 #endif
67
68 /* Change directories when the 'acd' option is set. */
69*** ../vim-7.1.084/src/version.c Tue Aug 21 15:05:54 2007
70--- src/version.c Tue Aug 21 15:26:43 2007
71***************
72*** 668,669 ****
73--- 668,671 ----
74 { /* Add new patch number below this line */
75+ /**/
76+ 85,
77 /**/
78
79--
80Your fault: core dumped
81
82 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
83/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
84\\\ download, build and distribute -- http://www.A-A-P.org ///
85 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.113849 seconds and 4 git commands to generate.