Yegappan wrote:
> On Mon, Apr 29, 2019 at 7:54 AM Yegappan Lakshmanan <[email protected]> > wrote: > > > > Hi, > > > > On Mon, Apr 29, 2019 at 7:48 AM Andy Massimino > > <[email protected]> wrote: > > > > > > So does :cabo 3 mean move to the third error, counting up, above the > > > current line? > > > > > > > Yes. If the specified count exceeds the number of entries above the > > current line, > > then it stops at the first error in the file. > > > > > > > > What if there are multiple errors on the current line, are they included > > > in the count? > > > > > > > Each entry in the current line is treated as separate entries. If the > > current line > > has 3 entries and the specified count is 2, then the cursor will not be > > moved. > > > > Correction. Multiple quickfix entries on a single line case is not correctly > handled now. Will update the PR. If we support moving to the entry before/after the cursor, it would be helpful if there are many errors in a line (e.g. in an XML file). We could use :cbefore and :cafter for that. So you could click somewhere in the line and use :cafter to jump to the next column with an error. It goes to a following line if that's where the next error is. Then :cabove and :cbelow can actually use the count as the number of individual lines. Makes sense? -- MARTHA'S WAY: Don't throw out all that leftover wine. Freeze into ice cubes for future use in casseroles and sauces. MY WAY: What leftover wine? /// 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.
