mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-15 14:38:03 +02:00
b316d18bd8
The viewer already supported jumping to a line via #L42 in the URL but never produced one — users had to type it manually. Wire guttermousedown on the ACE editor to replaceState a #L<n> hash, with shift-click for a range. Also reapply the highlight on hashchange so pasting a URL into the address bar works without reload. Fixes #392.