Hi,
On Tue, 2006-11-21 at 09:30 +1100, Kevin Waterson wrote:
> This one time, at band camp, Johannes Schlüter <johannes@php.net> wrote:
>
>
> > [^1] If I remember correct the last version of the patch I proposed
> > didn't add just one additional parameter but three of them. The first to
> > enable the line numbering, the second to enable jumpmarks using <a
> > name="" or id="" attributes (I think the latter but am not sure) and a
> > third one to give these jumpmarks individual prefixes to allow posting
> > multiple numbered code snippets on a single page.
>
> outstading :)
>
> Why not also a parameter to select the beginning line??
> so that you might begin the numbering from lin3 number 322
I don't think this is really needed, the numbering of the <ol> I'm using
there can be changed by CSS and I think it's better to let the user
count the lines used by the jumpmarks than adding yet another parameter,
I even think it might be good to merge my second and third param
(false/null no jump mark, true default, some stirng use that as prefix)
into one (which still doesn't mean there being place for some other)
functions with too many option parameters are just painful imo.
johannes
--
Johannes Schlüter | http://schlueters.de