Hi, all!

You likely already know that you can link to specific sections of code in a
repo by adding "ln=Start-End" to the URL params of the pages which show
file content, e.g.:

http://fossil-scm.org/index.html/artifact/c6fbb105168d3b7af4541d89175fc76e14917697?ln=10-20

but did you know that you can get line numbering without highlighting by
passing the number 0?

http://fossil-scm.org/index.html/artifact/c6fbb105168d3b7af4541d89175fc76e14917697?ln=0

FWIW, i _think_ that's an accident of design, but it's a happy accident.

(Maybe we should add a menu link to such pages, "show line numbers," which
simply adds the ln=0 param?)


-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to