Monday, June 27, 2011

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

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.

thanks

--
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

No comments:

Post a Comment