Re: [Htmlvalidator-help] Line numbers while using wrap long lines
Brought to you by:
mgueury
From: Marc G. <mg...@sk...> - 2006-05-19 07:27:56
|
Hi Change, It is designed like this. The 2 features : - wrap long line - line number are incompatible. If one is set the other is disabled. There is a good reason behind it. The source code is a HTML page. The line numbers are placed in a css "frame" and the source code in his own css "frame" There is no relation between the 2. Just that the number of lines is the same. If the wrapping is set to true. I have no way to match the line numbers and lines in the source code. I tried other algorithms: For ex, putting the lines number at the beginning of each line. But it did not work well. It was a lot too slow and was ugly with wrapping lines. So, in short, not possible to fix. And it is intended to work like this until that a better algorithm is found. Hope it helps, Marc Hi, Are you aware that no line numbers are shown while using "wrap long lines"? Since the code is more readable and scan-able to me when I use "wrap long lines", I'm always using this. I couldn't find the line numbers in 0.8x until I disabled this feature. Would it be possible to have line numbers while it is enabled in a future version of this beta? Thanks, Change. |