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
F15449663: D19350.id46295.diff
Fri, Mar 28, 11:32 AM
F15439456: D19350.id46288.diff
Wed, Mar 26, 7:36 AM
F15435436: D19350.id.diff
Tue, Mar 25, 8:16 AM
F15432296: D19350.diff
Mon, Mar 24, 5:20 PM
F15424511: D19350.id46295.diff
Sat, Mar 22, 10:48 PM
F15421349: D19350.id46288.diff
Fri, Mar 21, 10:52 PM
F15386114: D19350.diff
Sat, Mar 15, 12:03 AM
Unknown Object (File)
Mon, Mar 3, 1:32 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