RE: [PHP-DEV] phps line numbering
| From: | Jared Williams | Date: | Wed, 15 Mar 2006 17:44:05 +0000 |
| Subject: | RE: [PHP-DEV] phps line numbering | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-22469@lists.php.net to get a copy of this message | ||
> > Patches have been written and languish simply awaiting inclusion in
> > HEAD
>
> Johannes' method (<ol><li>...</li>...</ol>) doesn't copy
> &
> paste well in FireFox 1.5 -- you might consider this a FF
> problem, but in any case, line numbers are pasted, so this is
> really a pain for sharing code.
>
> Until a good method is found (if there is one), I say leave
> the patch out -- although, FWIW, I _would_ like to see line
> numbers if there's a way to make it work well (avoid
> horizontal scrolling, paste without numbers).
Pretty sure this isn't possible in Firefox, both avoiding horizontal scrolling and paste
without numbers, are mutually exclusive.
Replacing the list, with divs and using css generated content to display the line numbers, cleans up
the paste output but won't get
the word wrap.
Jared