regit/coccigrep — pull request #4 by gault (2011-11-04 20:03:15+00:00)
Title: Fix context line numbers

Hi Regit,

Here is a fix to display the right line numbers when using context options (as previous versions did always print the line number of the matched string rather than the context line).

Code handling Emacs and Vim outputs are modified for consistency, even though coccigrep forces context to 0 if the corresponding options are used.