Module difft::display::side_by_side
source · Expand description
Side-by-side (two column) display of diffs.
Structs§
Constants§
- SPACER 🔒The single space shown between LHS and RHS columns.
Functions§
- Display
srcin a single column (e.g. a file removal or addition). - Find the longest line in
lhs_srcandrhs_srcthat will be displayed. - Calculate positions of highlights on both sides. This includes both syntax highlighting and added/removed content highlighting.
- print 🔒