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
F13060685: D21262.diff
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
Unknown Object (File)
Dec 22 2023, 12:05 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.