Expand description
Side-by-side (two column) display of diffs.
Structsยง
- Source
Dimensions ๐
Constantsยง
- SPACER ๐The space shown between LHS and RHS columns.
Functionsยง
- display_
line_ ๐nums - Display
srcin a single column (e.g. a file removal or addition). - highlight_
as_ ๐novel - highlight_
positions ๐Calculate positions of highlights on both sides. This includes both syntax highlighting and added/removed content highlighting. - lines_
with_ ๐novel - print ๐
- Find the longest line in
lhs_srcandrhs_srcthat will be displayed. Return the length of that line for both LHS and RHS.