Xavier de Gaye wrote:
> On 03/14/2015 12:13 AM, Bram Moolenaar wrote:
> >
> > Xavier de Gaye wrote:
> >
> >> The Vim netbeans interface is not tabpage aware and does not check the
> >> 'switchbuf' option. So, even when a buffer is already loaded in the
> window of
> >> a tab, placing an annotation in this buffer will cause the buffer to be
> loaded
> >> in the current window of the current tab instead of moving to the tab
> where
> >> the buffer is already loaded.
> >>
> >> The attached patch fixes this.
> >
> > Thanks! So no documentation changes needed?
>
>
> Here is an updated patch with documentation.
>
> The 'setBufferNumber' command is one of the commands that set the buffer as
> the current buffer, but it uses the ':buffer' Vim command and the ':buffer'
> command ignores the 'switchbuf' option.
> Should the ':buffer' command be fixed ?
>
> Note that the documentation recommends using 'putBufferNumber' instead of
> 'setBufferNumber'.
Thanks. I think we should call buf_jump_open_win() first, so that a
buffer in the local tab page is preferred. I'll make it like that.
--
DEAD PERSON: I'm getting better!
CUSTOMER: No, you're not -- you'll be stone dead in a moment.
MORTICIAN: Oh, I can't take him like that -- it's against regulations.
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.