Struct freya::prelude::EditableConfig
pub struct EditableConfig { /* private fields */ }
Expand description
Create a configuration for a UseEditable
.
Implementations§
§impl EditableConfig
impl EditableConfig
pub fn new(content: String) -> EditableConfig
pub fn new(content: String) -> EditableConfig
Create a EditableConfig
.
pub fn with_cursor(self, _: (usize, usize)) -> EditableConfig
pub fn with_cursor(self, _: (usize, usize)) -> EditableConfig
Specify a custom initial cursor positions.