|
Karsten Hopp |
f37ba5 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
f37ba5 |
Subject: Patch 7.4.663
|
|
Karsten Hopp |
f37ba5 |
Fcc: outbox
|
|
Karsten Hopp |
f37ba5 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
f37ba5 |
Mime-Version: 1.0
|
|
Karsten Hopp |
f37ba5 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
f37ba5 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
f37ba5 |
------------
|
|
Karsten Hopp |
f37ba5 |
|
|
Karsten Hopp |
f37ba5 |
Patch 7.4.663
|
|
Karsten Hopp |
f37ba5 |
Problem: When using netbeans a buffer is not found in another tab.
|
|
Karsten Hopp |
f37ba5 |
Solution: When 'switchbuf' is set to "usetab" then switch to another tab
|
|
Karsten Hopp |
f37ba5 |
when possible. (Xavier de Gaye)
|
|
Karsten Hopp |
f37ba5 |
Files: src/netbeans.c
|
|
Karsten Hopp |
f37ba5 |
|
|
Karsten Hopp |
f37ba5 |
|
|
Karsten Hopp |
f37ba5 |
*** ../vim-7.4.662/src/netbeans.c 2015-02-10 18:33:53.240319951 +0100
|
|
Karsten Hopp |
f37ba5 |
--- src/netbeans.c 2015-03-14 15:33:06.806660549 +0100
|
|
Karsten Hopp |
f37ba5 |
***************
|
|
Karsten Hopp |
f37ba5 |
*** 2691,2698 ****
|
|
Karsten Hopp |
f37ba5 |
static void
|
|
Karsten Hopp |
f37ba5 |
nb_set_curbuf(buf_T *buf)
|
|
Karsten Hopp |
f37ba5 |
{
|
|
Karsten Hopp |
f37ba5 |
! if (curbuf != buf && buf_jump_open_win(buf) == NULL)
|
|
Karsten Hopp |
f37ba5 |
set_curbuf(buf, DOBUF_GOTO);
|
|
Karsten Hopp |
f37ba5 |
}
|
|
Karsten Hopp |
f37ba5 |
|
|
Karsten Hopp |
f37ba5 |
/*
|
|
Karsten Hopp |
f37ba5 |
--- 2691,2705 ----
|
|
Karsten Hopp |
f37ba5 |
static void
|
|
Karsten Hopp |
f37ba5 |
nb_set_curbuf(buf_T *buf)
|
|
Karsten Hopp |
f37ba5 |
{
|
|
Karsten Hopp |
f37ba5 |
! if (curbuf != buf) {
|
|
Karsten Hopp |
f37ba5 |
! if (buf_jump_open_win(buf) != NULL)
|
|
Karsten Hopp |
f37ba5 |
! return;
|
|
Karsten Hopp |
f37ba5 |
! # ifdef FEAT_WINDOWS
|
|
Karsten Hopp |
f37ba5 |
! if ((swb_flags & SWB_USETAB) && buf_jump_open_tab(buf) != NULL)
|
|
Karsten Hopp |
f37ba5 |
! return;
|
|
Karsten Hopp |
f37ba5 |
! # endif
|
|
Karsten Hopp |
f37ba5 |
set_curbuf(buf, DOBUF_GOTO);
|
|
Karsten Hopp |
f37ba5 |
+ }
|
|
Karsten Hopp |
f37ba5 |
}
|
|
Karsten Hopp |
f37ba5 |
|
|
Karsten Hopp |
f37ba5 |
/*
|
|
Karsten Hopp |
f37ba5 |
*** ../vim-7.4.662/src/version.c 2015-03-13 15:02:46.258059206 +0100
|
|
Karsten Hopp |
f37ba5 |
--- src/version.c 2015-03-14 15:29:00.889427900 +0100
|
|
Karsten Hopp |
f37ba5 |
***************
|
|
Karsten Hopp |
f37ba5 |
*** 743,744 ****
|
|
Karsten Hopp |
f37ba5 |
--- 743,746 ----
|
|
Karsten Hopp |
f37ba5 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
f37ba5 |
+ /**/
|
|
Karsten Hopp |
f37ba5 |
+ 663,
|
|
Karsten Hopp |
f37ba5 |
/**/
|
|
Karsten Hopp |
f37ba5 |
|
|
Karsten Hopp |
f37ba5 |
--
|
|
Karsten Hopp |
f37ba5 |
Have you heard about the new Barbie doll? It's called Divorce
|
|
Karsten Hopp |
f37ba5 |
Barbie. It comes with all of Ken's stuff.
|
|
Karsten Hopp |
f37ba5 |
|
|
Karsten Hopp |
f37ba5 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
f37ba5 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
f37ba5 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
f37ba5 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|