Hi,

On Tue, Jun 14, 2016 at 1:48 PM, LemonBoy <[email protected]> wrote:
>
> You're right, I was misled by the find_win_by_nr name and by the
> fact that the very same functions can search for window ID and numbers
> too.
>
> As for the second bit, finding the right tabpage for the window you're
> searching puts yourself in a catch-22 situation, unless I've
> misunderstood how the tabs/buffer system works.
>

You can do the following:

1. If getqfwinid() is called with a window number, then use the
    current tab page.
2. If getqfwinid() is called with a window ID, then get the tag page
    for the specified window ID (see the win_id2tabwin() function).

Pass the tab page pointer to qf_find_win() for finding the location
list window in that tab page.

- Yegappan

-- 
-- 
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.

Raspunde prin e-mail lui