I think it used to be like that, so you could click on a line number and a page would open up with the same file, but poinint you directly to interesting line. It is usefull when you want to send somebody line of code to look at.
I removed the line number hyperlink some releases ago (because I could find no practical use to such a feature). That resulted in a smaller HTML stream for the file. For me, an idempotent hyperlink (i.e. pointing to itself) made no sense.
If you want to send a reference, you only need to copy the URL from the browser navigation bar and add #line_number at the end. It should serve the same purpose.
Unless you give me a convincing argument to revert to line hyperlinking, I propose to keep the present implementation for performance reason.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Having smaller HTML is a valid reason, that's why I asked for some kind of option in lxr.conf (or somewhere else?).
I mainly found it useful when I wanted somebody to have a look at some specific line of code. I would click on a link and copy the address. Now I need to modify the link myself. It seemed a little bit more convenient.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To make it clearer, the "jump" or "destination URL" was removed from line number highlighting. However the "anchor" was kept on every line. This allows the direct navigation from the cross reference pages (ident or search) to the designated line.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I removed the line number hyperlink some releases ago (because I could find no practical use to such a feature). That resulted in a smaller HTML stream for the file. For me, an idempotent hyperlink (i.e. pointing to itself) made no sense.
If you want to send a reference, you only need to copy the URL from the browser navigation bar and add #line_number at the end. It should serve the same purpose.
Unless you give me a convincing argument to revert to line hyperlinking, I propose to keep the present implementation for performance reason.
Having smaller HTML is a valid reason, that's why I asked for some kind of option in lxr.conf (or somewhere else?).
I mainly found it useful when I wanted somebody to have a look at some specific line of code. I would click on a link and copy the address. Now I need to modify the link myself. It seemed a little bit more convenient.
To make it clearer, the "jump" or "destination URL" was removed from line number highlighting. However the "anchor" was kept on every line. This allows the direct navigation from the cross reference pages (ident or search) to the designated line.