Render layer labels and terminal styles from report roles
This commit is contained in:
parent
852660bcc6
commit
b5071444f5
1 changed files with 843 additions and 648 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue