splitting buffer arrays between stored lines and referenced lines
added undo functionality to the editor buffer
the big editor refactor: document now saves buffer as unique_ptr
undo buffer stores cursor position
added undo & redo commands to editor
connected document commit to editor for undo/redo usefulness