Highlight selected line when mounted
What does this MR do and why?
Fixes highlighting of line numbers by selecting the hash when mounted.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
- Open a file containing source code (sample.yml)
- Add a line number range to the URL (e.g.
#L43-73
) - Refresh the page
- The line number range should be highlighted
Related to #436949 (closed)
Edited by Jacques Erasmus