1 2 3 4 5 6 7 8 9 10 11 12 pub struct Buffer { pub id: Option<usize>, data: Rc<RefCell<GapBuffer>>,| pub path: Option<PathBuf>, pub cursor: Cursor, history: History, operation_group: Option<OperationGroup>, pub syntax_definition: Option<SyntaxDefinition> } impl Buffer { pub fn new() -> Buffer { INSERT amp.rs [ok] 1 2 3 4 5 6 7 8 9 10 11 12 pub struct Buffer { pub id: Option<usize>, data: Rc<RefCel