Render layer labels and terminal styles from report roles

This commit is contained in:
Jan Petykiewicz 2026-11-19 08:44:28 -08:00
commit b5071444f5

View file

@ -37,6 +37,8 @@ reports. Both comparison types provide `render_text_with_ascii_hierarchy`
to render a combined report with redundant terminal edges omitted. Pass
`TextReportOptions { details: true, ..Default::default() }` to
`render_text_with_options` to show individual object evidence.
Use `TextReport::new(true)` with `write_text_report`, `write_canonical_dump`,
or `write_record_dump` to get plain text and style ranges for presentation.
Use `RevisionPair::parse(&old_bytes, &new_bytes)` for an unscoped comparison
that can reuse matching cells. Its `compare` and `compare_text` methods return