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

Functions

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