Code Line Numbers

Line numbers for code ;)

  • (5 Pages)
  • +
  • « First
  • 3
  • 4
  • 5

63 Replies - 4678 Views - Last Post: 05 July 2010 - 07:52 AM

#61 macosxnerd101   User is offline

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12800
  • View blog
  • Posts: 45,992
  • Joined: 27-December 08

Re: Code Line Numbers

Posted 02 July 2010 - 06:09 AM

Would it also be possible to get the comments highlighted in the green they were before, a light grey, or some other subdued color? At the moment, they are parsed along with the code, so certain keywords are highlighted as well.
Was This Post Helpful? 0
  • +
  • -

#62 eclipsed4utoo   User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1536
  • View blog
  • Posts: 5,972
  • Joined: 21-March 08

Re: Code Line Numbers

Posted 02 July 2010 - 06:35 AM

View Postmacosxnerd101, on 02 July 2010 - 08:09 AM, said:

Would it also be possible to get the comments highlighted in the green they were before, a light grey, or some other subdued color? At the moment, they are parsed along with the code, so certain keywords are highlighted as well.


here is what the C# example looks like with the C# Brush. Just doesn't look like we have the language specific brushes yet.
Was This Post Helpful? 0
  • +
  • -

#63 skyhawk133   User is offline

  • Head DIC Head
  • member icon

Reputation: 1981
  • View blog
  • Posts: 20,434
  • Joined: 17-March 01

Re: Code Line Numbers

Posted 02 July 2010 - 06:55 AM

We aren't using language specific brushes yet.
Was This Post Helpful? 0
  • +
  • -

#64 Frinavale   User is offline

  • D.I.C Addict
  • member icon

Reputation: 205
  • View blog
  • Posts: 776
  • Joined: 03-June 10

Re: Code Line Numbers

Posted 05 July 2010 - 07:52 AM

View Posteclipsed4utoo, on 02 July 2010 - 10:43 AM, said:

here is my example of how not having a horizontal scroll bar makes code almost unreadable.

http://www.dreaminco...sed-on-a-value/

I would much rather have to scroll than have to decipher this code.


Maybe I'm just use to reviewing worse code than you are...it doesn't seem "illegible" to me. I see what you're talking about though.

It might be more legible of there were more space between lines of code that so that it is more apparent which is a new line of code and which is a line of code that has be word-wrapped onto the next line. In other words, if the line of code is word wrapped keep the line spacing the way it is...but if the line of code is a new line, then add extra line spacing...so that it is easier to read.

-Frinny
Was This Post Helpful? 0
  • +
  • -

  • (5 Pages)
  • +
  • « First
  • 3
  • 4
  • 5