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
F18051971: D19348.id.diff
Mon, Aug 4, 1:03 AM
F18029740: D19348.diff
Sat, Aug 2, 11:23 PM
Unknown Object (File)
Jul 1 2025, 10:01 AM
Unknown Object (File)
Jun 29 2025, 10:54 PM
Unknown Object (File)
Jun 28 2025, 11:15 PM
Unknown Object (File)
Jun 28 2025, 10:42 PM
Unknown Object (File)
Jun 16 2025, 3:00 AM
Unknown Object (File)
Jun 2 2025, 1:33 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
Branch
docu3
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20105
Build 27274: Run Core Tests
Build 27273: arc lint + arc unit