Hi,On Tue, Jun 14, 2016 at 7:54 AM, LemonBoy <[email protected]> wrote: > > Hmm, that is the intended behaviour since find_win_by_nr with the 2nd > argument set to NULL limits the search to the current tab page only > and we're sure all the wp belong to the same page. > > I think that the solution is to change the prototype to > getqfwinid([{winnr} [,{tabnr}]]) >
The prototype of getqfwinid() need not be changed. The winid argument specifies a window in any tab page (not just the current tab page). So there is no need to use the second tabnr argument. > > and have qf_find_win() accept a tabpage_T * argument, there > should be no functional change since we could just pass curtab as > argument > This approach sounds good. The current callers of qf_find_win() can use curtab as the second argument. The getqfwinid() function can invoke qf_find_win() with the specified tab page (for location list). - 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.
