Page 1 of 1

Line numbering back!

Posted: Sun Sep 25, 2005 10:05 am
by pilau
We used to havenumbers for lines on code blocks in posts... why were they removed? They were really useful when you wanted to point to something on a long block..

Can you code them back please?

Posted: Sun Sep 25, 2005 10:07 am
by feyd
it's not so simple.. and I don't have the time to rebuild half of phpbb to get it to work again.


Moved to Suggestions..

Posted: Sun Sep 25, 2005 11:07 am
by pilau
How should it work?

Posted: Sun Sep 25, 2005 1:38 pm
by Ambush Commander
Wel, originally, it was a hackjob that basically did this:

Code: Select all

<table>
<tr>
<td>
1<br />2<br />3<br />4 ...
</td>
<td>
<pre>
//Code here
Blah blah
</pre>
</td>
</tr>
</table>
Personally, I don't think they're that important.

Posted: Sun Sep 25, 2005 2:15 pm
by RobertPaul
I suppose you could always use pastebin if you really wanted line numbers...