• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / revdiff / 24257645672

10 Apr 2026 06:21PM UTC coverage: 88.042% (-0.01%) from 88.055%
24257645672

push

github

web-flow
feat: make intra-line word-diff highlighting opt-in (#88)

The feature was previously always on and clashed with certain themes
where the brighter background overlay looked confusing against the
existing add/remove backgrounds.

Now off by default, enable via --word-diff CLI flag, REVDIFF_WORD_DIFF
env var, or word-diff config key. Runtime toggle via W key. Status bar
shows a ± indicator when active. Help overlay picks up the new binding
automatically from the keymap descriptions.

Implementation: recomputeIntraRanges now gates on m.wordDiff internally
and clears m.intraRanges when disabled, so both handleFileLoaded and
toggleWordDiff just call it without duplicating the guard.

18 of 19 new or added lines in 5 files covered. (94.74%)

2 existing lines in 1 file now uncovered.

5603 of 6364 relevant lines covered (88.04%)

395.7 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

92.42
/app/ui/diffview.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc