Line numbering back!

We know you have an opinion on how things should be run around here. These are suggestions for the forums, and the website.This forum is not a place to ask for suggestions to your own coding (or otherwise) problems.

Moderator: General Moderators

Post Reply
pilau
Forum Regular
Posts: 594
Joined: Sat Jul 09, 2005 10:22 am
Location: Israel

Line numbering back!

Post 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?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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..
pilau
Forum Regular
Posts: 594
Joined: Sat Jul 09, 2005 10:22 am
Location: Israel

Post by pilau »

How should it work?
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post 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.
RobertPaul
Forum Contributor
Posts: 122
Joined: Sun Sep 18, 2005 8:54 pm
Location: OCNY

Post by RobertPaul »

I suppose you could always use pastebin if you really wanted line numbers...
Post Reply