Re: [Htmlvalidator-help] Line numbers while using wrap long lines
Brought to you by:
mgueury
From: [LoN]Kamikaze <LoN...@gm...> - 2006-05-20 11:52:16
|
I have addressed the problem that line numbers interfere with copy and paste, even when their display is turned off, by writing a function that moves the code back into the old format. I think this is the most flexible solution so far and the performance impact is acceptable. There are 2 problems left that I cannot solve. But they're acceptable, as far as I see it: - Marked code gets unmarked, when display is switched between numbered and non-numbered display. - With line wrapping on, the code can break at different places, because of there being different amounts of space for the code, with and without line numbers. This can force the user to scroll back to the code of interest after switching. |