]> git.pld-linux.org Git - packages/vim.git/blame - 7.0.037
- mark shell ${ble#...}, ${ble%...} substitutions
[packages/vim.git] / 7.0.037
CommitLineData
01d03c47
AG
1To: vim-dev@vim.org
2Subject: Patch 7.0.037
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.037
11Problem: Crash when resizing the GUI window vertically when there is a line
12 that doesn't fit.
13Solution: Don't redraw while the screen data is invalid.
14Files: src/screen.c
15
16
17*** ../vim-7.0.036/src/screen.c Tue Jul 11 22:36:19 2006
18--- src/screen.c Tue Jul 11 21:33:53 2006
19***************
20*** 7129,7134 ****
21--- 7129,7140 ----
22 return;
23 entered = TRUE;
24
25+ /*
26+ * Note that the window sizes are updated before reallocating the arrays,
27+ * thus we must not redraw here!
28+ */
29+ ++RedrawingDisabled;
30+
31 win_new_shellsize(); /* fit the windows in the new sized shell */
32
33 comp_col(); /* recompute columns for shown command and ruler */
34***************
35*** 7363,7368 ****
36--- 7369,7375 ----
37 #endif
38
39 entered = FALSE;
40+ --RedrawingDisabled;
41
42 #ifdef FEAT_AUTOCMD
43 if (starting == 0)
44*** ../vim-7.0.036/src/version.c Tue Jul 11 22:36:19 2006
45--- src/version.c Tue Jul 11 22:38:39 2006
46***************
47*** 668,669 ****
48--- 668,671 ----
49 { /* Add new patch number below this line */
50+ /**/
51+ 37,
52 /**/
53
54--
55For society, it's probably a good thing that engineers value function over
56appearance. For example, you wouldn't want engineers to build nuclear power
57plants that only _look_ like they would keep all the radiation inside.
58 (Scott Adams - The Dilbert principle)
59
60 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
61/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
62\\\ download, build and distribute -- http://www.A-A-P.org ///
63 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.031905 seconds and 4 git commands to generate.