Skip to main content

ConcealRange

Type Alias ConcealRange 

Source
pub type ConcealRange = (u32, u32);
Expand description

A concealed source-byte range, [start, end).

Hidden ranges occupy zero display columns. The list must be sorted ascending by start and non-overlapping — the builder coalesces before storing, because two overlapping ranges would have their shared width subtracted twice and every column past them on the line would be wrong.