Enums§
- Operation
- Contains all possible operations, as interpreted from commands via input.
Invalidis a catch-all for any unrecognized commands. - Undoable
Operation - Contains all possible operations which are eligible for “undo”.
AppendandDeletemaintain the inverse of theirOperationtype counterparts, and hold the data necessary to undo the operation on the buffer.
Functions§
- parse
- Parse all operations from combined input, including the command count (first line).