Skip to main content

viewer_args

Function viewer_args 

Source
fn viewer_args(
    arguments: &Value,
) -> (Option<String>, Option<u32>, Option<u64>, Option<u32>)
Expand description

The connection an Open tool was given: an SSH host or WSL name, trimmed; None for absent, empty or “local” (this machine). An editor open’s viewer and where in the file to land (a text line, a hex byte offset, a PDF page); srv checks the viewer and ignores a position the viewer has no use for.