Skip to main content

open

Function open 

Source
pub fn open<T: AsRef<Path>>(
    path: T,
    line: Option<usize>,
    col: Option<usize>,
) -> Result<()>
Expand description

Opens a file and positions the cursor at the specified line and column.

ยงErrors

  • Edit command or cursor positioning fails.