Skip to main content

DIFF_MIN_BODY_WIDTH_WITH_GUTTER

Constant DIFF_MIN_BODY_WIDTH_WITH_GUTTER 

Source
pub const DIFF_MIN_BODY_WIDTH_WITH_GUTTER: usize = 20;
Expand description

Minimum source width retained when the unified line gutter is visible.

This keeps the marker, line number, separator, and a useful amount of source text together. Narrower layouts should hide the gutter and give its columns back to the source body.