Yegappan wrote:

> > > 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.
> >
> 
> So the cafter and cbefore commands are used to browse through every error
> in the current file?
> 
> >
> > Then :cabove and :cbelow can actually use the count as the number of
> > individual lines.
> >
> > Makes sense?
> >
> 
> We will then have the following commands:
> 
> cbelow - Go to an error line below the current line in the current file
> cabove - Go to an error line above the current line in the current file
> cbefore - Go to an error before the current column in the current file
> cafter - Go to an error after the current column in the current file

Right.  And when giving a count to cbelow/cabove it counts all the
errors in the same line as one.  Thus if there are three matches in the
line above and one two lines up, then ":2cabove" goes two lines up.

-- 
Proofread carefully to see if you any words out.

 /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui