Page MenuHomePhabricator

When following a link to a particular line ("/example.txt$12"), scroll to that line
ClosedPublic

Authored by epriestley on Apr 11 2018, 9:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 20, 2:09 AM
Unknown Object (File)
Sun, Mar 10, 8:02 PM
Unknown Object (File)
Fri, Mar 1, 3:54 AM
Unknown Object (File)
Feb 26 2024, 6:52 PM
Unknown Object (File)
Feb 21 2024, 11:45 AM
Unknown Object (File)
Feb 19 2024, 3:08 PM
Unknown Object (File)
Feb 3 2024, 6:46 PM
Unknown Object (File)
Feb 3 2024, 6:46 PM
Subscribers
None

Details

Summary

Depends on D19349. Ref T13105. This was the behavior in Diffusion before with a little hard-coded snippet.

Remove that snippet ("diffusion-jump-to") and add a more general-purpose snippet to SourceView.

This is a tiny bit hacky still (and probably doesn't work quite right with Quicksand) but gets things working again and works in all of Files, Paste, and Diffusion.

Test Plan

Followed links to particular lines in Paste, Files and Diffusion; got scrolled to the right place.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable