Match highlight at the end of a long result snippet freezes browser tab
Created by: attfarhan
For example, in this link, the first two matches are on really long lines in HTML files, and are outside of the viewport: https://sourcegraph.com/search?q=repo:%5Egithub%5C.com/sourcegraph/sourcegraph%24+%22deprecated:%22+&patternType=regexp
This causes the browser tab to freeze