Clicking into search result opens file at inaccurate file location
View options
- Truncate descriptions
Created by: jjinnii
Expected behavior:
Clicking on the search result will open the file at the location of the searched for token, with exact line highlighted.
Actual behavior:
Clicking into a search result with the expected result on code line x opens the file with line x-1 highlighted. For example, if I click into a search result with a token on line 28, the file opens with line 27 highlighted. This was first uncovered in an internal user test with Kelli Rockwell, and I was able to re-create the issue myself on a few different repository and search results. Loom of bug