Page MenuHomePhabricator

Use a more consistent inline highlighting style with fewer redraws
ClosedPublic

Authored by epriestley on May 15 2020, 7:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 5:15 PM
Unknown Object (File)
Fri, Apr 19, 6:14 PM
Unknown Object (File)
Wed, Apr 3, 10:52 PM
Unknown Object (File)
Mar 15 2024, 9:52 PM
Unknown Object (File)
Feb 21 2024, 10:28 AM
Unknown Object (File)
Feb 16 2024, 1:58 AM
Unknown Object (File)
Jan 11 2024, 12:03 PM
Unknown Object (File)
Dec 28 2023, 10:37 AM
Subscribers
None

Details

Summary

Ref T13513. The on-hover-inline reticle has switched over to have cell-based behavior. Switch the on-hover-line-number reticle to use the same behavior.

Also, clean up the dirty/redraw loop slightly: we no longer need to dirty on resize, and we don't need to redraw if the range isn't actually dirty.

Test Plan

Highlighted lines and line ranges. Hovered over inlines.

Diff Detail

Repository
rP Phabricator
Branch
inline1
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24446
Build 33686: Run Core Tests
Build 33685: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.May 15 2020, 7:44 PM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.