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

umputun / revdiff / 43744883206
92%

Build:
DEFAULT BRANCH: master
Ran 15 Nov 2026 06:09PM UTC
Jobs 1
Files 81
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Nov 2026 06:06PM UTC coverage: 92.022% (+0.01%) from 92.012%
43744883206

push

github

web-flow
Mark annotations with a rule and hanging indent (#447)

* Mark annotations with a rule and hanging indent

An annotation sat in the diff pane with only italic text in the
annotation color to tell it apart from the code around it, and an
annotation too long for the pane continued at the left edge, under the
marker. With a custom or blank marker, or a pane full of wrapped notes,
it was hard to see where a note started and the code resumed.

Every annotation row, saved or being typed, now starts with a rule
(the annotation color, like a block quote), so a note reads as its own
surface. The rule carries no space of its own: a marker sits against
it, and a blank marker's one-space prefix supplies the gap.

Wrapped continuation rows now hang under the first word of the
comment, the same indent lines broken with a newline already had.

The rule reuses AnnotationFg, so no theme gains a color key.

* Fix annotation wrap floor and empty-marker rule

Addresses umputun's review on #447.

The wrap guard compared the rule-reduced width with <=, so a 12-cell
diff pane (38 columns, tree at its 20-cell minimum) skipped the wrap
master did at 11 cells, and the viewport cut the annotation off. It
now uses <, matching the guard in wrapWidth.

An empty --annotation-marker is the documented "render no marker"
choice, so it no longer gets the rule either. The rule is resolved
once in NewModel, and the input-width calls count it only when it is
there.

Also drops wrapAnnotationSegment's indent parameter, which was always
derived from lead, and the comments in the bytes test table.

35 of 35 new or added lines in 3 files covered. (100.0%)

12377 of 13450 relevant lines covered (92.02%)

3464.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43744883206.1 15 Nov 2026 06:09PM UTC 81
92.02
GitHub Action Run
Source Files on build 43744883206
  • Tree
  • List 81
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1cf6949b on github
  • Prev Build on master (#43277309615)
  • Next Build on master (#43745307230)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc