Page MenuHomePhabricator

Make line selection in source code views less fragile and more consistent
ClosedPublic

Authored by epriestley on Apr 11 2018, 9:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 2, 9:01 AM
Unknown Object (File)
Thu, Jul 2, 9:01 AM
Unknown Object (File)
Jun 25 2026, 11:11 AM
Unknown Object (File)
Jun 22 2026, 10:30 PM
Unknown Object (File)
Jun 20 2026, 9:13 PM
Unknown Object (File)
Mar 31 2026, 7:35 PM
Unknown Object (File)
Mar 31 2026, 6:48 PM
Unknown Object (File)
Mar 30 2026, 10:48 PM
Subscribers
None

Details

Summary

Depends on D19347. Ref T13105. See PHI565. The "highlight lines" behavior is interacting poorly with the new blame element in Diffusion.

Make the behavior a little simpler and hopefully more robust.

Test Plan
  • Clicked commit/revision links in Diffusion, saw the links get followed instead of the lines highlighted.
  • Highlighted lines in Diffusion, saw just the line/code highlight instead of the whole thing.
  • Highlighted lines in Paste and new-style Harbormaster build logs, saw consistent behavior.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable