an-cabal / an-editor

an text editor
MIT License
6 stars 1 forks source link

Editor handles "undo" command #10

Open hawkw opened 7 years ago

hawkw commented 7 years ago

When an "undo" command is received, the editor should move the edit history stack back to the previous state.

This should handle the case when there's only one state left on the stack by doing nothing.

We should decide on a placeholder undo keystroke for now - this can be remapped later.

Depends on #2