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
F14089511: D19350.diff
Sun, Nov 24, 11:23 AM
Unknown Object (File)
Fri, Nov 22, 2:22 AM
Unknown Object (File)
Tue, Nov 19, 11:14 AM
Unknown Object (File)
Oct 22 2024, 4:45 AM
Unknown Object (File)
Oct 3 2024, 8:00 AM
Unknown Object (File)
Oct 2 2024, 1:40 PM
Unknown Object (File)
Oct 1 2024, 11:56 AM
Unknown Object (File)
Sep 9 2024, 6:45 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