Crate scrawl

Source
Expand description

§Scrawl

A library for opening a file for editing in a text editor and capturing the result as a String

Re-exports§

pub use editor::Contents;

Modules§

editor
Editor

Functions§

edit_file
EditFile opens a text buffer with the content of the provided file, allowing direct editing in an editor. Returns a Readble struct on success.
from_file
FromFile opens a text buffer with the content of the provided file in an editor. Returns a Readble struct on success.
new
New opens an empty text buffer in an editor and returns a Readable struct on success.
with
With opens a text buffer with the provided contents in an editor. Returns a Readble struct on success.