Function difft::display::side_by_side::visible_content_max_len_in_bytes
source · fn visible_content_max_len_in_bytes(
lhs_src: &str,
rhs_src: &str,
hunks: &[Hunk],
num_context_lines: u32
) -> (usize, usize)Expand description
Find the longest line in lhs_src and rhs_src that will be
displayed. Return the length of that line for both LHS and RHS.