]> git.pld-linux.org Git - packages/vim.git/blame - 7.0.196
- updated to 1.15
[packages/vim.git] / 7.0.196
CommitLineData
9b1d76b7
AG
1To: vim-dev@vim.org
2Subject: patch 7.0.196
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.0.196
11Problem: When using ":vert ball" the computation of the mouse pointer
12 position may be off by one column. (Stefan Karlsson)
13Solution: Recompute the frame width when moving the vertical separator from
14 one window to another.
15Files: src/window.c
16
17
18*** ../vim-7.0.195/src/window.c Tue Nov 21 20:57:21 2006
19--- src/window.c Tue Feb 20 00:16:35 2007
20***************
21*** 1541,1548 ****
22 win1->w_prev->w_status_height = win1->w_status_height;
23 win1->w_status_height = height;
24 #ifdef FEAT_VERTSPLIT
25! win1->w_prev->w_vsep_width = 0;
26! win1->w_vsep_width = 1;
27 #endif
28 }
29 else if (win2 == lastwin)
30--- 1541,1555 ----
31 win1->w_prev->w_status_height = win1->w_status_height;
32 win1->w_status_height = height;
33 #ifdef FEAT_VERTSPLIT
34! if (win1->w_prev->w_vsep_width == 1)
35! {
36! /* Remove the vertical separator from the last-but-one window,
37! * add it to the last window. Adjust the frame widths. */
38! win1->w_prev->w_vsep_width = 0;
39! win1->w_prev->w_frame->fr_width -= 1;
40! win1->w_vsep_width = 1;
41! win1->w_frame->fr_width += 1;
42! }
43 #endif
44 }
45 else if (win2 == lastwin)
46***************
47*** 1551,1558 ****
48 win1->w_status_height = win2->w_status_height;
49 win2->w_status_height = height;
50 #ifdef FEAT_VERTSPLIT
51! win2->w_vsep_width = 1;
52! win1->w_vsep_width = 0;
53 #endif
54 }
55 win_remove(win1, NULL);
56--- 1558,1572 ----
57 win1->w_status_height = win2->w_status_height;
58 win2->w_status_height = height;
59 #ifdef FEAT_VERTSPLIT
60! if (win1->w_vsep_width == 1)
61! {
62! /* Remove the vertical separator from win1, add it to the last
63! * window, win2. Adjust the frame widths. */
64! win2->w_vsep_width = 1;
65! win2->w_frame->fr_width += 1;
66! win1->w_vsep_width = 0;
67! win1->w_frame->fr_width -= 1;
68! }
69 #endif
70 }
71 win_remove(win1, NULL);
72*** ../vim-7.0.195/src/version.c Tue Feb 13 06:21:24 2007
73--- src/version.c Tue Feb 20 00:14:00 2007
74***************
75*** 668,669 ****
76--- 668,671 ----
77 { /* Add new patch number below this line */
78+ /**/
79+ 196,
80 /**/
81
82--
83hundred-and-one symptoms of being an internet addict:
84150. You find yourself counting emoticons to get to sleep.
85
86 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
87/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
88\\\ download, build and distribute -- http://www.A-A-P.org ///
89 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.038167 seconds and 4 git commands to generate.