mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
updated for version 7.4.663 Problem: When using netbeans a buffer is not found in another tab. Solution: When 'switchbuf' is set to "usetab" then switch to another tab when possible. (Xavier de Gaye)
This commit is contained in:
committed by
Douglas Drumond
parent
516fbbbf62
commit
97e1f57cf1
+8
-1
@@ -2720,8 +2720,15 @@ nb_do_cmd(
|
||||
static void
|
||||
nb_set_curbuf(buf_T *buf)
|
||||
{
|
||||
if (curbuf != buf && buf_jump_open_win(buf) == NULL)
|
||||
if (curbuf != buf) {
|
||||
if (buf_jump_open_win(buf) != NULL)
|
||||
return;
|
||||
# ifdef FEAT_WINDOWS
|
||||
if ((swb_flags & SWB_USETAB) && buf_jump_open_tab(buf) != NULL)
|
||||
return;
|
||||
# endif
|
||||
set_curbuf(buf, DOBUF_GOTO);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -756,6 +756,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
663,
|
||||
/**/
|
||||
662,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user