]> git.pld-linux.org Git - packages/vim.git/blame - 7.0.128
- updated to 0.7.3
[packages/vim.git] / 7.0.128
CommitLineData
f3c378e8
AG
1To: vim-dev@vim.org
2Subject: Patch 7.0.128
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.128
11Problem: GUI: when closing gvim is cancelled because there is a changed
12 buffer the screen isn't updated to show the changed buffer in the
13 current window. (Krzysztof Kacprzak)
14Solution: Redraw when closing gvim is cancelled.
15Files: src/gui.c
16
17
18*** ../vim-7.0.127/src/gui.c Sun Oct 8 13:56:53 2006
19--- src/gui.c Tue Oct 10 13:45:13 2006
20***************
21*** 637,642 ****
22--- 637,643 ----
23
24 #if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11) || defined(FEAT_GUI_MSWIN) \
25 || defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_MAC) || defined(PROTO)
26+ # define NEED_GUI_UPDATE_SCREEN 1
27 /*
28 * Called when the GUI shell is closed by the user. If there are no changed
29 * files Vim exits, otherwise there will be a dialog to ask the user what to
30***************
31*** 665,672 ****
32
33 exiting = FALSE;
34 cmdmod = save_cmdmod;
35! setcursor(); /* position cursor */
36! out_flush();
37 }
38 #endif
39
40--- 666,672 ----
41
42 exiting = FALSE;
43 cmdmod = save_cmdmod;
44! gui_update_screen(); /* redraw, window may show changed buffer */
45 }
46 #endif
47
48***************
49*** 4823,4828 ****
50--- 4823,4829 ----
51 #endif
52
53 #if defined(FIND_REPLACE_DIALOG) || defined(FEAT_SUN_WORKSHOP) \
54+ || defined(NEED_GUI_UPDATE_SCREEN) \
55 || defined(PROTO)
56 /*
57 * Update the current window and the screen.
58*** ../vim-7.0.127/src/version.c Tue Oct 10 16:20:51 2006
59--- src/version.c Tue Oct 10 17:35:42 2006
60***************
61*** 668,669 ****
62--- 668,671 ----
63 { /* Add new patch number below this line */
64+ /**/
65+ 128,
66 /**/
67
68--
69How To Keep A Healthy Level Of Insanity:
7018. When leaving the zoo, start running towards the parking lot,
71 yelling "run for your lives, they're loose!!"
72
73 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
74/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
75\\\ download, build and distribute -- http://www.A-A-P.org ///
76 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.040246 seconds and 4 git commands to generate.