Mikael Jansson wrote: > Hi, > > I'm not very familiar with the Vim code base, so I couldn't quite find > my way around, so I'm asking here instead: > > Will the range for % (the entire file) always be 1 for line1 and > number-of-lines-in-file for line2?
Yes. :tag do_one_cmd | /% There is a comment there, and if you scroll down a bit you will find. if (*ea.cmd == '%') /* '%' - all lines */ { ++ea.cmd; ea.line1 = 1; ea.line2 = curbuf->b_ml.ml_line_count; ++ea.addr_count; } Ben. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---