Re: Thread Reading

From: Date: Thu, 19 Sep 2002 15:57:36 +0000
Subject: Re: Thread Reading
References: 1 2 3 4 5 6  Groups: php.dev 
Request: Send a blank email to php-dev+get-88462@lists.php.net to get a copy of this message
Devon O'Dell wrote:
Simple fix :) [...]
http://www.dapond.net/code/backtrace.phps?HIGHLIGHT_FORMAT=lineno
This last url doesn't output anything. Maybe because the HTML is broken?
missing </table>
hm, what's the use of having a table here? why not just one big <code> environment as in the un-numbered version preceded by line numbers in a format like sprintf("%4d: %s\n", line_no, line); ? or even better: with html anchors for the lines sprintf("<a name='%d'></a>%4d: %s\n", line_no, line_no, line); similar to what we have on lxr.php.net? so that you can give out links to certain lines in the code: http://www.dapond.net/code/backtrace.phps?HIGHLIGHT_FORMAT=lineno#12 thinking even further: you could drop HIGHLIGHT_FORMAT altogether and activate line numbering as soon as a numeric anchor is spotted terminating the url .... -- Six Offene Systeme GmbH http://www.six.de/ i.A. Hartmut Holzgraefe Email: hartmut@six.de Tel.: +49-711-99091-77

« previous php.dev (#88462) next »