[PATCH] Fragment identifier search
|Reported by:||Owned by:||Peter Suter|
TracLinks may now link to a specific word within a source file or attachment using a URL fragment such as
As discussed on TracDev/PluginDevelopment, a way to deep link into pages a bit more robust to changes than specifying an anchor like
#L123 would be useful.
cboos proposed a syntax (based on a vim-ism?) for scrolling to the first match using
#/term and to the last match using
The attached patch implements this by extending the existing search term highlighting. (Note that this makes it available on all searchable pages, like in the source file browser or in the wiki.)
The exact syntax could be changed or extended. Maybe
#term:n for the
#term:-n for the
nth last match?