On Wed, Aug 27, 2014 at 12:00 PM, Stephan Beal <sgb...@googlemail.com>
wrote:

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

The *design* was to show the line numbers if you just include the "ln"
query parameter without any argument at all.



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

I have, from time to time, considered making "ln" the default.  Or maybe
creating an option to make it the default.



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


-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
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