mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.0c02
This commit is contained in:
parent
04a9d4555a
commit
607a95ed81
@ -1,6 +1,6 @@
|
|||||||
" Script to define the syntax menu in synmenu.vim
|
" Script to define the syntax menu in synmenu.vim
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2006 Mar 26
|
" Last Change: 2006 Mar 28
|
||||||
|
|
||||||
" This is used by "make menu" in the src directory.
|
" This is used by "make menu" in the src directory.
|
||||||
edit <sfile>:p:h/synmenu.vim
|
edit <sfile>:p:h/synmenu.vim
|
||||||
@ -136,6 +136,7 @@ SynMenu C.CVS.cvsrc:cvsrc
|
|||||||
SynMenu DE.D:d
|
SynMenu DE.D:d
|
||||||
SynMenu DE.Debian.Debian\ ChangeLog:debchangelog
|
SynMenu DE.Debian.Debian\ ChangeLog:debchangelog
|
||||||
SynMenu DE.Debian.Debian\ Control:debcontrol
|
SynMenu DE.Debian.Debian\ Control:debcontrol
|
||||||
|
SynMenu DE.Debian.Debian\ Sources\.list:debsources
|
||||||
SynMenu DE.Desktop:desktop
|
SynMenu DE.Desktop:desktop
|
||||||
SynMenu DE.Dict\ config:dictconf
|
SynMenu DE.Dict\ config:dictconf
|
||||||
SynMenu DE.Dictd\ config:dictdconf
|
SynMenu DE.Dictd\ config:dictdconf
|
||||||
|
@ -381,8 +381,10 @@ close_buffer(win, buf, action)
|
|||||||
* unloaded. */
|
* unloaded. */
|
||||||
if (buf->b_nwindows > 0 || !unload_buf)
|
if (buf->b_nwindows > 0 || !unload_buf)
|
||||||
{
|
{
|
||||||
|
#if 0 /* why was this here? */
|
||||||
if (buf == curbuf)
|
if (buf == curbuf)
|
||||||
u_sync(); /* sync undo before going to another buffer */
|
u_sync(); /* sync undo before going to another buffer */
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1312,10 +1314,14 @@ set_curbuf(buf, action)
|
|||||||
#else
|
#else
|
||||||
if (buf_valid(prevbuf))
|
if (buf_valid(prevbuf))
|
||||||
#endif
|
#endif
|
||||||
|
{
|
||||||
|
if (prevbuf == curbuf)
|
||||||
|
u_sync();
|
||||||
close_buffer(prevbuf == curwin->w_buffer ? curwin : NULL, prevbuf,
|
close_buffer(prevbuf == curwin->w_buffer ? curwin : NULL, prevbuf,
|
||||||
unload ? action : (action == DOBUF_GOTO
|
unload ? action : (action == DOBUF_GOTO
|
||||||
&& !P_HID(prevbuf)
|
&& !P_HID(prevbuf)
|
||||||
&& !bufIsChanged(prevbuf)) ? DOBUF_UNLOAD : 0);
|
&& !bufIsChanged(prevbuf)) ? DOBUF_UNLOAD : 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#ifdef FEAT_AUTOCMD
|
#ifdef FEAT_AUTOCMD
|
||||||
# ifdef FEAT_EVAL
|
# ifdef FEAT_EVAL
|
||||||
|
@ -9070,7 +9070,7 @@ ex_pedit(eap)
|
|||||||
win_T *curwin_save = curwin;
|
win_T *curwin_save = curwin;
|
||||||
|
|
||||||
g_do_tagpreview = p_pvh;
|
g_do_tagpreview = p_pvh;
|
||||||
prepare_tagpreview();
|
prepare_tagpreview(TRUE);
|
||||||
keep_help_flag = curwin_save->w_buffer->b_help;
|
keep_help_flag = curwin_save->w_buffer->b_help;
|
||||||
do_exedit(eap, NULL);
|
do_exedit(eap, NULL);
|
||||||
keep_help_flag = FALSE;
|
keep_help_flag = FALSE;
|
||||||
|
@ -296,7 +296,7 @@ Source =
|
|||||||
fold.c
|
fold.c
|
||||||
getchar.c
|
getchar.c
|
||||||
hardcopy.c
|
hardcopy.c
|
||||||
hashtable.c
|
hashtab.c
|
||||||
if_cscope.c
|
if_cscope.c
|
||||||
if_xcmdsrv.c
|
if_xcmdsrv.c
|
||||||
main.c
|
main.c
|
||||||
@ -314,7 +314,7 @@ Source =
|
|||||||
option.c
|
option.c
|
||||||
os_unix.c
|
os_unix.c
|
||||||
auto/pathdef.c
|
auto/pathdef.c
|
||||||
popupmenu.c
|
popupmnu.c
|
||||||
quickfix.c
|
quickfix.c
|
||||||
regexp.c
|
regexp.c
|
||||||
screen.c
|
screen.c
|
||||||
|
12
src/window.c
12
src/window.c
@ -3192,6 +3192,18 @@ win_new_tabpage(after)
|
|||||||
|
|
||||||
newtp->tp_topframe = topframe;
|
newtp->tp_topframe = topframe;
|
||||||
last_status(FALSE);
|
last_status(FALSE);
|
||||||
|
|
||||||
|
#if defined(FEAT_GUI)
|
||||||
|
/* When 'guioptions' includes 'L' or 'R' may have to remove or add
|
||||||
|
* scrollbars. Have to update them anyway. */
|
||||||
|
if (gui.in_use && starting == 0)
|
||||||
|
{
|
||||||
|
gui_init_which_components(NULL);
|
||||||
|
gui_update_scrollbars(TRUE);
|
||||||
|
}
|
||||||
|
need_mouse_correct = TRUE;
|
||||||
|
#endif
|
||||||
|
|
||||||
redraw_all_later(CLEAR);
|
redraw_all_later(CLEAR);
|
||||||
#ifdef FEAT_AUTOCMD
|
#ifdef FEAT_AUTOCMD
|
||||||
apply_autocmds(EVENT_TABENTER, NULL, NULL, FALSE, curbuf);
|
apply_autocmds(EVENT_TABENTER, NULL, NULL, FALSE, curbuf);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user