pub fn verify_selection(
    buffer: &impl Buffer,
    selection: (usize, usize)
) -> Result<(), &'static str>
Expand description

Verify that all lines in the selection exist and that it isn’t empty.

Will always error if buffer.len() == 0, since no lines exist.