Loading ...
Sorry, an error occurred while loading the content.

Re: what algorithm does :cnext use to jump to a correct location

Expand Messages
  • Ben Schmidt
    ... Have a look at my post at the end of this thread: http://groups.google.com/group/vim_use/browse_thread/thread/8c3b287a57e32fda It includes a complete
    Message 1 of 2 , Jun 27, 2011
    • 0 Attachment
      On 28/06/11 7:01 AM, cyboman wrote:
      > i'm trying to write a small script which will jump between info/
      > warning/error messages, i.e. instead of jumping to the next message,
      > which is what :cnext does, it will jump to the next error message. the
      > problem is that i don't know how does :cnext do it. i have the
      > information from the getqflist() function but i don't know how to make
      > vim to jump to the correct file, line and column. i'm not a vim
      > expert, so any suggestions are greatly appreciated.

      Have a look at my post at the end of this thread:

      http://groups.google.com/group/vim_use/browse_thread/thread/8c3b287a57e32fda

      It includes a complete script that does one direction of this kind of thing.

      Ben.


      --
      You received this message from the "vim_use" 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
    Your message has been successfully submitted and would be delivered to recipients shortly.