Function resized_above
pub fn resized_above(open: &[bool], line: usize) -> Option<usize>Expand description
The section a boundary resizes, the one on the line under the section
line: line itself when open, else the first open one above it, past
any folded ones (they have no height to change); None when nothing
above is open, and the boundary cannot move. open: whether each
section is, top first.
Folded bands between do not change the distance: they follow the section, so the line stays under the pointer in both directions.