Displaying line numbers

VilleSkyttä scop at FreeBSD.org
Thu May 1 08:54:51 PDT 2003


On Sat, 2003-04-19 at 23:24, Roy Smith wrote:

> We've been using cvsweb for looking at files during code reviews.  One 
> feature it's missing that would be really useful for this application 
> is being able to display a file with line numbers in the margin.  Is 
> there a way to do this?
> 
> I don't mind diving in and coding it, but I'd rather not reinvent the 
> wheel if somebody's done it already.

I agree, that'd be useful and AFAICT such a feature doesn't exist.  I
may take a look at this, but contributions are certainly welcome too.

In addition to the line numbers, there should be a <a name="lXX">XX</a>
for all lines so that one can point to them using #lXX in URLs.  Even
better if the line referred to in this way would be somehow
highlighted...

-- 
\/ille Skyttä
scop at FreeBSD.org




More information about the freebsd-cvsweb mailing list