Currently, code=lang inserts line numbers starting at line #1. Is there a way to make it start with another number? For example
[code=cplusplus line=500]

Recommended Answers

All 2 Replies

AFAIK, no. But is there any reason why someone would require that kind of functionality?

If you have a really large script with a single error you could post just the relevant section, and comments & suggesstions would reference the 'right' part of your source code
"try {x}|bla bla in line 502"

if you made as many mistakes as me, you would see the need immediately :twisted:

commented: right :) +36
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.