Code lines.

Page 1 of 1

9 Replies - 888 Views - Last Post: 24 March 2008 - 10:39 AM

#1 Sepanto   User is offline

  • D.I.C Head
  • member icon

Reputation: 0
  • View blog
  • Posts: 97
  • Joined: 20-March 08

Code lines.

Post icon  Posted 24 March 2008 - 09:12 AM

Hi admins and mods!
I'd like to point out a really annoying issue in the site: there are no line numbers.
While it's true that you can put line numbers in you own code ,there is no way (short of counting) to help someone who says "Compiler error in line 152". If it is at all possible,I think you should implement lines as the default fro the site.
Thanks.
Avi
Is This A Good Question/Topic? 0
  • +

Replies To: Code lines.

#2 capty99   User is offline

  • i am colt mccoy
  • member icon

Reputation: 100
  • View blog
  • Posts: 10,081
  • Joined: 26-April 01

Re: Code lines.

Posted 24 March 2008 - 09:15 AM

jsdac
sadf
asdfa


Was This Post Helpful? 0
  • +
  • -

#3 spearfish   User is offline

  • Monkey in Training
  • member icon

Reputation: 10
  • View blog
  • Posts: 746
  • Joined: 10-March 08

Re: Code lines.

Posted 24 March 2008 - 09:15 AM

Owned.
Was This Post Helpful? 0
  • +
  • -

#4 capty99   User is offline

  • i am colt mccoy
  • member icon

Reputation: 100
  • View blog
  • Posts: 10,081
  • Joined: 26-April 01

Re: Code lines.

Posted 24 March 2008 - 09:15 AM

looks like line numbers to me.

specify the type of code.
Was This Post Helpful? 0
  • +
  • -

#5 Sepanto   User is offline

  • D.I.C Head
  • member icon

Reputation: 0
  • View blog
  • Posts: 97
  • Joined: 20-March 08

Re: Code lines.

Posted 24 March 2008 - 09:19 AM

I may have misphrased myself :
I know it can be done. I mean it ought to be made default so I don't have to count lines for someone who didn't use it.
Was This Post Helpful? 0
  • +
  • -

#6 spearfish   User is offline

  • Monkey in Training
  • member icon

Reputation: 10
  • View blog
  • Posts: 746
  • Joined: 10-March 08

Re: Code lines.

Posted 24 March 2008 - 09:26 AM

Like adding line numbers for
// blah
// blah
// blah
// blah


????

Maybe they could just post the lines they're having errors on.
Was This Post Helpful? 0
  • +
  • -

#7 NickDMax   User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2255
  • View blog
  • Posts: 9,245
  • Joined: 18-February 07

Re: Code lines.

Posted 24 March 2008 - 10:29 AM

it *might* be possible to make use the new code tags without syntax highlighting as the default.
Was This Post Helpful? 0
  • +
  • -

#8 Nykc   User is offline

  • Gentleman of Leisure
  • member icon

Reputation: 740
  • View blog
  • Posts: 8,654
  • Joined: 14-September 07

Re: Code lines.

Posted 24 March 2008 - 10:30 AM

View PostSepanto, on 24 Mar, 2008 - 12:19 PM, said:

I may have misphrased myself :
I know it can be done. I mean it ought to be made default so I don't have to count lines for someone who didn't use it.



Your IDE should have the ability to display these as well.

Seek, and you shall find the truth!
Was This Post Helpful? 0
  • +
  • -

#9 NickDMax   User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2255
  • View blog
  • Posts: 9,245
  • Joined: 18-February 07

Re: Code lines.

Posted 24 March 2008 - 10:37 AM

it is not HIS IDE he has to deal with... its other posters. I have to admit I hate it when someone posts a long program and then some compiler errors for some error one line 105...

I don't want to have to load their code into my compiler, and I sure as hell don't want to count 105 lines down the listing...

generally I ask them to point out the line and explain that there is just no way for me to know even where to begin looking for their problem unless they help me out on finding line 105.
Was This Post Helpful? 0
  • +
  • -

#10 Nykc   User is offline

  • Gentleman of Leisure
  • member icon

Reputation: 740
  • View blog
  • Posts: 8,654
  • Joined: 14-September 07

Re: Code lines.

Posted 24 March 2008 - 10:39 AM

I can't speak on this then, I mean even a simple paste into HTML Kit or Notepad++ gives me the line numbers.

I can see the inconveinence in this, but getting them to use the code tags period is already hard enough!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1