HomePhorge

In Differential, give the "moved/copied from" gutter a more clear visual look

Description

In Differential, give the "moved/copied from" gutter a more clear visual look

Summary:
Depends on D20196. See PHI985. When empty, the "moved/copied" gutter currently renders with the same background color as the rest of the line. This can be misleading because it makes code look more indented than it is, especially if you're unfamiliar with the tool:

{F6225179}

If we remove this misleading coloration, we get a white gap. This is more clear, but looks a little odd:

{F6225181}

Instead, give this gutter a subtle background fill in all casses, to make it more clear that it's a separate gutter region, not a part of the text diff:

{F6225183}

Test Plan: See screenshots. Copied text from a diff, added/removed inlines, etc.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D20197

Details

Provenance
epriestleyAuthored on Feb 20 2019, 4:40 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPa33409991c27: Remove an old Differential selection behavior
Branches
Unknown
Tags
Unknown

Event Timeline