Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26688 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16023 invoked by uid 1010); 20 Nov 2006 23:54:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 16008 invoked from network); 20 Nov 2006 23:54:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Nov 2006 23:54:59 -0000 Authentication-Results: pb1.pair.com header.from=johannes@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@php.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 82.135.5.144 cause and error) X-PHP-List-Original-Sender: johannes@php.net X-Host-Fingerprint: 82.135.5.144 ppp-82-135-5-144.dynamic.mnet-online.de Linux 2.6 Received: from [82.135.5.144] ([82.135.5.144:33377] helo=johannes.nop) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AD/4C-33211-05042654 for ; Mon, 20 Nov 2006 18:54:58 -0500 Received: from johannes.nop (localhost [127.0.0.1]) by johannes.nop (8.13.8/8.13.8) with ESMTP id kAKNst24021710; Tue, 21 Nov 2006 00:54:55 +0100 Received: (from johannes@localhost) by johannes.nop (8.13.8/8.13.8/Submit) id kAKNst69021709; Tue, 21 Nov 2006 00:54:55 +0100 X-Authentication-Warning: johannes.nop: johannes set sender to johannes@php.net using -f To: Kevin Waterson Cc: internals@lists.php.net In-Reply-To: <20061121093000.2ac91e34.kevin@oceania.net> References: <20061121055451.02cc12d5.kevin@oceania.net> <45620010.4010504@caedmon.net> <1164061309.2947.899.camel@johannes.nop> <20061121093000.2ac91e34.kevin@oceania.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 21 Nov 2006 00:54:54 +0100 Message-ID: <1164066894.2947.982.camel@johannes.nop> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1.1 (2.8.1.1-3.fc6) Subject: Re: [PHP-DEV] phps line numbering From: johannes@php.net (Johannes =?ISO-8859-1?Q?Schl=FCter?=) Hi, On Tue, 2006-11-21 at 09:30 +1100, Kevin Waterson wrote: > This one time, at band camp, Johannes Schl=C3=BCter wr= ote: >=20 >=20 > > [^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 t= o > > enable the line numbering, the second to enable jumpmarks using > name=3D"" or id=3D"" attributes (I think the latter but am not sure) an= d a > > third one to give these jumpmarks individual prefixes to allow posting > > multiple numbered code snippets on a single page. >=20 > outstading :) >=20 > 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
    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 --=20 Johannes Schl=C3=BCter | http://schlueters.de