Skip to main content

layout_display_lines

Function layout_display_lines 

Source
pub fn layout_display_lines(
    display: &[DiffDisplayLine],
    options: LayoutOptions,
) -> Vec<DiffRow>
Expand description

Lays out precomputed display lines without repeating intraline analysis.

Interactive applications can cache semantic lines when an overlay opens and call this inexpensive step again after a resize.