Hi Bram, On Fri, May 3, 2019 at 12:56 PM Bram Moolenaar <[email protected]> wrote: > > Patch 8.1.1256 > Problem: Cannot navigate through errors relative to the cursor. > Solution: Add :cabove, :cbelow, :labove and :lbelow. (Yegappan Lakshmanan, > closes #4316) > Files: runtime/doc/index.txt, runtime/doc/quickfix.txt, src/ex_cmdidxs.h, > src/ex_cmds.h, src/ex_docmd.c, src/proto/quickfix.pro, > src/quickfix.c, src/testdir/test_quickfix.vim >
This patch uses ADDR_OTHER for the new Ex commands. With this, when a negative count is passed to the command, it is subtracted from the current line number and passed to the command. The command will then jump to that quickfix entry. I think the command should display an error in this case. - 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.
