Click here to Skip to main content
11,928,740 members (51,075 online)
Click here to Skip to main content
Add your own
alternative version


29 bookmarked

Adding line numbers to text

, 24 Jun 2004
How to easily add line numbers to source code or text.


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Ken Mackenzie
Web Developer
United Kingdom United Kingdom
Ken is an employee of T-Systems UK Ltd, a British subsidiary of Deutsche Telekom GMBH. His role is that of Systems Integration Development Specialist in the UK. He works extensively in C#, building n-tier enterprise solutions, web applications, web services, windows apps, etc..

| | Privacy | Terms of Use | Mobile
Web03 | 2.8.151126.1 | Last Updated 25 Jun 2004
Article Copyright 2004 by Ken Mackenzie
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid