4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: 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)
14 Solution: Redraw when closing gvim is cancelled.
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
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
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
35 ! setcursor(); /* position cursor */
44 ! gui_update_screen(); /* redraw, window may show changed buffer */
53 #if defined(FIND_REPLACE_DIALOG) || defined(FEAT_SUN_WORKSHOP) \
54 + || defined(NEED_GUI_UPDATE_SCREEN) \
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
63 { /* Add new patch number below this line */
69 How To Keep A Healthy Level Of Insanity:
70 18. When leaving the zoo, start running towards the parking lot,
71 yelling "run for your lives, they're loose!!"
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 ///