pub fn with_text_editor<R, F: FnOnce(&RwLock<TextEditor>) -> R>(
f: F,
) -> Option<R>Expand description
Execute a function with the text editor
pub fn with_text_editor<R, F: FnOnce(&RwLock<TextEditor>) -> R>(
f: F,
) -> Option<R>Execute a function with the text editor