/// Get the pretty width of the editor.
Get the pretty width of the editor.
Get the pretty width of the editor .
fn pretty_width(editor: &mut Editor<()>) -> usize {
    match editor.dimensions() {
        Some((width, _)) => width,
        None => 1000_000_000,
    }
}
fn pretty_width ( editor : & mut Editor < ( ) > ) -> usize { match editor . dimensions ( ) { Some ( ( width , _ ) ) => width , None => 1000_000_000 , } }
Get the pretty width of the editor.
Get the pretty width of the editor .
editor
&mut Editor<()>